aboutsummaryrefslogtreecommitdiff
path: root/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
commit15c91887e47f7301255d838c4706509fe8677faa (patch)
treeebf607e172dda56c9e7e7e5b863ef609235f6227 /lib/Target/PowerPC/PPCTargetMachine.cpp
parent1747b2624ea92aba8257aa34d3090373ebd23276 (diff)
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
Diffstat (limited to 'lib/Target/PowerPC/PPCTargetMachine.cpp')
-rw-r--r--lib/Target/PowerPC/PPCTargetMachine.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/Target/PowerPC/PPCTargetMachine.cpp b/lib/Target/PowerPC/PPCTargetMachine.cpp
index 249a639f8c..11f334725e 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;