DebugInfo: Sink constructImportedEntityDIE down into DwarfUnit from DwarfDebug.
authorDavid Blaikie <dblaikie@gmail.com>
Mon, 6 Oct 2014 05:37:24 +0000 (05:37 +0000)
committerDavid Blaikie <dblaikie@gmail.com>
Mon, 6 Oct 2014 05:37:24 +0000 (05:37 +0000)
commitd53f7f4b22d8e7e83f0322cc4d15731f57a15944
tree0c050188a707f24ca815a75f476a215b19da35f7
parentf2eddd66943eb6fba7031335c21d8dfb912a3fde
DebugInfo: Sink constructImportedEntityDIE down into DwarfUnit from DwarfDebug.

It was just calling a bunch of DwarfUnit functions anyway, as can be
seen by the simplification of removing "TheCU" from all the function
calls in the implementation.

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