[LLVMdev] Modifying machine code after it's generated with LLVM

Caldarale, Charles R Chuck.Caldarale at unisys.com
Fri Apr 12 06:14:39 PDT 2013


> From: llvmdev-bounces at cs.uiuc.edu [mailto:llvmdev-bounces at cs.uiuc.edu]
> On Behalf Of Dirkjan Bussink
> Subject: [LLVMdev] Modifying machine code after it's generated with LLVM

> I'd need to be able to pass a memory address where the actual native
> code is generated to this fallback function, but I haven't found any
> ways of doing this.

Perhaps I don't understand the actual issue, but isn't this method sufficient?

llvm::ExecutionEngine::getPointerToFunction();

 - Chuck


THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY MATERIAL and is thus for use only by the intended recipient. If you received this in error, please contact the sender and delete the e-mail and its attachments from all computers.





More information about the llvm-dev mailing list