llvm-ci wrote:
LLVM Buildbot has detected a new failure on builder `flang-aarch64-sharedlibs`
running on `linaro-flang-aarch64-sharedlibs` while building
`bolt,lldb,llvm,utils` at step 5 "build-unified-tree".
Full details are available at:
https://lab.llvm.org/buildbot/#/builders/80/builds/14
llvm-ci wrote:
LLVM Buildbot has detected a new failure on builder `clang-s390x-linux` running
on `systemz-1` while building `bolt,lldb,llvm,utils` at step 5 "ninja check 1".
Full details are available at:
https://lab.llvm.org/buildbot/#/builders/42/builds/5136
Here is the relevant piece of
https://github.com/jasonmolenda closed
https://github.com/llvm/llvm-project/pull/144627
___
lldb-commits mailing list
lldb-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits
Author: Jason Molenda
Date: 2025-06-27T18:43:41-07:00
New Revision: a64db49371f040859a9de7c0f4fbfb655d8dda17
URL:
https://github.com/llvm/llvm-project/commit/a64db49371f040859a9de7c0f4fbfb655d8dda17
DIFF:
https://github.com/llvm/llvm-project/commit/a64db49371f040859a9de7c0f4fbfb655d8dda17.diff
https://github.com/jasonmolenda updated
https://github.com/llvm/llvm-project/pull/144627
>From 92348b28fb02901e9437b92c1ddf8cfed31c Mon Sep 17 00:00:00 2001
From: Jason Molenda
Date: Tue, 17 Jun 2025 18:57:11 -0700
Subject: [PATCH 01/19] [lldb][Mach-O] Allow "process metadata" LC_NOTE to
s
@@ -0,0 +1,300 @@
+//===-- RegisterContextUnifiedCore.cpp
===//
+//
+// Part of the LLVM Project, under the Apache License v2.0 with LLVM
Exceptions.
+// See https://llvm.org/LICENSE.txt for license information.
+// SPDX-License-Identifier: Ap
@@ -0,0 +1,300 @@
+//===-- RegisterContextUnifiedCore.cpp
===//
+//
+// Part of the LLVM Project, under the Apache License v2.0 with LLVM
Exceptions.
+// See https://llvm.org/LICENSE.txt for license information.
+// SPDX-License-Identifier: Ap
@@ -0,0 +1,300 @@
+//===-- RegisterContextUnifiedCore.cpp
===//
+//
+// Part of the LLVM Project, under the Apache License v2.0 with LLVM
Exceptions.
+// See https://llvm.org/LICENSE.txt for license information.
+// SPDX-License-Identifier: Ap
chelcassanova wrote:
Actually, the test fails locally for me. On the pre-commit CI it's error
message is
`home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/lldb/test/Shell/RPC/Generator/Tests/Output/CheckRPCGenToolByproducts.test.script:
line 1: fg: no job control`, which mea
chelcassanova wrote:
When I updated the patch, the test now fails because of the error that it's
missing the clang resource dir. That repros locally and I haven't changed
anything about how the tool is built outside of adding a CMake variable,
investigating.
https://github.com/llvm/llvm-proje
@@ -0,0 +1,300 @@
+//===-- RegisterContextUnifiedCore.cpp
===//
+//
+// Part of the LLVM Project, under the Apache License v2.0 with LLVM
Exceptions.
+// See https://llvm.org/LICENSE.txt for license information.
+// SPDX-License-Identifier: Ap
@@ -642,9 +642,9 @@ bool SBDebugger::GetDefaultArchitecture(char *arch_name,
size_t arch_name_len) {
ArchSpec default_arch = Target::GetDefaultArchitecture();
if (default_arch.IsValid()) {
- const std::string &triple_str = default_arch.GetTriple().str();
+ c
@@ -463,6 +463,27 @@ class Triple {
const std::string &str() const { return Data; }
+ /// Return the triple string but only keep the first \p N components.
+ ///
+ /// The returned string will preserve the first \p N components exactly the
+ /// same as the original (in
https://github.com/jasonmolenda updated
https://github.com/llvm/llvm-project/pull/144627
>From 92348b28fb02901e9437b92c1ddf8cfed31c Mon Sep 17 00:00:00 2001
From: Jason Molenda
Date: Tue, 17 Jun 2025 18:57:11 -0700
Subject: [PATCH 01/18] [lldb][Mach-O] Allow "process metadata" LC_NOTE to
s
https://github.com/jasonmolenda updated
https://github.com/llvm/llvm-project/pull/144627
>From 92348b28fb02901e9437b92c1ddf8cfed31c Mon Sep 17 00:00:00 2001
From: Jason Molenda
Date: Tue, 17 Jun 2025 18:57:11 -0700
Subject: [PATCH 01/17] [lldb][Mach-O] Allow "process metadata" LC_NOTE to
s
https://github.com/bulbazord approved this pull request.
Let's get this patch in and iterate on the tool. Please watch the bots after
landing.
https://github.com/llvm/llvm-project/pull/138031
___
lldb-commits mailing list
lldb-commits@lists.llvm.org
h
https://github.com/jasonmolenda updated
https://github.com/llvm/llvm-project/pull/144627
>From 92348b28fb02901e9437b92c1ddf8cfed31c Mon Sep 17 00:00:00 2001
From: Jason Molenda
Date: Tue, 17 Jun 2025 18:57:11 -0700
Subject: [PATCH 01/16] [lldb][Mach-O] Allow "process metadata" LC_NOTE to
s
https://github.com/jasonmolenda updated
https://github.com/llvm/llvm-project/pull/144627
>From 92348b28fb02901e9437b92c1ddf8cfed31c Mon Sep 17 00:00:00 2001
From: Jason Molenda
Date: Tue, 17 Jun 2025 18:57:11 -0700
Subject: [PATCH 01/15] [lldb][Mach-O] Allow "process metadata" LC_NOTE to
s
@@ -70,27 +77,49 @@ lldb::RegisterContextSP
ThreadMachCore::GetRegisterContext() {
lldb::RegisterContextSP
ThreadMachCore::CreateRegisterContextForFrame(StackFrame *frame) {
- lldb::RegisterContextSP reg_ctx_sp;
uint32_t concrete_frame_idx = 0;
if (frame)
concre
https://github.com/jasonmolenda updated
https://github.com/llvm/llvm-project/pull/144627
>From 92348b28fb02901e9437b92c1ddf8cfed31c Mon Sep 17 00:00:00 2001
From: Jason Molenda
Date: Tue, 17 Jun 2025 18:57:11 -0700
Subject: [PATCH 01/14] [lldb][Mach-O] Allow "process metadata" LC_NOTE to
s
https://github.com/jasonmolenda updated
https://github.com/llvm/llvm-project/pull/144627
>From 92348b28fb02901e9437b92c1ddf8cfed31c Mon Sep 17 00:00:00 2001
From: Jason Molenda
Date: Tue, 17 Jun 2025 18:57:11 -0700
Subject: [PATCH 01/13] [lldb][Mach-O] Allow "process metadata" LC_NOTE to
s
@@ -2547,6 +2561,7 @@ class CommandObjectTargetModulesDumpSeparateDebugInfoFiles
OptionValueBoolean m_json = false;
OptionValueBoolean m_errors_only = false;
+OptionValueBoolean m_load_all_debug_info = true;
dmpots wrote:
I wonder if it would be b
https://github.com/ashgti edited
https://github.com/llvm/llvm-project/pull/145621
___
lldb-commits mailing list
lldb-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits
https://github.com/ashgti edited
https://github.com/llvm/llvm-project/pull/145621
___
lldb-commits mailing list
lldb-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits
https://github.com/chelcassanova updated
https://github.com/llvm/llvm-project/pull/138031
>From bf72ec458e7788ddd8d7cb7d42fbf55a9112722f Mon Sep 17 00:00:00 2001
From: Chelsea Cassanova
Date: Wed, 30 Apr 2025 14:15:39 -0700
Subject: [PATCH] [lldb][RPC] Upstream lldb-rpc-gen tool
This commit up
https://github.com/adrian-prantl approved this pull request.
https://github.com/llvm/llvm-project/pull/145935
___
lldb-commits mailing list
lldb-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits
ashgti wrote:
On my windows VM, all tests are passing now and it looks like this is also
working for Linux. I think the current CI check is a no-op on Windows for lldb.
https://github.com/llvm/llvm-project/pull/145621
___
lldb-commits mailing list
lld
@@ -2030,7 +2032,8 @@ class CommandObjectTargetModulesDumpSymtab
}
if (INTERRUPT_REQUESTED(GetDebugger(),
"Interrupted in dump all symtabs with {0} "
- "of {1} dumped.", num_dumped, num_modul
https://github.com/ashgti updated
https://github.com/llvm/llvm-project/pull/145621
>From 79c10b6f6630b3ceaa85af45956aeafdf372b5be Mon Sep 17 00:00:00 2001
From: John Harrison
Date: Wed, 25 Jun 2025 18:03:39 -0700
Subject: [PATCH 1/5] [lldb] Adding file and pipe support to
lldb_private::MainLoo
llvmbot wrote:
@llvm/pr-subscribers-lldb
Author: None (qxy11)
Changes
### Summary
Currently `target modules dump separate separate-debug-info` automatically
loads up all DWO files, even if deferred loading is enabled through
debug_names. Then, as expected all DWO files (assuming there is
https://github.com/qxy11 created
https://github.com/llvm/llvm-project/pull/146166
### Summary
Currently `target modules dump separate separate-debug-info` automatically
loads up all DWO files, even if deferred loading is enabled through
debug_names. Then, as expected all DWO files (assuming th
Author: Igor Kudrin
Date: 2025-06-27T14:30:24-07:00
New Revision: 442f99d7698a4ca87ebb16cb22df610c45d4698a
URL:
https://github.com/llvm/llvm-project/commit/442f99d7698a4ca87ebb16cb22df610c45d4698a
DIFF:
https://github.com/llvm/llvm-project/commit/442f99d7698a4ca87ebb16cb22df610c45d4698a.diff
L
https://github.com/igorkudrin closed
https://github.com/llvm/llvm-project/pull/145599
___
lldb-commits mailing list
lldb-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits
Author: Kazu Hirata
Date: 2025-06-27T14:26:32-07:00
New Revision: 9f5061d4f00456d882db9eb606f4a82b2c40e7a8
URL:
https://github.com/llvm/llvm-project/commit/9f5061d4f00456d882db9eb606f4a82b2c40e7a8
DIFF:
https://github.com/llvm/llvm-project/commit/9f5061d4f00456d882db9eb606f4a82b2c40e7a8.diff
L
https://github.com/kazutakahirata closed
https://github.com/llvm/llvm-project/pull/146115
___
lldb-commits mailing list
lldb-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits
https://github.com/igorkudrin updated
https://github.com/llvm/llvm-project/pull/145599
>From fac89bb1b51496761b156f22dcff85cbe86bf9d2 Mon Sep 17 00:00:00 2001
From: Igor Kudrin
Date: Mon, 23 Jun 2025 23:39:52 -0700
Subject: [PATCH 1/2] [lldb] Fix evaluating expressions without JIT in an
object
Author: Igor Kudrin
Date: 2025-06-27T13:04:25-07:00
New Revision: 21993f0a47f0364008803862dee093de62cae844
URL:
https://github.com/llvm/llvm-project/commit/21993f0a47f0364008803862dee093de62cae844
DIFF:
https://github.com/llvm/llvm-project/commit/21993f0a47f0364008803862dee093de62cae844.diff
L
https://github.com/Nerixyz updated
https://github.com/llvm/llvm-project/pull/143177
>From f17eea05109e85c7e956576994ff51ebb3a3f973 Mon Sep 17 00:00:00 2001
From: Nerixyz
Date: Wed, 18 Jun 2025 21:49:16 +0200
Subject: [PATCH] [LLDB] Add type summaries for MSVC STL strings
---
.../lldb/DataForm
https://github.com/igorkudrin closed
https://github.com/llvm/llvm-project/pull/146016
___
lldb-commits mailing list
lldb-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits
@@ -0,0 +1,300 @@
+//===-- RegisterContextUnifiedCore.cpp
===//
+//
+// Part of the LLVM Project, under the Apache License v2.0 with LLVM
Exceptions.
+// See https://llvm.org/LICENSE.txt for license information.
+// SPDX-License-Identifier: Ap
@@ -0,0 +1,300 @@
+//===-- RegisterContextUnifiedCore.cpp
===//
+//
+// Part of the LLVM Project, under the Apache License v2.0 with LLVM
Exceptions.
+// See https://llvm.org/LICENSE.txt for license information.
+// SPDX-License-Identifier: Ap
@@ -0,0 +1,300 @@
+//===-- RegisterContextUnifiedCore.cpp
===//
+//
+// Part of the LLVM Project, under the Apache License v2.0 with LLVM
Exceptions.
+// See https://llvm.org/LICENSE.txt for license information.
+// SPDX-License-Identifier: Ap
@@ -5857,6 +5838,50 @@ bool ObjectFileMachO::GetCorefileThreadExtraInfos(
return false;
}
+StructuredData::ObjectSP ObjectFileMachO::GetCorefileProcessMetadata() {
+ ModuleSP module_sp(GetModule());
+ if (!module_sp)
+return {};
+
+ Log *log(GetLog(LLDBLog::Object | L
@@ -70,27 +77,49 @@ lldb::RegisterContextSP
ThreadMachCore::GetRegisterContext() {
lldb::RegisterContextSP
ThreadMachCore::CreateRegisterContextForFrame(StackFrame *frame) {
- lldb::RegisterContextSP reg_ctx_sp;
uint32_t concrete_frame_idx = 0;
if (frame)
concre
@@ -0,0 +1,300 @@
+//===-- RegisterContextUnifiedCore.cpp
===//
+//
+// Part of the LLVM Project, under the Apache License v2.0 with LLVM
Exceptions.
+// See https://llvm.org/LICENSE.txt for license information.
+// SPDX-License-Identifier: Ap
https://github.com/JDevlieghere commented:
Mostly nits
https://github.com/llvm/llvm-project/pull/144627
___
lldb-commits mailing list
lldb-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits
@@ -133,6 +133,8 @@ class ObjectFileMachO : public lldb_private::ObjectFile {
bool GetCorefileThreadExtraInfos(std::vector &tids) override;
+ lldb_private::StructuredData::ObjectSP GetCorefileProcessMetadata() override;
JDevlieghere wrote:
```suggestion
@@ -0,0 +1,300 @@
+//===-- RegisterContextUnifiedCore.cpp
===//
+//
+// Part of the LLVM Project, under the Apache License v2.0 with LLVM
Exceptions.
+// See https://llvm.org/LICENSE.txt for license information.
+// SPDX-License-Identifier: Ap
https://github.com/JDevlieghere edited
https://github.com/llvm/llvm-project/pull/144627
___
lldb-commits mailing list
lldb-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits
@@ -5857,6 +5838,50 @@ bool ObjectFileMachO::GetCorefileThreadExtraInfos(
return false;
}
+StructuredData::ObjectSP ObjectFileMachO::GetCorefileProcessMetadata() {
+ ModuleSP module_sp(GetModule());
+ if (!module_sp)
+return {};
+
+ Log *log(GetLog(LLDBLog::Object | L
ashgti wrote:
> I see. I take it that's because anonymous pipes are created without
> FILE_FLAG_OVERLAPPED. Btw, my understanding is that an anonymous pipe is just
> a named pipe with a funny name (at least until windows 10, or something) and
> some with some hardcoded flags (like the absence
chelcassanova wrote:
One more time, I've updated the patch. Some points:
- I've removed our exception list for the methods that were unconditionally
given a connection
- For the FIXME that we had for changing the LLDB namespace I've changed to a
note as to why we use simple string replacement.
github-actions[bot] wrote:
:warning: Python code formatter, darker found issues in your code. :warning:
You can test this locally with the following command:
``bash
darker --check --diff -r HEAD~1...HEAD lldb/test/Shell/helper/toolchain.py
``
View the diff from darker
https://github.com/chelcassanova updated
https://github.com/llvm/llvm-project/pull/138031
>From bfbf9e8b2c24b4e1d9a32a16b748cc1f96a54407 Mon Sep 17 00:00:00 2001
From: Chelsea Cassanova
Date: Wed, 30 Apr 2025 14:15:39 -0700
Subject: [PATCH] [lldb][RPC] Upstream lldb-rpc-gen tool
This commit up
https://github.com/Sterling-Augustine closed
https://github.com/llvm/llvm-project/pull/146138
___
lldb-commits mailing list
lldb-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits
llvmbot wrote:
@llvm/pr-subscribers-pgo
@llvm/pr-subscribers-compiler-rt-sanitizer
@llvm/pr-subscribers-lldb
Author: None (Sterling-Augustine)
Changes
As in the description.
---
Patch is 97.70 KiB, truncated to 20.00 KiB below, full version:
https://github.com/llvm/llvm-project/pull/146
https://github.com/Sterling-Augustine created
https://github.com/llvm/llvm-project/pull/146138
As in the description.
>From 031cc5cf22fb2998207e9d9c85d04e9f829fd06e Mon Sep 17 00:00:00 2001
From: Sterling Augustine
Date: Thu, 26 Jun 2025 13:47:04 -0700
Subject: [PATCH 1/2] =?UTF-8?q?Reapply=20
https://github.com/cs01 updated https://github.com/llvm/llvm-project/pull/145382
>From d585051b103acc1973671679bd1fa04b92fb0bf9 Mon Sep 17 00:00:00 2001
From: Chad Smith
Date: Mon, 23 Jun 2025 11:07:00 -0700
Subject: [PATCH 1/2] [lldb] make PlatformAndroid/AdbClient::GetSyncService
threadsafe
llvmbot wrote:
@llvm/pr-subscribers-lldb
Author: Jonas Devlieghere (JDevlieghere)
Changes
This PR ensures we correctly restore the cursor column after resizing the
statusline. To ensure we have space for the statusline, we have to emit a
newline to move up everything on screen. The newli
JDevlieghere wrote:
Alternative approach: https://github.com/llvm/llvm-project/pull/146132
https://github.com/llvm/llvm-project/pull/145823
___
lldb-commits mailing list
lldb-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-c
https://github.com/JDevlieghere created
https://github.com/llvm/llvm-project/pull/146132
This PR ensures we correctly restore the cursor column after resizing the
statusline. To ensure we have space for the statusline, we have to emit a
newline to move up everything on screen. The newline caus
https://github.com/jimingham approved this pull request.
This one is ready then.
https://github.com/llvm/llvm-project/pull/145599
___
lldb-commits mailing list
lldb-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits
https://github.com/Sterling-Augustine closed
https://github.com/llvm/llvm-project/pull/146112
___
lldb-commits mailing list
lldb-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits
@@ -21,7 +24,9 @@
using namespace lldb;
using namespace lldb_private;
-static DWORD ToTimeout(std::optional point) {
+namespace {
ashgti wrote:
Done.
https://github.com/llvm/llvm-project/pull/145621
___
lldb-commit
@@ -31,20 +31,27 @@ class MainLoopWindows : public MainLoopBase {
Status Run() override;
+ struct FdInfo {
+FdInfo(intptr_t event, Callback callback)
+: event(event), callback(callback) {}
+virtual ~FdInfo() {}
+virtual void WillPoll() {}
+virtual v
@@ -31,20 +31,27 @@ class MainLoopWindows : public MainLoopBase {
Status Run() override;
+ struct FdInfo {
+FdInfo(intptr_t event, Callback callback)
+: event(event), callback(callback) {}
+virtual ~FdInfo() {}
+virtual void WillPoll() {}
+virtual v
@@ -31,8 +31,11 @@
#include
#include
#include
+#include
#include
+#include
#include
+#include
ashgti wrote:
Removed.
https://github.com/llvm/llvm-project/pull/145621
___
lldb-commits mailing list
lldb-comm
@@ -493,7 +496,12 @@ ConnectionFileDescriptor::BytesAvailable(const
Timeout &timeout,
break; // Lets keep reading to until we timeout
}
} else {
+#if defined(_WIN32)
+if (const auto *sock = static_cast(m_io_sp.get());
ashgti wro
https://github.com/ashgti updated
https://github.com/llvm/llvm-project/pull/145621
>From 954f107c85f766ee75370b349eb039819f456db5 Mon Sep 17 00:00:00 2001
From: John Harrison
Date: Wed, 25 Jun 2025 18:03:39 -0700
Subject: [PATCH 1/4] [lldb] Adding file and pipe support to
lldb_private::MainLoo
https://github.com/JDevlieghere approved this pull request.
https://github.com/llvm/llvm-project/pull/146115
___
lldb-commits mailing list
lldb-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits
https://github.com/ashgti updated
https://github.com/llvm/llvm-project/pull/145621
>From 954f107c85f766ee75370b349eb039819f456db5 Mon Sep 17 00:00:00 2001
From: John Harrison
Date: Wed, 25 Jun 2025 18:03:39 -0700
Subject: [PATCH 1/3] [lldb] Adding file and pipe support to
lldb_private::MainLoo
https://github.com/dwblaikie approved this pull request.
https://github.com/llvm/llvm-project/pull/146112
___
lldb-commits mailing list
lldb-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits
https://github.com/ashgti approved this pull request.
Thanks for adding this, LGTM!
https://github.com/llvm/llvm-project/pull/145935
___
lldb-commits mailing list
lldb-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits
llvmbot wrote:
@llvm/pr-subscribers-lldb
Author: Kazu Hirata (kazutakahirata)
Changes
---
Full diff: https://github.com/llvm/llvm-project/pull/146115.diff
1 Files Affected:
- (modified) lldb/docs/resources/contributing.rst (+1-1)
``diff
diff --git a/lldb/docs/resources/cont
https://github.com/kazutakahirata created
https://github.com/llvm/llvm-project/pull/146115
None
>From fdd6b1a9ce8f8faacb0b4afb9c3f8a15ca6d3a93 Mon Sep 17 00:00:00 2001
From: Kazu Hirata
Date: Fri, 27 Jun 2025 00:47:43 -0700
Subject: [PATCH] [lldb] Fix a typo in documentation
---
lldb/docs/re
https://github.com/JDevlieghere edited
https://github.com/llvm/llvm-project/pull/145935
___
lldb-commits mailing list
lldb-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits
https://github.com/JDevlieghere updated
https://github.com/llvm/llvm-project/pull/145935
>From 2b6a7e22481761b244e98dff00f905cf32a7d696 Mon Sep 17 00:00:00 2001
From: Jonas Devlieghere
Date: Thu, 26 Jun 2025 10:31:09 -0700
Subject: [PATCH 1/2] [lldb] Document MCP support in LLDB
---
lldb/docs
labath wrote:
> > * do we need regular file support
>
> We don't strictly need this for anything I am aware of, I can remove it for
> now. A 'better' solution would be to stat the file and then watch the
> directory for changes and re-stat the file. Thats used in libuv (nodejs). I
> think lib
cs01 wrote:
After more analysis, I think shared ptr will be too difficult to implement,
since the connection and client manages its lifecycle assuming it's the only
client/thread using it. It will be challenging to ensure it doesn't get
disconnected or freed while other threads are using it. C
jimingham wrote:
There weren't even any processes still using that file at the point where I
went to delete it - not that that should be a problem. I was careful to run to
completion before trying to delete the file.
https://github.com/llvm/llvm-project/pull/145994
___
jimingham wrote:
Why did this fail? I built a binary in the build directory, then went to
remove it with os.remove and apparently don't have access to remove the file I
just built???
https://github.com/llvm/llvm-project/pull/145994
___
lldb-commits
llvmbot wrote:
@llvm/pr-subscribers-pgo
@llvm/pr-subscribers-bolt
Author: None (Sterling-Augustine)
Changes
Reapply "[NFC][DebugInfo][DWARF] Create new low-level dwarf library (#… (#145959)
This reapplies cbf781f0bdf2f680abbe784faedeefd6f84c246e, with fixes for the
shared-library bui
https://github.com/Sterling-Augustine created
https://github.com/llvm/llvm-project/pull/146112
Reapply "[NFC][DebugInfo][DWARF] Create new low-level dwarf library (#…
(#145959)
This reapplies cbf781f0bdf2f680abbe784faedeefd6f84c246e, with fixes for the
shared-library build and the unconve
@@ -0,0 +1,68 @@
+# Model Context Protocol (MCP)
+
+LLDB supports for the [Model Context Protocol][1] (MCP). This structured,
+machine-friendly protocol allows AI models to access and interact with external
+tools, such as the debugger. Using MCP, an AI agent can execute LLDB comm
@@ -0,0 +1,4 @@
+CXX_SOURCES := main.cpp
+
+CXXFLAGS_EXTRAS := -std=c++20 -O0
Nerixyz wrote:
[`char8_t`](https://en.cppreference.com/w/cpp/keyword/char8_t.html) was added
in C++ 20, so `std::u8string` is only available there.
https://github.com/llvm/llvm-projec
@@ -299,6 +299,8 @@ def parseOptionsAndInitTestdirs():
configuration.libcxx_library_dir = args.libcxx_library_dir
configuration.cmake_build_type = args.cmake_build_type.lower()
+configuration.target_triple = args.target_triple
+
Nerixyz wrote:
> T
https://github.com/Nerixyz updated
https://github.com/llvm/llvm-project/pull/143177
>From 0f4c8b83c385931292810316a9fc81641c27d259 Mon Sep 17 00:00:00 2001
From: Nerixyz
Date: Wed, 18 Jun 2025 21:49:16 +0200
Subject: [PATCH] [LLDB] Add type summaries for MSVC STL strings
---
.../lldb/DataForm
JDevlieghere wrote:
> That's true, but it kind of relies on editline not moving the cursor between
> the time we ask for the location and when we do the statusline dance. In that
> sense, the hammer approach would be more robust as it would presumably happen
> while holding the editline mutex.
ashgti wrote:
> * do we need regular file support
We don't strictly need this for anything I am aware of, I can remove it for
now. A 'better' solution would be to stat the file and then watch the directory
for changes and re-stat the file. Thats used in libuv (nodejs). I think
libdispatch on
@@ -165,26 +172,27 @@ static FormSize g_form_sizes[] = {
{1, 1}, // 0x0b DW_FORM_data1
{1, 1}, // 0x0c DW_FORM_flag
{0, 0}, // 0x0d DW_FORM_sdata
-{1, 4}, // 0x0e DW_FORM_strp
+{0, 0}, // 0x0e DW_FORM_strp (4 bytes for DWARF32, 8 bytes for DWARF64)
{0,
@@ -121,8 +124,12 @@ bool DWARFFormValue::ExtractValue(const DWARFDataExtractor
&data,
assert(m_unit);
if (m_unit->GetVersion() <= 2)
ref_addr_size = m_unit->GetAddressByteSize();
- else
-ref_addr_size = 4;
+ else {
+if (m_unit->Ge
kuilpd wrote:
I did some benchmarks of DIL on Unreal Engine 5 (thousands of variables to
search through) and noticed that our current variable lookup implementation is
~10 times slower than it was in `lldb-eval`, especially when it comes to global
variables in other files.
I looked into it and
HemangGadhavi wrote:
@labath @DavidSpickett @JDevlieghere @Michael137
Thanks everyone for the valuable feedback.
I have addressed all the review comments please verify once again.
> We should do something similar. We already have the FormParams object
> accessible from inside our DWARFUnit
llvmbot wrote:
@llvm/pr-subscribers-lldb
Author: Ilia Kuklin (kuilpd)
Changes
Remove unused code and unnecessary function calls, optimize global variable
search.
Add more test cases.
---
Full diff: https://github.com/llvm/llvm-project/pull/146094.diff
6 Files Affected:
- (modified) ll
https://github.com/kuilpd created
https://github.com/llvm/llvm-project/pull/146094
Remove unused code and unnecessary function calls, optimize global variable
search.
Add more test cases.
>From b69070a717fa80058af475397dae7a41f172c580 Mon Sep 17 00:00:00 2001
From: Ilia Kuklin
Date: Tue, 24 J
https://github.com/JDevlieghere closed
https://github.com/llvm/llvm-project/pull/145974
___
lldb-commits mailing list
lldb-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits
Author: Jonas Devlieghere
Date: 2025-06-27T08:30:02-07:00
New Revision: 37b0b0f7d2b67fedd347a4011582802303657e69
URL:
https://github.com/llvm/llvm-project/commit/37b0b0f7d2b67fedd347a4011582802303657e69
DIFF:
https://github.com/llvm/llvm-project/commit/37b0b0f7d2b67fedd347a4011582802303657e69.d
github-actions[bot] wrote:
:warning: C/C++ code formatter, clang-format found issues in your code.
:warning:
You can test this locally with the following command:
``bash
git-clang-format --diff HEAD~1 HEAD --extensions cpp --
lldb/source/Core/Telemetry.cpp
``
View t
https://github.com/HemangGadhavi updated
https://github.com/llvm/llvm-project/pull/145645
>From a85d648ce62b69b870dda306dbdc2d412ed89d33 Mon Sep 17 00:00:00 2001
From: HemangGadhavi
Date: Wed, 25 Jun 2025 02:06:05 -0400
Subject: [PATCH 1/2] [lldb][DWARF64] Enable support for DWARF64 format
han
https://github.com/oontvoo updated
https://github.com/llvm/llvm-project/pull/145954
>From f4092ed5fda4214bfd2c72f288a6c686315bdc3b Mon Sep 17 00:00:00 2001
From: Vy Nguyen
Date: Thu, 26 Jun 2025 15:18:44 -0400
Subject: [PATCH 1/2] [LLDB][NFC] Refactor code extracting timestamp from
StructuredD
1 - 100 of 152 matches
Mail list logo