[PATCH] D49513: [ELF] Error if -r --gdb-index are used together

David Blaikie via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Jul 23 17:03:58 PDT 2018


dblaikie added a subscriber: MaskRay.
dblaikie added a comment.

This might not be especially useful - the gnu_pubnames sections don't
describe which CU they are for (if I recall correctly), so once you've got
multiple CUs in a single object file (admittedly, this happens in LTO too,
adn I'm not sure how that's handled) it might not be terribly useful. I'm
not sure what lld's gdb-index does when consuming an object with multiple
CUs in it, for example.


Repository:
  rLLD LLVM Linker

https://reviews.llvm.org/D49513





More information about the llvm-commits mailing list