summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/AsmPrinter/DwarfCompileUnit.h
diff options
context:
space:
mode:
authorDavid Blaikie <dblaikie@gmail.com>2013-11-15 23:09:13 +0000
committerDavid Blaikie <dblaikie@gmail.com>2013-11-15 23:09:13 +0000
commit2ad0016e53a6e8819f732988f9f6bee6d87269ed (patch)
tree48d2c95c4b9ef354ecaff41916c015dedf87a39e /llvm/lib/CodeGen/AsmPrinter/DwarfCompileUnit.h
parentc620032de99c38493ca18b617370a149d2c4f910 (diff)
downloadbcm5719-llvm-2ad0016e53a6e8819f732988f9f6bee6d87269ed.tar.gz
bcm5719-llvm-2ad0016e53a6e8819f732988f9f6bee6d87269ed.zip
DwarfCompileUnit: Push DIDescriptors through a getDIE/insertDIE
llvm-svn: 194875
Diffstat (limited to 'llvm/lib/CodeGen/AsmPrinter/DwarfCompileUnit.h')
-rw-r--r--llvm/lib/CodeGen/AsmPrinter/DwarfCompileUnit.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/lib/CodeGen/AsmPrinter/DwarfCompileUnit.h b/llvm/lib/CodeGen/AsmPrinter/DwarfCompileUnit.h
index 1fd40fb4dca..31ba6d4f0d1 100644
--- a/llvm/lib/CodeGen/AsmPrinter/DwarfCompileUnit.h
+++ b/llvm/lib/CodeGen/AsmPrinter/DwarfCompileUnit.h
@@ -159,7 +159,7 @@ public:
/// when the MDNode can be part of the type system, since DIEs for
/// the type system can be shared across CUs and the mappings are
/// kept in DwarfDebug.
- DIE *getDIE(const MDNode *N) const;
+ DIE *getDIE(DIDescriptor D) const;
DIEBlock *getDIEBlock() { return new (DIEValueAllocator) DIEBlock(); }
@@ -167,7 +167,7 @@ public:
/// when the MDNode can be part of the type system, since DIEs for
/// the type system can be shared across CUs and the mappings are
/// kept in DwarfDebug.
- void insertDIE(const MDNode *N, DIE *D);
+ void insertDIE(DIDescriptor Desc, DIE *D);
/// addDie - Adds or interns the DIE to the compile unit.
///
OpenPOWER on IntegriCloud