[Lldb-commits] [lldb] [lldb][split-dwarf] implement GetSeparateDebugInfo for SymbolFileOnDemand (PR #71230)
Greg Clayton via lldb-commits
lldb-commits at lists.llvm.org
Tue Nov 7 15:02:31 PST 2023
https://github.com/clayborg commented:
Looks good to me.
FYI: here is how you might be able to try cross compiling by editing the Makefile and removing the `@skipIf*`. The compile command for cross compiling looks like:
```
clang++ -target x86_64-pc-linux-elf -g -gsplit-dwarf -c main.cpp
```
You will want to try adding a bogus `-target x86_64--carp` and make sure the test stops or can handle not compiling correctly. This will help you figure out what will happen if `-target x86_64-pc-linux-elf` doesn't work because ELF or linux support isn't compiled into clang. If you can't gracefully handle this case, then just leave the `@skip` decorators as is
https://github.com/llvm/llvm-project/pull/71230
More information about the lldb-commits
mailing list