[Lldb-commits] [lldb] [LLDB][NativePDB] Use typedef compiler type for typedef types (PR #156250)
via lldb-commits
lldb-commits at lists.llvm.org
Wed Oct 15 10:04:15 PDT 2025
Nerixyz wrote:
> What's the best easiest way to get one?
Assuming you have some way to run an interactive shell there:
- Build LLDB (with debug symbols)
- Run this specific test with `-v` - e.g. `bin/llvm-lit -v <llvm-project-root>/lldb/test/Shell/SymbolFile/NativePDB/simple-types.cpp`
- This should fail, but it will build the required files
- In the lit output, you should see that `lldb-test symbols .../Output/simple-types.cpp.tmp.exe` was executed.
- Run this command in a debugger. **Make sure to set `LLDB_USE_NATIVE_PDB_READER=1`.** The debugger should break when the assertion is hit and you can get a backtrace. For example, in LLDB:
```console
> export LLDB_USE_NATIVE_PDB_READER=1
> lldb ..../bin/lldb-test.exe -- symbols ..../NativePDB/Output/simple-types.cpp.tmp.exe
(lldb) r
...
(lldb) bt
```
https://github.com/llvm/llvm-project/pull/156250
More information about the lldb-commits
mailing list