From: Chris Lattner Date: Sat, 6 Jan 2007 22:27:58 +0000 (+0000) Subject: Disable the macho writer until it is 100% functional. Enabling it when X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=15c91887e47f7301255d838c4706509fe8677faa;p=oota-llvm.git Disable the macho writer until it is 100% functional. Enabling it when broken invites bug reports. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32961 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/Target/PowerPC/PPCTargetMachine.cpp b/lib/Target/PowerPC/PPCTargetMachine.cpp index 249a639f8cd..11f334725e1 100644 --- a/lib/Target/PowerPC/PPCTargetMachine.cpp +++ b/lib/Target/PowerPC/PPCTargetMachine.cpp @@ -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;