Displaying 2 results from an estimated 2 matches for "addpassestoemitobjectfile".
2005 Jan 18
0
[LLVMdev] Re: LLVM to SUIF-MACH VM binary
...gt; (currently used by the JIT). After that, you'll also want to add your new
> support for writing .o files (which is basically just adding file headers
> and packaging up relocations). For this, you can choose to either add a
> new virtual method to the TargetMachine class "addPassesToEmitObjectFile",
> which will enable your functionality, or you can build it into the LLC
> tool directly. If you chose to build it into LLC, you can use the results
> of the MachineCodeEmitter and addPassesToEmitMachineCode. At this point,
> I'm not sure which way will work best for yo...
2005 Jan 18
5
[LLVMdev] Re: LLVM to SUIF-MACH VM binary
...ne code to memory
(currently used by the JIT). After that, you'll also want to add your new
support for writing .o files (which is basically just adding file headers
and packaging up relocations). For this, you can choose to either add a
new virtual method to the TargetMachine class "addPassesToEmitObjectFile",
which will enable your functionality, or you can build it into the LLC
tool directly. If you chose to build it into LLC, you can use the results
of the MachineCodeEmitter and addPassesToEmitMachineCode. At this point,
I'm not sure which way will work best for you.
If possible, it...