[llvm-commits] CVS: llvm/lib/Target/X86/X86ATTAsmPrinter.cpp
Jim Laskey
jlaskey at apple.com
Wed Jul 19 04:55:16 PDT 2006
Changes in directory llvm/lib/Target/X86:
X86ATTAsmPrinter.cpp updated: 1.52 -> 1.53
---
Log message:
Bug#834 ICE (crash in code generator?) when building PCH .
Missing Darwin check in Intel ATT ASM printer.
---
Diffs of the changes: (+5 -3)
X86ATTAsmPrinter.cpp | 8 +++++---
1 files changed, 5 insertions(+), 3 deletions(-)
Index: llvm/lib/Target/X86/X86ATTAsmPrinter.cpp
diff -u llvm/lib/Target/X86/X86ATTAsmPrinter.cpp:1.52 llvm/lib/Target/X86/X86ATTAsmPrinter.cpp:1.53
--- llvm/lib/Target/X86/X86ATTAsmPrinter.cpp:1.52 Fri Jun 23 07:51:53 2006
+++ llvm/lib/Target/X86/X86ATTAsmPrinter.cpp Wed Jul 19 06:54:50 2006
@@ -26,9 +26,11 @@
/// method to print assembly for each instruction.
///
bool X86ATTAsmPrinter::runOnMachineFunction(MachineFunction &MF) {
- // Let PassManager know we need debug information and relay
- // the MachineDebugInfo address on to DwarfWriter.
- DW.SetDebugInfo(&getAnalysis<MachineDebugInfo>());
+ if (Subtarget->TargetType == X86Subtarget::isDarwin) {
+ // Let PassManager know we need debug information and relay
+ // the MachineDebugInfo address on to DwarfWriter.
+ DW.SetDebugInfo(&getAnalysis<MachineDebugInfo>());
+ }
SetupMachineFunction(MF);
O << "\n\n";
More information about the llvm-commits
mailing list