[llvm-commits] [PATCH] Use of DwarfDebug before declaration/definition
Kai
kai at redstar.de
Sun Dec 16 03:39:50 PST 2012
Hi!
In lib/CodeGen/AsmPrinter/DwarfDebug.h, a pointer to DwarfDebug is used
in line 225. The class itself is defined some lines below and there is
no declaration. The attached patch adds the missing declaration.
(I assume here that I can use the header file stand-alone. I do this in
my CodeView generation code and got an error.)
Regards
Kai
-------------- next part --------------
diff --git a/lib/CodeGen/AsmPrinter/DwarfDebug.h b/lib/CodeGen/AsmPrinter/DwarfDebug.h
index 738f117..63a3214 100644
--- a/lib/CodeGen/AsmPrinter/DwarfDebug.h
+++ b/lib/CodeGen/AsmPrinter/DwarfDebug.h
@@ -41,6 +41,7 @@ class DIEAbbrev;
class DIE;
class DIEBlock;
class DIEEntry;
+class DwarfDebug;
//===----------------------------------------------------------------------===//
/// \brief This class is used to record source line correspondence.
More information about the llvm-commits
mailing list