diff options
-rw-r--r-- | llvm/include/llvm/CodeGen/AsmPrinter.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/llvm/include/llvm/CodeGen/AsmPrinter.h b/llvm/include/llvm/CodeGen/AsmPrinter.h index bbe650b0c2f..6607afe823a 100644 --- a/llvm/include/llvm/CodeGen/AsmPrinter.h +++ b/llvm/include/llvm/CodeGen/AsmPrinter.h @@ -27,6 +27,7 @@ namespace llvm { class GlobalAlias; class MachineConstantPoolEntry; class MachineConstantPoolValue; + class MachineModuleInfo; class Mangler; class TargetAsmInfo; class Type; @@ -43,6 +44,11 @@ namespace llvm { /// unsigned FunctionNumber; + /// MachineModuleInfo - This is needed because printDeclare() has to insert + /// DebugVariable entries into the dwarf table. This is a short term hack + /// that ought be fixed soon. + MachineModuleInfo *MMI; + protected: // Necessary for external weak linkage support std::set<const GlobalValue*> ExtWeakSymbols; |