llvmbot wrote:
@llvm/pr-subscribers-lldb
Author: Michael Buch (Michael137)
Changes
This patch ensures we can find decls in submodules during expression
evaluation. Previously, submodules would have all their decls marked as
`Hidden`. When Clang asked LLDB for decls, it would see them in
https://github.com/Michael137 created
https://github.com/llvm/llvm-project/pull/143098
This patch ensures we can find decls in submodules during expression
evaluation. Previously, submodules would have all their decls marked as
`Hidden`. When Clang asked LLDB for decls, it would see them in th
https://github.com/SuibianP updated
https://github.com/llvm/llvm-project/pull/142374
>From 098fb7f1cf576d8bcdfd88724a4c9fdf7837c68d Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jialun=20Hu=20=EF=BC=88=E8=83=A1=E4=BD=B3=E4=BC=A6?=
=?UTF-8?q?=EF=BC=89?=
Date: Mon, 2 Jun 2025 16:16:11 +0800
Subject:
Michael137 wrote:
> FYI this was failing on Windows because we misplaced the breakpoint and ended
> up in a recursive loop that when it finally crashed, took forever to
> backtrace.
>
> So I've changed the test to use lld on Windows, as it does work if we use
> DWARF -
> [95b3fd6](https://gi
https://github.com/Michael137 closed
https://github.com/llvm/llvm-project/pull/143098
___
lldb-commits mailing list
lldb-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits
@@ -11,17 +11,11 @@
class DeclFromSubmoduleTestCase(TestBase):
# Requires DWARF debug info which is not retained when linking with
link.exe.
@skipIfWindows
+# Lookup for decls in submodules fails in Linux
+@expectedFailureAll(oslist=["linux"])
https://github.com/cjdb updated https://github.com/llvm/llvm-project/pull/139632
>From 88bc35049f774c8c3a5c35ff22470a0670ee3e9d Mon Sep 17 00:00:00 2001
From: Christopher Di Bella
Date: Wed, 7 May 2025 20:41:56 +
Subject: [PATCH 1/5] [libcxx] adds size-based `__split_buffer` representation
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 libcxx/utils/gdb/libcxx/printers.py
lldb/examples/synthetic/libcxx.py
``
@@ -22,8 +22,26 @@ Status SaveCoreOptions::SetPluginName(const char *name) {
}
if (!PluginManager::IsRegisteredObjectFilePluginName(name)) {
-return Status::FromErrorStringWithFormat(
-"plugin name '%s' is not a valid ObjectFile plugin name", name);
+Stream
DavidSpickett wrote:
We can generate help text at runtime (e.g.
https://github.com/llvm/llvm-project/blob/a029ece7b0077ef7417362891b32a53a825adb32/lldb/source/Commands/CommandObjectType.cpp#L785)
but I'm not sure you'd have access to the pluginmanager from there.
There's some stuff for tab com
llvmbot wrote:
@llvm/pr-subscribers-debuginfo
Author: None (Sterling-Augustine)
Changes
(Revised version of a previous, unreviewed, PR.)
Move all expression verification into its only client: DWARFVerifier. Move all
printing code (which was a mix of static and member functions) into a se
llvmbot wrote:
@llvm/pr-subscribers-lldb
@llvm/pr-subscribers-llvm-binary-utilities
Author: None (Sterling-Augustine)
Changes
(Revised version of a previous, unreviewed, PR.)
Move all expression verification into its only client: DWARFVerifier. Move all
printing code (which was a mix of
https://github.com/Sterling-Augustine created
https://github.com/llvm/llvm-project/pull/143170
(Revised version of a previous, unreviewed, PR.)
Move all expression verification into its only client: DWARFVerifier. Move all
printing code (which was a mix of static and member functions) into a s
llvmbot wrote:
@llvm/pr-subscribers-lldb
Author: Charles Zablit (charles-zablit)
Changes
When testing LLDB, we want to make sure to use the same Python as the one we
used to build it.
This patch used the CMake variable `Python3_ROOT_DIR` to set the `PYTHONHOME`
env variable in LLDB lit
https://github.com/charles-zablit created
https://github.com/llvm/llvm-project/pull/143183
When testing LLDB, we want to make sure to use the same Python as the one we
used to build it.
This patch used the CMake variable `Python3_ROOT_DIR` to set the `PYTHONHOME`
env variable in LLDB lit test
https://github.com/Nerixyz updated
https://github.com/llvm/llvm-project/pull/143177
>From dbc7062425a1963e7da58f3a0b82b1ed2aedc635 Mon Sep 17 00:00:00 2001
From: Nerixyz
Date: Fri, 6 Jun 2025 19:23:04 +0200
Subject: [PATCH] [LLDB] Add type summaries for MSVC STL strings
---
.../lldb/DataForma
https://github.com/adrian-prantl approved this pull request.
https://github.com/llvm/llvm-project/pull/143098
___
lldb-commits mailing list
lldb-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits
@@ -11,17 +11,11 @@
class DeclFromSubmoduleTestCase(TestBase):
# Requires DWARF debug info which is not retained when linking with
link.exe.
@skipIfWindows
+# Lookup for decls in submodules fails in Linux
+@expectedFailureAll(oslist=["linux"])
https://github.com/adrian-prantl edited
https://github.com/llvm/llvm-project/pull/143098
___
lldb-commits mailing list
lldb-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits
@@ -22,8 +22,26 @@ Status SaveCoreOptions::SetPluginName(const char *name) {
}
if (!PluginManager::IsRegisteredObjectFilePluginName(name)) {
-return Status::FromErrorStringWithFormat(
-"plugin name '%s' is not a valid ObjectFile plugin name", name);
+Stream
@@ -22,8 +22,26 @@ Status SaveCoreOptions::SetPluginName(const char *name) {
}
if (!PluginManager::IsRegisteredObjectFilePluginName(name)) {
DavidSpickett wrote:
Does this actually check that the plugin can save a core file, or just that
it's an object f
DavidSpickett wrote:
> But not to sure how to add it to help plugin save-core because help files are
> all static and this help is dynamically generated.
To repeat a comment from the issue, this is what ninja does for example:
```
-d MODE enable debugging (use '-d list' to list modes)
-t T
Author: Michael Buch
Date: 2025-06-06T17:17:00+01:00
New Revision: 30f524090542d07067234c292c15d4a4129b4aea
URL:
https://github.com/llvm/llvm-project/commit/30f524090542d07067234c292c15d4a4129b4aea
DIFF:
https://github.com/llvm/llvm-project/commit/30f524090542d07067234c292c15d4a4129b4aea.diff
cjdb wrote:
Ping. I would appreciate it if this PR could be merged in time for my
presentation at Asia LLVM, which is at the start of next week.
https://github.com/llvm/llvm-project/pull/139632
___
lldb-commits mailing list
lldb-commits@lists.llvm.org
https://github.com/Nerixyz created
https://github.com/llvm/llvm-project/pull/143177
This PR explores if type summaries for MSVC's STL can be added without
modifying the data formatter infrastructure. The string summary function for
libstdc++ now checks for MSVC's STL string as well (as both ha
Nerixyz wrote:
I can't merge this by myself. @JDevlieghere could you merge this for me please?
https://github.com/llvm/llvm-project/pull/141344
___
lldb-commits mailing list
lldb-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/ll
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,h --
lldb/source/Plugins/Language/CPlusPlus/MsvcStl.cpp
https://github.com/Nerixyz updated
https://github.com/llvm/llvm-project/pull/143177
>From 2076559fa3dab8081fe9bbb6181f0c1749e726f5 Mon Sep 17 00:00:00 2001
From: Nerixyz
Date: Fri, 6 Jun 2025 19:23:04 +0200
Subject: [PATCH] [LLDB] Add type summaries for MSVC STL strings
---
.../lldb/DataForma
https://github.com/Nerixyz updated
https://github.com/llvm/llvm-project/pull/143177
>From c15c742d70f4cc61393d8451967637449e5be8c1 Mon Sep 17 00:00:00 2001
From: Nerixyz
Date: Fri, 6 Jun 2025 19:23:04 +0200
Subject: [PATCH] [LLDB] Add type summaries for MSVC STL strings
---
.../lldb/DataForma
ayushsahay1837 wrote:
Thanks for reviewing this, David!
> Our intention is to provide support in this PR for all the standard CSRs, and
> in a later PR for the CSRs in the Xqci extension, and use that as an example
> for others to implement their own extensions.
The named CSRs in this PR are
https://github.com/da-viper created
https://github.com/llvm/llvm-project/pull/143126
continuation of [#142684](https://github.com/llvm/llvm-project/pull/142684) to
show plugin names.
>From issue [#14258](https://github.com/llvm/llvm-project/issues/142581)
>From 95c61d6a917060d7b3a2bc554575eb
llvmbot wrote:
@llvm/pr-subscribers-lldb
Author: Ebuka Ezike (da-viper)
Changes
continuation of [#142684](https://github.com/llvm/llvm-project/pull/142684) to show plugin
names.
>From issue [#14258](https://github.com/llvm/llvm-project/issues/142581)
---
Full diff: https://github.com/l
da-viper wrote:
Requested from the comments, I added the available plugins that can save a core
file.
But not to sure how to add it to `help plugin save-core` because help files
are all static and this help is dynamically generated.
https://github.com/llvm/llvm-project/pull/143126
_
Author: David Spickett
Date: 2025-06-06T14:42:12Z
New Revision: 974ee967ad312f347d805558025a9fa727ac03f6
URL:
https://github.com/llvm/llvm-project/commit/974ee967ad312f347d805558025a9fa727ac03f6
DIFF:
https://github.com/llvm/llvm-project/commit/974ee967ad312f347d805558025a9fa727ac03f6.diff
LOG
DavidSpickett wrote:
Opened https://github.com/llvm/llvm-project/issues/143149.
https://github.com/llvm/llvm-project/pull/142952
___
lldb-commits mailing list
lldb-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits
DavidSpickett wrote:
Ok I'm happy with everything aside from testing. Thanks for explaining.
For tests, I don't care if the core file is full of interesting stuff, it can
be hello world.
I'm thinking you could take some vanilla QEMU example of bare metal RISC-V and
use GDB's ability to dump a
Author: David Spickett
Date: 2025-06-06T14:03:58Z
New Revision: 016ce351c8b260c5d7fff9db3e373640e7d6d00c
URL:
https://github.com/llvm/llvm-project/commit/016ce351c8b260c5d7fff9db3e373640e7d6d00c
DIFF:
https://github.com/llvm/llvm-project/commit/016ce351c8b260c5d7fff9db3e373640e7d6d00c.diff
LOG
https://github.com/Michael137 updated
https://github.com/llvm/llvm-project/pull/143098
>From 902a6567d4c34790070a717ca31bd8fa0ee01c45 Mon Sep 17 00:00:00 2001
From: Michael Buch
Date: Fri, 6 Jun 2025 10:26:17 +0100
Subject: [PATCH 1/3] [lldb][Modules] Make decls from submodules visible for
nam
DavidSpickett wrote:
The function's "name" includes the return and parameter type like: `void
foo(void)` (and maybe the calling convention)
We've regex'd around this before but I never thought much about why it does
that. I'll have another look and raise an issue if there's no good explanation
Author: David Blaikie
Date: 2025-06-06T19:43:49Z
New Revision: bc7f1eadbf8bd3377d8fa121f3b6072ec7601724
URL:
https://github.com/llvm/llvm-project/commit/bc7f1eadbf8bd3377d8fa121f3b6072ec7601724
DIFF:
https://github.com/llvm/llvm-project/commit/bc7f1eadbf8bd3377d8fa121f3b6072ec7601724.diff
LOG:
@@ -46,12 +48,255 @@ class CommandObjectPluginLoad : public CommandObjectParsed
{
}
};
+namespace {
+// Helper function to perform an action on each matching plugin.
+// The action callback is given the containing namespace along with plugin info
+// for each matching plugi
@@ -46,12 +48,255 @@ class CommandObjectPluginLoad : public CommandObjectParsed
{
}
};
+namespace {
+// Helper function to perform an action on each matching plugin.
+// The action callback is given the containing namespace along with plugin info
+// for each matching plugi
https://github.com/Sterling-Augustine updated
https://github.com/llvm/llvm-project/pull/143170
>From 1b2fcdccc6d7f35dc2f387259c70fe6c9825b8b0 Mon Sep 17 00:00:00 2001
From: Sterling Augustine
Date: Wed, 4 Jun 2025 11:53:45 -0700
Subject: [PATCH 1/3] [NFC] Separate high-level-dependent portions
https://github.com/Sterling-Augustine updated
https://github.com/llvm/llvm-project/pull/143170
>From 1b2fcdccc6d7f35dc2f387259c70fe6c9825b8b0 Mon Sep 17 00:00:00 2001
From: Sterling Augustine
Date: Wed, 4 Jun 2025 11:53:45 -0700
Subject: [PATCH 1/2] [NFC] Separate high-level-dependent portions
https://github.com/dmpots edited
https://github.com/llvm/llvm-project/pull/134418
___
lldb-commits mailing list
lldb-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits
https://github.com/clayborg requested changes to this pull request.
https://github.com/llvm/llvm-project/pull/134418
___
lldb-commits mailing list
lldb-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits
@@ -46,12 +48,287 @@ class CommandObjectPluginLoad : public CommandObjectParsed
{
}
};
+namespace {
+// Helper function to perform an action on each matching plugin.
+// The action callback is given the containing namespace along with plugin info
+// for each matching plugi
@@ -46,12 +48,287 @@ class CommandObjectPluginLoad : public CommandObjectParsed
{
}
};
+namespace {
+// Helper function to perform an action on each matching plugin.
+// The action callback is given the containing namespace along with plugin info
+// for each matching plugi
@@ -181,6 +181,56 @@ void PluginManager::Terminate() {
plugin_map.clear();
}
+llvm::ArrayRef PluginManager::GetPluginNamespaces() {
+ // Currently supported set of plugin namespaces. This will be expanded
+ // over time.
+ static PluginNamespace PluginNamespaces[] = {
+
@@ -486,6 +544,12 @@ class PluginManager {
static InstrumentationRuntimeCreateInstance
GetInstrumentationRuntimeCreateCallbackAtIndex(uint32_t idx);
+ static std::vector
+ GetInstrumentationRuntimePluginInfo();
clayborg wrote:
Did the system runtime stu
@@ -486,6 +544,12 @@ class PluginManager {
static InstrumentationRuntimeCreateInstance
GetInstrumentationRuntimeCreateCallbackAtIndex(uint32_t idx);
+ static std::vector
+ GetInstrumentationRuntimePluginInfo();
dmpots wrote:
The SystemRuntime functions
@@ -181,6 +181,56 @@ void PluginManager::Terminate() {
plugin_map.clear();
}
+llvm::ArrayRef PluginManager::GetPluginNamespaces() {
+ // Currently supported set of plugin namespaces. This will be expanded
+ // over time.
+ static PluginNamespace PluginNamespaces[] = {
+
@@ -46,12 +48,287 @@ class CommandObjectPluginLoad : public CommandObjectParsed
{
}
};
+namespace {
+// Helper function to perform an action on each matching plugin.
+// The action callback is given the containing namespace along with plugin info
+// for each matching plugi
@@ -46,12 +48,287 @@ class CommandObjectPluginLoad : public CommandObjectParsed
{
}
};
+namespace {
+// Helper function to perform an action on each matching plugin.
+// The action callback is given the containing namespace along with plugin info
+// for each matching plugi
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 h,cpp --
lldb/source/Expression/DWARFExpression.cpp lldb/sou
55 matches
Mail list logo