summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/AsmPrinter/DwarfDebug.h
diff options
context:
space:
mode:
authorDavid Blaikie <dblaikie@gmail.com>2014-02-12 00:31:30 +0000
committerDavid Blaikie <dblaikie@gmail.com>2014-02-12 00:31:30 +0000
commit15632ae11a169527bda6c286db8ce4137f93fdb7 (patch)
treed8817399ce5c25bd58996c30f947fb66eb33a299 /llvm/lib/CodeGen/AsmPrinter/DwarfDebug.h
parent101613e9034675a9530df1a8d980149a844d6719 (diff)
downloadbcm5719-llvm-15632ae11a169527bda6c286db8ce4137f93fdb7.tar.gz
bcm5719-llvm-15632ae11a169527bda6c286db8ce4137f93fdb7.zip
DwarfUnit: Provide a reference to a defining DwarfCompileUnit from DwarfTypeUnit.
Type units need to insert their file strings into the compile unit's line/file table. This is preliminary work to that end. llvm-svn: 201196
Diffstat (limited to 'llvm/lib/CodeGen/AsmPrinter/DwarfDebug.h')
-rw-r--r--llvm/lib/CodeGen/AsmPrinter/DwarfDebug.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/lib/CodeGen/AsmPrinter/DwarfDebug.h b/llvm/lib/CodeGen/AsmPrinter/DwarfDebug.h
index 4649cec3388..9cc12108e8f 100644
--- a/llvm/lib/CodeGen/AsmPrinter/DwarfDebug.h
+++ b/llvm/lib/CodeGen/AsmPrinter/DwarfDebug.h
@@ -606,7 +606,7 @@ class DwarfDebug : public AsmPrinterHandler {
/// \brief Construct the split debug info compile unit for the debug info
/// section.
- DwarfTypeUnit *constructSkeletonTU(const DwarfTypeUnit *TU);
+ DwarfTypeUnit *constructSkeletonTU(DwarfTypeUnit *TU);
/// \brief Emit the debug info dwo section.
void emitDebugInfoDWO();
@@ -710,7 +710,7 @@ public:
/// \brief Add a DIE to the set of types that we're going to pull into
/// type units.
- void addDwarfTypeUnitType(DICompileUnit CUNode, StringRef Identifier,
+ void addDwarfTypeUnitType(DwarfCompileUnit &CU, StringRef Identifier,
DIE *Die, DICompositeType CTy);
/// \brief Add a label so that arange data can be generated for it.
OpenPOWER on IntegriCloud