[PATCH] D59553: [LLD][ELF][DebugInfo] llvm-symbolizer shows incorrect source line info if --gc-sections used
Eric Christopher via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Mar 20 14:24:19 PDT 2019
echristo added a comment.
> & happy to be wrong here too - if we end up prototyping a "function units" equivalent of type units & seeing what the size overhead is, etc. (it'd be less problematic than type units at least - since there's no need for much/any DWARF to reference a function definition from elsewhere in the DWARF (unlike a type and its members, which all need to be referenced from elsewhere))
Just to be clear I'm saying I believe we can do this without changes to DWARF and just changing how we emit it to put concrete function DIEs into the same section group as the function but with a section of .debug_info.<section_group_id> similar to the data etc.
If this doesn't work then we have a fundamental problem in DWARF that needs to be addressed so that we can do it this way :)
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D59553/new/
https://reviews.llvm.org/D59553
More information about the llvm-commits
mailing list