[llvm-commits] CVS: llvm/lib/Target/PowerPC/PPCTargetMachine.cpp

Chris Lattner sabre at nondot.org
Sat Jan 6 14:28:13 PST 2007



Changes in directory llvm/lib/Target/PowerPC:

PPCTargetMachine.cpp updated: 1.111 -> 1.112
---
Log message:

Disable the macho writer until it is 100% functional.  Enabling it when
broken invites bug reports.


---
Diffs of the changes:  (+3 -0)

 PPCTargetMachine.cpp |    3 +++
 1 files changed, 3 insertions(+)


Index: llvm/lib/Target/PowerPC/PPCTargetMachine.cpp
diff -u llvm/lib/Target/PowerPC/PPCTargetMachine.cpp:1.111 llvm/lib/Target/PowerPC/PPCTargetMachine.cpp:1.112
--- llvm/lib/Target/PowerPC/PPCTargetMachine.cpp:1.111	Thu Dec 21 14:26:09 2006
+++ llvm/lib/Target/PowerPC/PPCTargetMachine.cpp	Sat Jan  6 16:27:58 2007
@@ -131,6 +131,9 @@
 
 bool PPCTargetMachine::addObjectWriter(FunctionPassManager &PM, bool Fast,
                                        std::ostream &Out) {
+  // FIXME: until the macho writer is 100% functional, diable this by default.
+  return true;
+  
   // FIXME: support PPC ELF files at some point
   addPPCMachOObjectWriterPass(PM, Out, *this);
   return false;






More information about the llvm-commits mailing list