]> granicus.if.org Git - llvm/commit
Sink DwarfDebug::constructInlinedScopeDIE into DwarfCompileUnit
authorDavid Blaikie <dblaikie@gmail.com>
Thu, 9 Oct 2014 16:50:53 +0000 (16:50 +0000)
committerDavid Blaikie <dblaikie@gmail.com>
Thu, 9 Oct 2014 16:50:53 +0000 (16:50 +0000)
commit3fcb9f3ea56198a3a527dd25133af8c50423955c
treec7b06d8bee442d5cb826b0d8565b8e06d9d83844
parentc53401ee91bf0c1944f28a29d939dd146b1f06a3
Sink DwarfDebug::constructInlinedScopeDIE into DwarfCompileUnit

This introduces access to the AbstractSPDies map from DwarfDebug so
DwarfCompileUnit can access it. Eventually this'll sink down to
DwarfFile, but it'll still be generically accessible - not much
encapsulation to provide it. (constructInlinedScopeDIE could stay
further up, in DwarfFile to avoid exposing this - but I don't think
that's particularly better)

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