]> granicus.if.org Git - llvm/commit
DebugInfo: Test & handle (differently) non-zero DW_AT_ranges_base
authorDavid Blaikie <dblaikie@gmail.com>
Wed, 2 Aug 2017 20:16:22 +0000 (20:16 +0000)
committerDavid Blaikie <dblaikie@gmail.com>
Wed, 2 Aug 2017 20:16:22 +0000 (20:16 +0000)
commit61dba579befdd5c3ed1bd60a61e6ded9716a1449
tree9b1466ee50e8fad5874c8c60260a86eb51080dc9
parent07635d3971afcb6560780f420d8e15ebc55498b2
DebugInfo: Test & handle (differently) non-zero DW_AT_ranges_base

Followup to r309570, fixing it slightly differently (ranges_base and
addr_base should never be read from a DWO file - so there shouldn't be
any issue with 'overriding' the values - conditionalize the code and
assert that the values aren't being overriden).

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@309879 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/DebugInfo/DWARF/DWARFUnit.h
lib/DebugInfo/DWARF/DWARFUnit.cpp
test/DebugInfo/Inputs/split-dwarf-dwp.cpp
test/DebugInfo/Inputs/split-dwarf-dwp.o
test/DebugInfo/Inputs/split-dwarf-dwp.o.dwp
test/DebugInfo/llvm-symbolizer.test