[Lldb-commits] [lldb] [lldb] Initial plugin and test for SymbolLocatorSymStore (PR #183302)
Stefan Gränitz via lldb-commits
lldb-commits at lists.llvm.org
Mon Mar 2 00:56:58 PST 2026
================
@@ -71,6 +71,9 @@ SymbolVendorPECOFF::CreateInstance(const lldb::ModuleSP &module_sp,
// If the module specified a filespec, use that.
FileSpec fspec = module_sp->GetSymbolFileFileSpec();
+ // Otherwise, use the PDB path from CodeView.
+ if (!fspec)
+ fspec = obj_file->GetPDBPath().value_or(FileSpec());
----------------
weliveindetail wrote:
Yes, we need to read the PDB path from the RSDS record of the EXE file. It will typically be equivalent to the EXE path and only differ in the extension, but I guess toolchains could choose to emit it elsewhere.
https://github.com/llvm/llvm-project/pull/183302
More information about the lldb-commits
mailing list