[all-commits] [llvm/llvm-project] c9d9dd: [LLDB][NativePDB] Look for PDBs in `target.debug-f...
nerix via All-commits
all-commits at lists.llvm.org
Mon Dec 1 10:28:17 PST 2025
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: c9d9dddc1c5e9f203f5db890f383b956c5b2d295
https://github.com/llvm/llvm-project/commit/c9d9dddc1c5e9f203f5db890f383b956c5b2d295
Author: nerix <nerixdev at outlook.de>
Date: 2025-12-01 (Mon, 01 Dec 2025)
Changed paths:
M lldb/source/Plugins/SymbolFile/NativePDB/SymbolFileNativePDB.cpp
A lldb/test/Shell/SymbolFile/NativePDB/find-pdb-next-to-exe.test
Log Message:
-----------
[LLDB][NativePDB] Look for PDBs in `target.debug-file-search-paths` (#169719)
Similar to DWARF's DWO, we should look for PDBs in
`target.debug-file-search-paths` if the PDB isn't at the original
location or next to the executable.
With this PR, the search order is as follows:
1. PDB path specified in the PE/COFF file
2. Next to the executable
3. In `target.debug-file-search-paths`
This roughly matches [the order Visual Studio
uses](https://learn.microsoft.com/en-us/visualstudio/debugger/specify-symbol-dot-pdb-and-source-files-in-the-visual-studio-debugger?view=vs-2022#where-the-debugger-looks-for-symbols),
except that we don't have a project folder and don't support symbol
servers.
Closes #125355 (though I think this is already fixed in the native
plugin).
To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications
More information about the All-commits
mailing list