DebugInfo: Use low_pc relative debug_ranges under fission when the CU has a low_pc
authorDavid Blaikie <dblaikie@gmail.com>
Sat, 2 May 2015 02:31:49 +0000 (02:31 +0000)
committerDavid Blaikie <dblaikie@gmail.com>
Sat, 2 May 2015 02:31:49 +0000 (02:31 +0000)
commite97eefc9c6068f837e76be9c47b264c8384f36c3
treea61f4487fc996fd3cfb5f24590fcfb6869368fac
parente243e06cbb6eb2672cf854a2cc58e5afe28e6795
DebugInfo: Use low_pc relative debug_ranges under fission when the CU has a low_pc

Seems we were setting the base address on the wrong DwarfCompileUnit
object so it wasn't being used when generating the ranges.

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