[llvm-dev] [RFC][Dwarf Library] Relocations for DWO sections

Alexander Yermolovich via llvm-dev llvm-dev at lists.llvm.org
Thu Jul 22 18:10:35 PDT 2021


Hello

I observed when DWARF Context is created for DWO object (split dwarf single mode), that relocations for .debug_info are processed and are stored in a map. This adds quite a bit of memory overhead. This doesn't seem like it is needed for DWO Context. Context created through API DWARFContext::getDWOContext. Am I missing something?

Illustrative patch to fix this:
https://reviews.llvm.org/D106624

Thank you,
Alex
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20210723/13ebb300/attachment.html>


More information about the llvm-dev mailing list