Hello,
I write some instrumentation which needs to call static function from other files.
Is there a way to associate a global name/alias to a static function?
I need to turn the assembly code
.align 16
.type some_static.2467,@function
some_static.2467:
CODE
into
.align 16
.type some_static.2467,@function
some_static.2467:
.align 16
.globl some_extern_alias.2467
.type some_extern_alias.2467,@function
some_extern_alias.2467:
CODE
and now I can call some_extern_alias.2467
Is there a way to perform this automatically in llvm?
Thank you,
Dan