HomePhabricator

DebugInfo: Add support for always using ranges (rather than low/high pc) in…

Authored by dblaikie on Dec 17 2020, 8:51 PM.

Description

DebugInfo: Add support for always using ranges (rather than low/high pc) in DWARFv5

Given the ability provided by DWARFv5 rnglists to reuse addresses in the
address pool, it can be advantageous to object file size to use range
encodings even when the range could be described by a direct low/high
pc.

Add a flag to allow enabling this in DWARFv5 for the purpose of
experimentation/data gathering.

It might be that it makes sense to enable this functionality by default
for DWARFv5 + Split DWARF at least, where the tradeoff/desire to
optimize for .o file size is more explicit and .o bytes are higher
priority than .dwo bytes.

Details

Committed
dblaikieTue, Jan 5, 4:36 PM
Parents
rGb7718b617557: Reland D93848 "[sanitizer] Define SANITIZER_GLIBC to refine SANITIZER_LINUX…
Branches
Unknown
Tags
Unknown