[PATCH] D156166: Emit DW_RLE_base_addressx + DW_RLE_offset_pairs instead of DW_ELE_start_length in debug_rnglists section
Adrian Prantl via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Jul 24 15:36:37 PDT 2023
aprantl added inline comments.
================
Comment at: llvm/lib/DWARFLinker/DWARFStreamer.cpp:508
- // Emit length of the range.
- RngListsSectionSize += MS->emitULEB128IntValue(Range.end() - Range.start());
+ // Emit start offset relative to base address.
+ RngListsSectionSize += MS->emitULEB128IntValue(Range.end() - *BaseAddress);
----------------
This comment sounds wrong. What is being emitted here?
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D156166/new/
https://reviews.llvm.org/D156166
More information about the llvm-commits
mailing list