mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-08-05 13:26:55 +00:00
Add support to the X86 backend for emitting ELF files. To use this, we
currently use: llc t.bc --filetype=obj This will produce a t.o file which is dumpable with readelf. Currently the file produced is empty, but the scaffolding to do more is now in place. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@22292 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -69,6 +69,12 @@ FunctionPass *createX86FloatingPointStackifierPass();
|
||||
///
|
||||
FunctionPass *createX86CodePrinterPass(std::ostream &o,TargetMachine &tm);
|
||||
|
||||
/// createX86ELFObjectWriterPass - Returns a pass that outputs the generated
|
||||
/// code as an ELF object file.
|
||||
///
|
||||
FunctionPass *createX86ELFObjectWriterPass(std::ostream &o, TargetMachine &tm);
|
||||
|
||||
|
||||
/// createX86EmitCodeToMemory - Returns a pass that converts a register
|
||||
/// allocated function into raw machine code in a dynamically
|
||||
/// allocated chunk of memory.
|
||||
|
Reference in New Issue
Block a user