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.