Sink DwarfDebug::updateSubprogramScopeDIE into DwarfCompileUnit
authorDavid Blaikie <dblaikie@gmail.com>
Sat, 4 Oct 2014 16:24:00 +0000 (16:24 +0000)
committerDavid Blaikie <dblaikie@gmail.com>
Sat, 4 Oct 2014 16:24:00 +0000 (16:24 +0000)
commit53b95f3fb1f1f2a8fde8ee866a8e754cb3faddc8
treea90bba84fcb88c471628fd596854f39ade57413c
parentdba26ca39c08c4e30cb96cf16618012efd90bce2
Sink DwarfDebug::updateSubprogramScopeDIE into DwarfCompileUnit

This requires exposing some of the current function state from
DwarfDebug. I hope there's not too much of that to expose as I go
through all the functions, but it still seems nicer to expose singular
data down to multiple consumers, than have consumers expose raw mapping
data structures up to DwarfDebug for building subprograms.

Part of a series of refactoring to allow subprograms in both the
skeleton and dwo CUs under Fission.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@219060 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