Remove the last of the special case code for emitting attributes.
[oota-llvm.git] / lib / CodeGen / AsmPrinter / DwarfDebug.h
index a63900a31ae287a798571864a3f2d52536ecae70..93f04895481fb9e07b6328d427999017d26b307d 100644 (file)
@@ -759,6 +759,10 @@ public:
     return Ref.resolve(TypeIdentifierMap);
   }
 
+  /// Find the DwarfCompileUnit for the given CU Die.
+  DwarfCompileUnit *lookupUnit(const DIE *CU) const {
+    return CUDieMap.lookup(CU);
+  }
   /// isSubprogramContext - Return true if Context is either a subprogram
   /// or another context nested inside a subprogram.
   bool isSubprogramContext(const MDNode *Context);