Disable the macho writer until it is 100% functional. Enabling it when
authorChris Lattner <sabre@nondot.org>
Sat, 6 Jan 2007 22:27:58 +0000 (22:27 +0000)
committerChris Lattner <sabre@nondot.org>
Sat, 6 Jan 2007 22:27:58 +0000 (22:27 +0000)
broken invites bug reports.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32961 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Target/PowerPC/PPCTargetMachine.cpp

index 249a639f8cdc44f5de339c1c5070f7755502392e..11f334725e1f597a9775dd6412d52c96a762bd12 100644 (file)
@@ -131,6 +131,9 @@ bool PPCTargetMachine::addAssemblyEmitter(FunctionPassManager &PM, bool Fast,
 
 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;