[PATCH] D74169: [WIP][LLD][ELF][DebugInfo] Remove obsolete debug info.
Greg Clayton via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Fri Apr 3 12:58:05 PDT 2020
clayborg added a comment.
Nice! Another thing I have been seeing a lot of is when functions are coalesced and many .o files have the same function that gets linked to the same location. We end up with many duplicate DWARF DIEs in the final executable since the linker will just link all of the DWARF for each function over and over (.debug_info and .debug_line content). I found this when making GSYM files from the DWARF and noticing that I had hundreds of duplicate entries that matched exactly. This would be a great follow up patch for --gc-debuginfo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D74169/new/
https://reviews.llvm.org/D74169
More information about the llvm-commits
mailing list