search for: getfunctionfromsymboltable

Displaying 2 results from an estimated 2 matches for "getfunctionfromsymboltable".

2009 Jan 27
1
[LLVMdev] Newbie question: Getting info about JIT-compiled function
...): How can I get the size of the native function? I see that the information is stored in the __jitSymbolTable structure in JITEmitter.cpp, but I don't see any interface to query this symbol table. I see AddFunctionToSymbolTable() and RemoveFunctionFromSymbolTable(), but not any equivalent of GetFunctionFromSymbolTable(). Is there a supported way to get at the JitSymbolEntry for a function? If not, is there an alternate way to determine the size (in bytes) of the native function? Question (2): Does LLVM have any routines for printing the disassembly of a native code function? I see that lli can do this, but I...
2009 Jan 28
1
[LLVMdev] Newbie question: Getting info about JIT-compiled function
...I see > > that the information is stored in the __jitSymbolTable structure in > > JITEmitter.cpp, but I don't see any interface to query this symbol > > table. I see AddFunctionToSymbolTable() and > > RemoveFunctionFromSymbolTable(), but not any equivalent of > > GetFunctionFromSymbolTable(). Is there a supported way to get at > > the JitSymbolEntry for a function? If not, is there an alternate > > way to determine the size (in bytes) of the native function? > > The answer seems to be "create your own memory manager and define > endFunctionBody()"....