mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2026-04-21 08:17:40 +00:00
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. :( :( git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@95148 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -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
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
||||
Reference in New Issue
Block a user