Vivien Millet via llvm-dev
2017-Mar-15 15:59 UTC
[llvm-dev] [ExecutionEngine] : getting the size of a llvm::Function after MCJIT code generation
Using the MCJIT compiler, in the execution engine I can get the address of a function generated by the JIT compiler (with ExecutionEngine::getFunctionAddress), but I can't find a method which can give me the llvm::Function size in memory. Is there a way to get this information ? Thanks! -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20170315/2cbc1c90/attachment.html>
Jameson Nash via llvm-dev
2017-Mar-20 09:06 UTC
[llvm-dev] [ExecutionEngine] : getting the size of a llvm::Function after MCJIT code generation
object::computeSymbolSizes On Wed, Mar 15, 2017 at 4:59 PM Vivien Millet via llvm-dev < llvm-dev at lists.llvm.org> wrote:> Using the MCJIT compiler, in the execution engine I can get the address of > a function generated by the JIT compiler (with > ExecutionEngine::getFunctionAddress), but I can't find a method which can > give me the llvm::Function size in memory. Is there a way to get this > information ? > Thanks! > _______________________________________________ > LLVM Developers mailing list > llvm-dev at lists.llvm.org > http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev >-------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20170320/bcb7c3d9/attachment.html>