[PATCH] D63537: [llvm-dwarfdump] --gdb-index: fix uninitialized TuListOffset
Fangrui Song via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Jun 19 03:01:32 PDT 2019
MaskRay added a comment.
In D63537#1549839 <https://reviews.llvm.org/D63537#1549839>, @ikudrin wrote:
> I don't know a way to create that list, too. `lld` definitely does not create it. Maybe, `gold` can help?
>
> Anyway, for this patch, expanding existing `dwarfdump-dump-gdbindex.test` should be enough.
lld definitely does not create `.gdb_index`:
// Write the address area.
Hdr->CuTypesOff = Buf - Start;
Hdr->AddressAreaOff = Buf - Start;
but I can't get gold --gdb-index to produce it, either.
Repository:
rL LLVM
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D63537/new/
https://reviews.llvm.org/D63537
More information about the llvm-commits
mailing list