search for: llvmcreatesimplemcjitmemorymanager

Displaying 3 results from an estimated 3 matches for "llvmcreatesimplemcjitmemorymanager".

2015 Aug 09
2
About Stackmap section
Dear All I need to read the stackmap section at runtime of the inspected application. I've read the documentation of stackmap and found this paragraph: "A JIT compiler can easily access this section by providing its own memory manager via the LLVM C API LLVMCreateSimpleMCJITMemoryManager(). When creating the memory manager, the JIT provides a callback: LLVMMemoryManagerAllocateDataSectionCallback(). When LLVM creates this section, it invokes the callback and passes the section name. The JIT can record the in-memory address of the section at this time and later parse it to recover t...
2018 Nov 08
2
Building GC on statepoint-example
...ward./ > > Ok, great, I see the format. But... how do I access the Stack Map from > my runtime? Where is it? > > The link seems to send me to this instruction: > > /A JIT compiler can easily access this section by providing its own > memory manager via the LLVM C > API|LLVMCreateSimpleMCJITMemoryManager()|. When creating the memory > manager, the JIT provides a > callback:|LLVMMemoryManagerAllocateDataSectionCallback()|. When LLVM > creates this section, it invokes the callback and passes the section > name./ > > None of these API's are well-documented, so I'm kind of...
2018 Nov 01
2
Building GC on statepoint-example
...the standard format supported by LLVM going forward. Ok, great, I see the format. But... how do I access the Stack Map from my runtime? Where is it? The link seems to send me to this instruction: A JIT compiler can easily access this section by providing its own memory manager via the LLVM C APILLVMCreateSimpleMCJITMemoryManager(). When creating the memory manager, the JIT provides a callback:LLVMMemoryManagerAllocateDataSectionCallback(). When LLVM creates this section, it invokes the callback and passes the section name. None of these API's are well-documented, so I'm kind of trying to guess what to do here. As...