Add DwarfCompileUnit::BaseAddress to track the base address used by relative addressi...
authorDavid Blaikie <dblaikie@gmail.com>
Mon, 3 Nov 2014 21:15:30 +0000 (21:15 +0000)
committerDavid Blaikie <dblaikie@gmail.com>
Mon, 3 Nov 2014 21:15:30 +0000 (21:15 +0000)
commitce343492ee6337709ff971e679c15549778d33ac
tree87e72087db6e868258a6b533685a61991a329d47
parent118593a3af18af46be14cefbb5e5f2d20ea9471b
Add DwarfCompileUnit::BaseAddress to track the base address used by relative addressing in debug_ranges and debug_loc

This is one of a few steps to generalize range handling to include the
CU range (thus the CU's range list will be moved into the range list
list, losing track of the base address in the process), which means
generalizing ranges from both the skeleton and full unit under fission.

And... then I can used that generalized support for ranges in
fission+gmlt where there'll be a bunch more ranges in the skeleton.

llvm-svn: 221182
llvm/lib/CodeGen/AsmPrinter/DwarfCompileUnit.cpp
llvm/lib/CodeGen/AsmPrinter/DwarfCompileUnit.h
llvm/lib/CodeGen/AsmPrinter/DwarfDebug.cpp