aboutsummaryrefslogtreecommitdiff
path: root/lib/Target/PowerPC/PPCMachOWriter.cpp
diff options
context:
space:
mode:
authorBill Wendling <isanbard@gmail.com>2007-02-08 01:32:51 +0000
committerBill Wendling <isanbard@gmail.com>2007-02-08 01:32:51 +0000
commit449c57a0f9b550e4a43d7c1c1ef37ebff20650b4 (patch)
treee76fe04f0eed03a926dddd5337e360cd813990a7 /lib/Target/PowerPC/PPCMachOWriter.cpp
parent529f0690d5aa0672be42b90184177ddf55210b23 (diff)
Dead files. Functionality has been taken over by the Add*Writer functions.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@34029 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/PowerPC/PPCMachOWriter.cpp')
-rw-r--r--lib/Target/PowerPC/PPCMachOWriter.cpp36
1 files changed, 0 insertions, 36 deletions
diff --git a/lib/Target/PowerPC/PPCMachOWriter.cpp b/lib/Target/PowerPC/PPCMachOWriter.cpp
deleted file mode 100644
index 13a214e636..0000000000
--- a/lib/Target/PowerPC/PPCMachOWriter.cpp
+++ /dev/null
@@ -1,36 +0,0 @@
-//===-- PPCMachOWriter.cpp - Emit a Mach-O file for the PowerPC backend ---===//
-//
-// The LLVM Compiler Infrastructure
-//
-// This file was developed by Nate Begeman and is distributed under
-// the University of Illinois Open Source License. See LICENSE.TXT for details.
-//
-//===----------------------------------------------------------------------===//
-//
-// This file implements a Mach-O writer for the PowerPC backend. The public
-// interface to this file is the createPPCMachOObjectWriterPass function.
-//
-//===----------------------------------------------------------------------===//
-
-#include "PPCTargetMachine.h"
-#include "llvm/PassManager.h"
-#include "llvm/CodeGen/MachOWriter.h"
-#include "llvm/Support/Compiler.h"
-using namespace llvm;
-
-namespace {
- struct VISIBILITY_HIDDEN PPCMachOWriter : public MachOWriter {
- PPCMachOWriter(std::ostream &O, PPCTargetMachine &TM)
- : MachOWriter(O, TM) {}
- };
-}
-
-/// addPPCMachOObjectWriterPass - Returns a pass that outputs the generated code
-/// as a Mach-O object file.
-///
-void llvm::addPPCMachOObjectWriterPass(FunctionPassManager &FPM,
- std::ostream &O, PPCTargetMachine &TM) {
- PPCMachOWriter *MOW = new PPCMachOWriter(O, TM);
- FPM.add(MOW);
- FPM.add(createPPCCodeEmitterPass(TM, MOW->getMachineCodeEmitter()));
-}