NFC: DebugInfo: Track the origin CU rather than just the base address for range lists
authorDavid Blaikie <dblaikie@gmail.com>
Thu, 8 Nov 2018 00:35:54 +0000 (00:35 +0000)
committerDavid Blaikie <dblaikie@gmail.com>
Thu, 8 Nov 2018 00:35:54 +0000 (00:35 +0000)
commitc8f7e6c1a9dd656c618fca015868112cfdf62c00
tree2a839933376a2d9a8a7fca4471e80b3acbcf0200
parentc4cf775ae09bd9ed0c73180244c27cc6e702e524
NFC: DebugInfo: Track the origin CU rather than just the base address for range lists

Turns out knowing more than just the base address might be useful -
specifically a future change to respect a DICompileUnit flag for the use
of base address specifiers in DWARF < 5.

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