[Lldb-commits] [lldb] [LLDB][PDB] Access object file through module (PR #169728)

Dmitry Vasilyev via lldb-commits lldb-commits at lists.llvm.org
Fri Nov 28 07:59:23 PST 2025


slydiman wrote:

[lldb-x86_64-win](https://lab.llvm.org/buildbot/#/builders/211/builds/4162) is broken after this patch.
```
FAIL: lldb-shell::add-symbols.cpp
[view all 86 lines](https://lab.llvm.org/buildbot/#/builders/211/builds/4162/steps/10/logs/FAIL__lldb-shell__add-symbols_cpp) 
# | Input file: <stdin>
# | Check file: C:\buildbot\as-builder-10\lldb-x86-64\llvm-project\lldb\test\Shell\SymbolFile\PDB\add-symbols.cpp
# | 
# | -dump-input=help explains the following input dump.
# | 
# | Input was:
# | <<<<<<
# |             .
# |             .
# |             .
# |             7: Breakpoint 1: no locations (pending). 
# |             8: WARNING: Unable to resolve breakpoint to any actual locations. 
# |             9: (lldb) target symbols add C:\buildbot\as-builder-10\lldb-x86-64\build\tools\lldb\test\Shell\SymbolFile\PDB\Output\add-symbols.cpp.tmp-renamed.pdb 
# |            10: symbol file 'C:\buildbot\as-builder-10\lldb-x86-64\build\tools\lldb\test\Shell\SymbolFile\PDB\Output\add-symbols.cpp.tmp-renamed.pdb' has been added to 'C:\buildbot\as-builder-10\lldb-x86-64\build\tools\lldb\test\Shell\SymbolFile\PDB\Output\add-symbols.cpp.tmp.exe' 
# |            11: (lldb) r 
# |            12: 1 location added to breakpoint 1 
# | check:28'0                                     X error: no match found
# |            13: (lldb) Process 15812 launched: 'C:\buildbot\as-builder-10\lldb-x86-64\build\tools\lldb\test\Shell\SymbolFile\PDB\Output\add-symbols.cpp.tmp.exe' (x86_64) 
# | check:28'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | check:28'1     ?                                                                                                                                                          possible intended match
# |            14: Process 15812 stopped 
# | check:28'0     ~~~~~~~~~~~~~~~~~~~~~~
# |            15: * thread #1, stop reason = breakpoint 1.1 
# | check:28'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |            16:  frame #0: 0x00007ff7fa381000 add-symbols.cpp.tmp.exe`main at add-symbols.cpp:39 
# | check:28'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |            17:  36 int x = 47; 
# | check:28'0     ~~~~~~~~~~~~~~~~
# |            18:  37 }; 
# | check:28'0     ~~~~~~~
# |             .
# |             .
# |             .
# | >>>>>>
# `-----------------------------
# error: command failed with exit status: 1
```

https://github.com/llvm/llvm-project/pull/169728


More information about the lldb-commits mailing list