aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEvan Cheng <evan.cheng@apple.com>2008-02-05 00:25:13 +0000
committerEvan Cheng <evan.cheng@apple.com>2008-02-05 00:25:13 +0000
commit06816127fd35d4942a092479e9f30279eb050b0b (patch)
treef25989801e163f6f5e66bff6e389d7c27b230976
parenta76619337eafb273372e4554495cf142e7e9ed77 (diff)
Unbreak teh build.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@46729 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--include/llvm/CodeGen/AsmPrinter.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/include/llvm/CodeGen/AsmPrinter.h b/include/llvm/CodeGen/AsmPrinter.h
index bbe650b0c2..6607afe823 100644
--- a/include/llvm/CodeGen/AsmPrinter.h
+++ b/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;