[PATCH] D54361: [ELF] .gdb_index: fix CuOff when a .debug_info section contains more than 1 CU

Fangrui Song via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sun Nov 11 23:01:05 PST 2018


MaskRay added a comment.

The thing we've done in `readPubNamesAndTypes` (try getting the correct `CuIndexInObject`) is a plus. The mechanism is not clearly specified and I think gold only handles the first .debug_gnu_pubnames set and ignores the rest.

https://sourceware.org/git/?p=binutils-gdb.git;a=blob;hb=160fc977b6f33e5ef51f6c1f3cdcb57965c522c8;f=gold/gdb-index.cc#l864


Repository:
  rLLD LLVM Linker

https://reviews.llvm.org/D54361





More information about the llvm-commits mailing list