[Lldb-commits] [lldb] [lldb] Fix initial search path for PDB in PE/COFF (PR #190970)
Stefan Gränitz via lldb-commits
lldb-commits at lists.llvm.org
Wed Apr 8 09:52:29 PDT 2026
weliveindetail wrote:
Oh right, there was a test for this exact detail! Running it and inspecting the search oaths shows that they all look like this:
<img width="780" height="342" alt="Screenshot 2026-04-08 at 18 42 17" src="https://github.com/user-attachments/assets/453a7045-6327-404c-b366-67d329b65b7c" />
It works in both versions because the default locator uses `GetPath()` on the file spec, which re-concatenates them 🤦
https://github.com/llvm/llvm-project/blob/fd68fa98fc0d4b32011e636ff5cdf04a10db5d71/lldb/source/Plugins/SymbolLocator/Default/SymbolLocatorDefault.cpp#L191
That might be the idiomatic usage in LLDB then and I will better not mess with it :) Thanks for your note
https://github.com/llvm/llvm-project/pull/190970
More information about the lldb-commits
mailing list