From 15c91887e47f7301255d838c4706509fe8677faa Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Sat, 6 Jan 2007 22:27:58 +0000 Subject: [PATCH] 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 --- lib/Target/PowerPC/PPCTargetMachine.cpp | 3 +++ 1 file changed, 3 insertions(+) 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;