Defines a pass-through debugging emitter -- it writes to a file for inspection

and to memory to test execution (using a passed-in code emitter).


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6365 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Misha Brukman 2003-05-27 21:46:56 +00:00
parent 504905fd4b
commit 6b5e0549ca

View File

@ -84,6 +84,13 @@ struct MachineCodeEmitter {
/// can be used for debugging users of the MachineCodeEmitter interface.
///
static MachineCodeEmitter *createDebugMachineCodeEmitter();
/// createFilePrinterMachineCodeEmitter - Return a dynamically allocated
/// machine code emitter, which prints binary code to a file. This
/// can be used for debugging users of the MachineCodeEmitter interface.
///
static MachineCodeEmitter*
createFilePrinterMachineCodeEmitter(MachineCodeEmitter&);
};
#endif