summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/AsmPrinter/DwarfUnit.h
diff options
context:
space:
mode:
authorDavid Blaikie <dblaikie@gmail.com>2014-10-06 05:37:24 +0000
committerDavid Blaikie <dblaikie@gmail.com>2014-10-06 05:37:24 +0000
commitfebfafd13a426948fa494271f1a7db477883ced7 (patch)
treee0d247cccaa1d8cf567093161dbfaa032f362cd0 /llvm/lib/CodeGen/AsmPrinter/DwarfUnit.h
parent64ee99183b8d9d7f2c3905c8a19cfc116abda1e7 (diff)
downloadbcm5719-llvm-febfafd13a426948fa494271f1a7db477883ced7.tar.gz
bcm5719-llvm-febfafd13a426948fa494271f1a7db477883ced7.zip
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. llvm-svn: 219103
Diffstat (limited to 'llvm/lib/CodeGen/AsmPrinter/DwarfUnit.h')
-rw-r--r--llvm/lib/CodeGen/AsmPrinter/DwarfUnit.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/llvm/lib/CodeGen/AsmPrinter/DwarfUnit.h b/llvm/lib/CodeGen/AsmPrinter/DwarfUnit.h
index 1b0bb325b5a..78c581c51c8 100644
--- a/llvm/lib/CodeGen/AsmPrinter/DwarfUnit.h
+++ b/llvm/lib/CodeGen/AsmPrinter/DwarfUnit.h
@@ -424,6 +424,10 @@ public:
/// constructSubprogramArguments - Construct function argument DIEs.
void constructSubprogramArguments(DIE &Buffer, DITypeArray Args);
+ /// \brief Construct import_module DIE.
+ std::unique_ptr<DIE>
+ constructImportedEntityDIE(const DIImportedEntity &Module);
+
/// Create a DIE with the given Tag, add the DIE to its parent, and
/// call insertDIE if MD is not null.
DIE &createAndAddDIE(unsigned Tag, DIE &Parent,
OpenPOWER on IntegriCloud