summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target/PowerPC/PPCTargetMachine.cpp
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2007-01-06 22:27:58 +0000
committerChris Lattner <sabre@nondot.org>2007-01-06 22:27:58 +0000
commit72a56fc44c156ab78142204d8eeea463098b1f2a (patch)
tree1a3de665a8209bfcb5e60a7add844d72674a6015 /llvm/lib/Target/PowerPC/PPCTargetMachine.cpp
parent67a1ef647a63dd3226b2b7a17ae7f3f5e9c9dc81 (diff)
downloadbcm5719-llvm-72a56fc44c156ab78142204d8eeea463098b1f2a.tar.gz
bcm5719-llvm-72a56fc44c156ab78142204d8eeea463098b1f2a.zip
Disable the macho writer until it is 100% functional. Enabling it when
broken invites bug reports. llvm-svn: 32961
Diffstat (limited to 'llvm/lib/Target/PowerPC/PPCTargetMachine.cpp')
-rw-r--r--llvm/lib/Target/PowerPC/PPCTargetMachine.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/llvm/lib/Target/PowerPC/PPCTargetMachine.cpp b/llvm/lib/Target/PowerPC/PPCTargetMachine.cpp
index 249a639f8cd..11f334725e1 100644
--- a/llvm/lib/Target/PowerPC/PPCTargetMachine.cpp
+++ b/llvm/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;
OpenPOWER on IntegriCloud