[llvm-commits] CVS: llvm/include/llvm/CodeGen/MachineCodeEmitter.h
Misha Brukman
brukman at cs.uiuc.edu
Tue May 27 16:48:01 PDT 2003
Changes in directory llvm/include/llvm/CodeGen:
MachineCodeEmitter.h updated: 1.9 -> 1.10
---
Log message:
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).
---
Diffs of the changes:
Index: llvm/include/llvm/CodeGen/MachineCodeEmitter.h
diff -u llvm/include/llvm/CodeGen/MachineCodeEmitter.h:1.9 llvm/include/llvm/CodeGen/MachineCodeEmitter.h:1.10
--- llvm/include/llvm/CodeGen/MachineCodeEmitter.h:1.9 Thu May 8 22:27:28 2003
+++ llvm/include/llvm/CodeGen/MachineCodeEmitter.h Tue May 27 16:46:56 2003
@@ -84,6 +84,13 @@
/// 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
More information about the llvm-commits
mailing list