[llvm-commits] CVS: llvm/lib/Target/X86/MachineCodeEmitter.cpp X86TargetMachine.h
Chris Lattner
lattner at cs.uiuc.edu
Mon Dec 2 15:25:00 PST 2002
Changes in directory llvm/lib/Target/X86:
MachineCodeEmitter.cpp added (r1.1)
X86TargetMachine.h updated: 1.2 -> 1.3
---
Log message:
Initial support for machine code emission
---
Diffs of the changes:
Index: llvm/lib/Target/X86/X86TargetMachine.h
diff -u llvm/lib/Target/X86/X86TargetMachine.h:1.2 llvm/lib/Target/X86/X86TargetMachine.h:1.3
--- llvm/lib/Target/X86/X86TargetMachine.h:1.2 Tue Oct 29 18:56:18 2002
+++ llvm/lib/Target/X86/X86TargetMachine.h Mon Dec 2 15:24:12 2002
@@ -30,6 +30,15 @@
/// not supported for this target.
///
virtual bool addPassesToJITCompile(PassManager &PM);
+
+ /// addPassesToEmitMachineCode - Add passes to the specified pass manager to
+ /// get machine code emitted. This uses a MAchineCodeEmitter object to handle
+ /// actually outputting the machine code and resolving things like the address
+ /// of functions. This method should returns true if machine code emission is
+ /// not supported.
+ ///
+ virtual bool addPassesToEmitMachineCode(PassManager &PM,
+ MachineCodeEmitter &MCE);
};
#endif
More information about the llvm-commits
mailing list