diff options
author | Chris Lattner <sabre@nondot.org> | 2010-02-02 22:31:11 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2010-02-02 22:31:11 +0000 |
commit | 919b97436e1d6172f2c2345bf5223af456ad4c61 (patch) | |
tree | ac6dfe1c4a27f521aae7abc7a752b1a879c961f8 /llvm/lib/CodeGen/ELFWriter.cpp | |
parent | f9553572b71653f76ca57f90e32c3c802f2a1d53 (diff) | |
download | bcm5719-llvm-919b97436e1d6172f2c2345bf5223af456ad4c61.tar.gz bcm5719-llvm-919b97436e1d6172f2c2345bf5223af456ad4c61.zip |
Remove a bunch of stuff around the edges of the ELF writer.
Now the only use of the ELF writer is the JIT, which won't be
easy to fix in the short term. :( :(
llvm-svn: 95148
Diffstat (limited to 'llvm/lib/CodeGen/ELFWriter.cpp')
-rw-r--r-- | llvm/lib/CodeGen/ELFWriter.cpp | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/llvm/lib/CodeGen/ELFWriter.cpp b/llvm/lib/CodeGen/ELFWriter.cpp index de45e098234..af530a2caaa 100644 --- a/llvm/lib/CodeGen/ELFWriter.cpp +++ b/llvm/lib/CodeGen/ELFWriter.cpp @@ -59,15 +59,6 @@ using namespace llvm; char ELFWriter::ID = 0; -/// AddELFWriter - Add the ELF writer to the function pass manager -ObjectCodeEmitter *llvm::AddELFWriter(PassManagerBase &PM, - raw_ostream &O, - TargetMachine &TM) { - ELFWriter *EW = new ELFWriter(O, TM); - PM.add(EW); - return EW->getObjectCodeEmitter(); -} - //===----------------------------------------------------------------------===// // ELFWriter Implementation //===----------------------------------------------------------------------===// |