[PATCH] D68556: Document `LLVM_USE_SPLIT_DWARF` option
David Blaikie via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Aug 30 20:35:03 PDT 2021
dblaikie accepted this revision.
dblaikie added a comment.
In D68556#2971997 <https://reviews.llvm.org/D68556#2971997>, @anton-afanasyev wrote:
> In D68556#1698442 <https://reviews.llvm.org/D68556#1698442>, @dblaikie wrote:
>
>> FWIW, the current support is incomplete - if you just turn on -gsplit-dwarf, gdb may misbehave owing to a lack of index. (you'd need to add -Wl,-gdb-index to CMAKE_*_LINKER_FLAGS)
>>
>> Arguably we could/should fix LLVM itself to pass that flag when using -gsplit-dwarf while tuning for gdb and/or improve the LLVM CMake build to add the flag.
>
> Since `--gdb-index` option is added to `LLVM_USE_SPLIT_DWARF` (https://reviews.llvm.org/D108776) I think this could be landed with a couple of words added about `--gdb-index`.
Yeah, sounds about right.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D68556/new/
https://reviews.llvm.org/D68556
More information about the llvm-commits
mailing list