[Lldb-commits] [lldb] Reland "[lldb] Initial plugin and test for SymbolLocatorSymStore" (PR #185658)
via lldb-commits
lldb-commits at lists.llvm.org
Mon Mar 16 04:31:42 PDT 2026
Stefan =?utf-8?q?Gränitz?= <stefan.graenitz at gmail.com>,
Stefan =?utf-8?q?Gränitz?= <stefan.graenitz at gmail.com>,
Stefan =?utf-8?q?Gränitz?= <stefan.graenitz at gmail.com>,
Stefan =?utf-8?q?Gränitz?= <stefan.graenitz at gmail.com>,
Stefan =?utf-8?q?Gränitz?= <stefan.graenitz at gmail.com>,
Stefan =?utf-8?q?Gränitz?= <stefan.graenitz at gmail.com>,
Stefan =?utf-8?q?Gränitz?= <stefan.graenitz at gmail.com>
Message-ID:
In-Reply-To: <llvm.org/llvm/llvm-project/pull/185658 at github.com>
Nerixyz wrote:
> Two local runs of `check-lldb` with the latest patch only yield the usual suspects:
- **lldb-api :: functionalities/data-formatter/data-formatter-stl/generic/span/TestDataFormatterStdSpan.py**: Passes for me locally with this PR.
- **lldb-api :: tools/lldb-server/TestNonStop.py**: Passes for me locally with this PR.
- **lldb-api :: windows/launch/replace-dll/TestReplaceDLL.py**: Passes the first time, but fails the second time (even without this PR). Seems to be related to files that are deleted/renamed during the test.
- **lldb-shell :: ScriptInterpreter/Python/bytecode.test**: Fixed in main - no worries.
- **lldb-shell :: Target/dependent-modules-nodupe-windows.test**: This fails with this PR. Though I think it's correct with this PR, because before, it wouldn't find the PDB whereas it now finds it. Since the test passes `-g0`, we shouldn't generate debug info, but if this is specified, clang will pass `-debug` to the linker (not sure if this is a clang bug?). You can fix this with this patch:
```diff
diff --git a/lldb/test/Shell/Target/dependent-modules-nodupe-windows.test b/lldb/test/Shell/Target/dependent-modules-nodupe-windows.test
index 78d7f7469b9f..9c507dc9079b 100644
--- a/lldb/test/Shell/Target/dependent-modules-nodupe-windows.test
+++ b/lldb/test/Shell/Target/dependent-modules-nodupe-windows.test
@@ -4,9 +4,10 @@
# process actually loads the DLL.
# RUN: %clang_host -g0 -O0 -shared %S/Inputs/shlib.c -o %t.shlib.dll \
-# RUN: %if windows-msvc %{-Wl,-implib:%t.shlib.lib%} \
+# RUN: %if windows-msvc %{-Wl,-implib:%t.shlib.lib -Wl,-debug:none%} \
# RUN: %else %{-Wl,--out-implib=%t.shlib.lib%}
-# RUN: %clang_host -g0 -O0 %S/Inputs/main.c %t.shlib.lib -o %t.main.exe
+# RUN: %clang_host -g0 -O0 %S/Inputs/main.c %t.shlib.lib -o %t.main.exe \
+# RUN: %if windows-msvc %{-Wl,-debug:none%}
# RUN: %lldb -b -o "#before" -o "target modules list" -o "b main" -o run \
# RUN: -o "#after" -o "target modules list" %t.main.exe | FileCheck %s
```
https://github.com/llvm/llvm-project/pull/185658
More information about the lldb-commits
mailing list