[llvm-commits] CVS: llvm/lib/Target/ARM/ARMAsmPrinter.cpp
Jim Laskey
jlaskey at apple.com
Fri Jan 26 13:22:58 PST 2007
Changes in directory llvm/lib/Target/ARM:
ARMAsmPrinter.cpp updated: 1.49 -> 1.50
---
Log message:
Change the MachineDebugInfo to MachineModuleInfo to better reflect usage
for debugging and exception handling.
---
Diffs of the changes: (+3 -3)
ARMAsmPrinter.cpp | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
Index: llvm/lib/Target/ARM/ARMAsmPrinter.cpp
diff -u llvm/lib/Target/ARM/ARMAsmPrinter.cpp:1.49 llvm/lib/Target/ARM/ARMAsmPrinter.cpp:1.50
--- llvm/lib/Target/ARM/ARMAsmPrinter.cpp:1.49 Fri Jan 26 13:51:32 2007
+++ llvm/lib/Target/ARM/ARMAsmPrinter.cpp Fri Jan 26 15:22:28 2007
@@ -23,7 +23,7 @@
#include "llvm/Module.h"
#include "llvm/CodeGen/AsmPrinter.h"
#include "llvm/CodeGen/DwarfWriter.h"
-#include "llvm/CodeGen/MachineDebugInfo.h"
+#include "llvm/CodeGen/MachineModuleInfo.h"
#include "llvm/CodeGen/MachineFunctionPass.h"
#include "llvm/CodeGen/MachineJumpTableInfo.h"
#include "llvm/Target/TargetAsmInfo.h"
@@ -142,7 +142,7 @@
void getAnalysisUsage(AnalysisUsage &AU) const {
AU.setPreservesAll();
- AU.addRequired<MachineDebugInfo>();
+ AU.addRequired<MachineModuleInfo>();
}
};
} // end of anonymous namespace
@@ -166,7 +166,7 @@
AFI = MF.getInfo<ARMFunctionInfo>();
if (Subtarget->isTargetDarwin()) {
- DW.SetDebugInfo(&getAnalysis<MachineDebugInfo>());
+ DW.SetModuleInfo(&getAnalysis<MachineModuleInfo>());
}
SetupMachineFunction(MF);
More information about the llvm-commits
mailing list