[PATCH] D153080: Emit DW_LLE_base_address + DW_LLE_offset_pairs instead of DW_LLE_start_length in debug_loclists section

Adrian Prantl via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Jun 15 16:09:36 PDT 2023


aprantl added a comment.

Nice!

> I tried to see the size of the clang.dSYM and it went from 12.23 MB to 10.46 MB in size.

Is that the size of the loclists section inside clang.dSYM?



================
Comment at: llvm/lib/DWARFLinker/DWARFStreamer.cpp:644
+      LocListsSectionSize +=
+          MS->emitULEB128IntValue(LocExpression.Range->LowPC);
 
----------------
Don't we need to subtract the base address here?


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D153080/new/

https://reviews.llvm.org/D153080



More information about the llvm-commits mailing list