[PATCH] D63537: [llvm-dwarfdump] --gdb-index: fix uninitialized TuListOffset
David Blaikie via llvm-commits
llvm-commits at lists.llvm.org
Mon Jul 8 14:45:39 PDT 2019
Ping
On Tue, Jun 25, 2019 at 11:57 AM David Blaikie via Phabricator via
llvm-commits <llvm-commits at lists.llvm.org> wrote:
> dblaikie added a comment.
>
> In D63537#1557210 <https://reviews.llvm.org/D63537#1557210>, @MaskRay
> wrote:
>
> > @dblaikie `save gdb-index` generates index files of version 8. gold/lld
> generate version 7, llvm-dwarfdump recognize version 7 but not 8...
> >
> > mkdir dir
> > gdb a -batch -q -ex 'save gdb-index dir'
> > objcopy --add-section .gdb_index=dir/a.gdb-index --set-section-flags
> .gdb_index=readonly a b
> >
> >
> >
> >
> > % myllvm-dwarfdump -gdb-index b
> > b: file format ELF64-x86-64
> >
> > .gdb_index contents:
> >
> > <error parsing>
> >
>
>
> Perhaps an older version of GDB would produce the older index?
>
>
> Repository:
> rL LLVM
>
> CHANGES SINCE LAST ACTION
> https://reviews.llvm.org/D63537/new/
>
> https://reviews.llvm.org/D63537
>
>
>
> _______________________________________________
> llvm-commits mailing list
> llvm-commits at lists.llvm.org
> https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-commits
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20190708/0f784660/attachment.html>
More information about the llvm-commits
mailing list