aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Frontend/CompilerInvocation.cpp
diff options
context:
space:
mode:
authorDavid Blaikie <dblaikie@gmail.com>2020-12-17 20:51:20 -0800
committerDavid Blaikie <dblaikie@gmail.com>2021-01-05 16:36:22 -0800
commitad18b075fd63935148b460f9c6b4dce130c56b15 (patch)
treefae4e273201bb734d3550a7e39dfdb4c8d3ffc92 /clang/lib/Frontend/CompilerInvocation.cpp
parentb7718b617557aa9827f994a16267537236634095 (diff)
downloadllvm-ad18b075fd63935148b460f9c6b4dce130c56b15.zip
llvm-ad18b075fd63935148b460f9c6b4dce130c56b15.tar.gz
llvm-ad18b075fd63935148b460f9c6b4dce130c56b15.tar.bz2
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.
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions