OSDN Git Service

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)
commitdc1d16ae54aceebdecc7262b2ef806387f98ace3
treeb49814e19b3c8d7e916e2d06841e276d394be16a
parent8d7cc6b0ff5a543cc543732b07e3fb637bc4b619
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.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@221182 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/AsmPrinter/DwarfCompileUnit.cpp
lib/CodeGen/AsmPrinter/DwarfCompileUnit.h
lib/CodeGen/AsmPrinter/DwarfDebug.cpp