Skip to content

Conversation

@adrian-prantl
Copy link

No description provided.

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

(cherry picked from commit b66b176)
support DW_FORM_strx in dsymutil.

Differential Revision: https://reviews.llvm.org/D157036

(cherry picked from commit 53d40b9)
@adrian-prantl
Copy link
Author

@swift-ci test llvm

@adrian-prantl
Copy link
Author

Test failure is unrelated.

@adrian-prantl adrian-prantl merged commit b573a13 into swiftlang:stable/20230725 Oct 19, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants