Displaying 2 results from an estimated 2 matches for "removefunctionfromsymboltable".
2009 Jan 27
1
[LLVMdev] Newbie question: Getting info about JIT-compiled function
...Everything works fine so far.
Two questions:
Question (1): 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...
2009 Jan 28
1
[LLVMdev] Newbie question: Getting info about JIT-compiled function
...t; > Question (1): 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?
>
> The answer seems to be "create...