diff options
author | Shubham Sandeep Rastogi <srastogi22@apple.com> | 2023-07-24 13:06:57 -0700 |
---|---|---|
committer | Shubham Sandeep Rastogi <srastogi22@apple.com> | 2023-07-25 16:17:53 -0700 |
commit | b66b176dc37e6d5d9b777ed1a412672e96341352 (patch) | |
tree | eeb341f6fefaea0c4eb6526e7531510af0eb3198 /llvm/lib/CodeGen/TargetLoweringObjectFileImpl.cpp | |
parent | 8ccc8b19a16a231aa773a61bbbde26da02b72926 (diff) | |
download | llvm-b66b176dc37e6d5d9b777ed1a412672e96341352.zip llvm-b66b176dc37e6d5d9b777ed1a412672e96341352.tar.gz llvm-b66b176dc37e6d5d9b777ed1a412672e96341352.tar.bz2 |
Emit DW_RLE_base_addressx + DW_RLE_offset_pairs
instead of DW_ELE_start_length in debug_rnglists section
This patch tries to reduce the size of the debug_rnglist section by
replacing the DW_RLE_start_length opcodes currently emitted by dsymutil
in favor of using DW_RLE_base_addressx + DW_RLE_offset_pair instead.
The DW_RLE_start_length is one AddressSize followed by a ULEB per entry,
whereas, the DW_RLE_base_addressx + DW_RLE_offset_pair will use one ULEB
for the base address, and then the DW_RLE_offset_pair is a pair of
ULEBs. This will be more efficient.
Differential Revision: https://reviews.llvm.org/D156166
Diffstat (limited to 'llvm/lib/CodeGen/TargetLoweringObjectFileImpl.cpp')
0 files changed, 0 insertions, 0 deletions