Sink DwarfDebug::addScopeRangeList down into DwarfCompileUnit
authorDavid Blaikie <dblaikie@gmail.com>
Thu, 9 Oct 2014 00:11:39 +0000 (00:11 +0000)
committerDavid Blaikie <dblaikie@gmail.com>
Thu, 9 Oct 2014 00:11:39 +0000 (00:11 +0000)
commitcbb705d90023b159f276dadb4349e3162a7300fb
treeba9a13b88d0fa54e36a5789de468f9b09544f5ca
parent6aaac2865884666f73070ceb9294b59b9b9a4831
Sink DwarfDebug::addScopeRangeList down into DwarfCompileUnit

(& add a few accessors/make a couple of things public for this - it's a
bit of a toss-up, but I think I prefer it this way, keeping some more of
the meaty code down in DwarfCompileUnit - if only to make for smaller
implementation files, etc)

I think we could simplify range handling a bit if we removed the range
lists from each unit and just put a single range list on DwarfDebug,
similar to address pooling.

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