Displaying 2 results from an estimated 2 matches for "machnemoduleinfo".
Did you mean:
machinemoduleinfo
2014 Jun 24
4
[LLVMdev] Any way get debug output of generated assembly from MCJIT without completely redoing CodeGen?
...ext assembly associated with the object code being emitted (if a debug flag is set in the app/dev environment which is hosting LLVM).
I attempted to do this by adding another AsmPrinter pass to the PassManager, but this runs into all sorts of problems because there's only once MCContext and one MachneModuleInfo pass maintaining various state information (MCSections, MCSymbols, etc.) and the two AsmPrinter passes interfere with each other.
The only way I've been able to get this to work is to create an entirely separate PassManager, and use addPassesToEmitFile() on it, which will redo the entire CodeG...
2014 Jun 24
2
[LLVMdev] Any way get debug output of generated assembly from MCJIT without completely redoing CodeGen?
...ect code being emitted
>> (if a debug flag is set in the app/dev environment which is hosting LLVM).
>> I attempted to do this by adding another AsmPrinter pass to the
>> PassManager, but this runs into all sorts of problems because there's only
>> once MCContext and one MachneModuleInfo pass maintaining various state
>> information (MCSections, MCSymbols, etc.) and the two AsmPrinter passes
>> interfere with each other.
>>
>> The only way I've been able to get this to work is to create an entirely
>> separate PassManager, and use addPassesToEmitFi...