diff options
author | Misha Brukman <brukman+llvm@gmail.com> | 2003-05-27 21:46:56 +0000 |
---|---|---|
committer | Misha Brukman <brukman+llvm@gmail.com> | 2003-05-27 21:46:56 +0000 |
commit | 6b5e0549ca9cd1c80d726ee1a7ed83035bd93388 (patch) | |
tree | 157a3611e1252e9d41b347cb5e24dc31d7c2fd2a /include/llvm/CodeGen/MachineCodeEmitter.h | |
parent | 504905fd4b5334c8763fa4b9c61e618fa68d4b8b (diff) |
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
Diffstat (limited to 'include/llvm/CodeGen/MachineCodeEmitter.h')
-rw-r--r-- | include/llvm/CodeGen/MachineCodeEmitter.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/include/llvm/CodeGen/MachineCodeEmitter.h b/include/llvm/CodeGen/MachineCodeEmitter.h index 5c4802eacd..ba70b18d18 100644 --- a/include/llvm/CodeGen/MachineCodeEmitter.h +++ b/include/llvm/CodeGen/MachineCodeEmitter.h @@ -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 |