Debug Info: support for DW_FORM_ref_addr.
[oota-llvm.git] / lib / CodeGen / AsmPrinter / DwarfDebug.h
index 83ea0cc967addbaad4cb9e6008783ed87594ac74..d3ce12c67a9bf2b546c6935b41795434890b4e0f 100644 (file)
@@ -329,6 +329,9 @@ class DwarfDebug {
   // Maps subprogram MDNode with its corresponding CompileUnit.
   DenseMap <const MDNode *, CompileUnit *> SPMap;
 
+  // Maps a CU DIE with its corresponding CompileUnit.
+  DenseMap <const DIE *, CompileUnit *> CUDieMap;
+
   // Used to uniquely define abbreviations.
   FoldingSet<DIEAbbrev> AbbreviationsSet;