[llvm-dev] figure out the name of the function called via % instead of @
Peng Yu via llvm-dev
llvm-dev at lists.llvm.org
Sun Jan 27 14:08:04 PST 2019
I see the following code in a .ll file converted from a .bc file.
%tmp12 = load void ()*, void ()** @rl_deprep_term_function, align 8,
call void %tmp12(), !dbg !11309
As I understand it, @rl_deprep_term_function is a pointer to a
variable of type void ()*, which is a pointer to a function takes no
argument and return void. Upon load, %tmp12 holds the pointer to the
function, which can be called in the following instruction.
Does anybody know what is the best way to figure out the name of the
function being called? This must be done at runtime and can not be
done statically? Thanks.
More information about the llvm-dev