diff options
author | Tom Yang <zhenyutyang@gmail.com> | 2023-11-20 12:17:15 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-11-20 12:17:15 -0800 |
commit | 69a5869da4906f61caf59ff021559ca7d974c5f9 (patch) | |
tree | b9a65c05bcad87b05b1cb9b21b1945ccd68c3551 /clang/lib/CodeGen/CodeGenModule.cpp | |
parent | f4c6947a18d5c07d5743eb435c2854e61804ad24 (diff) | |
download | llvm-69a5869da4906f61caf59ff021559ca7d974c5f9.zip llvm-69a5869da4906f61caf59ff021559ca7d974c5f9.tar.gz llvm-69a5869da4906f61caf59ff021559ca7d974c5f9.tar.bz2 |
[lldb][split-dwarf] implement GetSeparateDebugInfo for SymbolFileOnDemand (#71230)
Small change to get `image dump separate-debug-info` working when using
`symbols.load-on-demand`.
Added tests to `TestDumpDwo`, and enabled the test for all platforms. If we fail to build, we skip the test, so this shouldn't cause the test to fail on unsupported platforms.
```
bin/lldb-dotest -p TestDumpDwo
```
It's easy to verify this manually by running
```
lldb --one-line-before-file "settings set symbols.load-on-demand true" <some_target>
(lldb) image dump separate-debug-info
...
```
---------
Co-authored-by: Tom Yang <toyang@fb.com>
Diffstat (limited to 'clang/lib/CodeGen/CodeGenModule.cpp')
0 files changed, 0 insertions, 0 deletions