DebugInfo: Add DW_AT_GNU_ranges_base to skeleton CUs
authorDavid Blaikie <dblaikie@gmail.com>
Mon, 24 Mar 2014 21:31:35 +0000 (21:31 +0000)
committerDavid Blaikie <dblaikie@gmail.com>
Mon, 24 Mar 2014 21:31:35 +0000 (21:31 +0000)
commit882d89ead89a9c846044f2e3f5864bbea626ff9a
tree6f5162ed26783529635d717188feff49179d8d51
parent2563e201c14bfd45605e151a68e0ce11e1fc0ee9
DebugInfo: Add DW_AT_GNU_ranges_base to skeleton CUs

This is used to avoid relocations in the dwo file by allowing
DW_AT_ranges specified in debug_info.dwo to be relative to this base
address. (r204667 implements the base-relative DW_AT_ranges side of
this)

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@204672 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/AsmPrinter/DwarfDebug.cpp
test/DebugInfo/X86/fission-cu.ll