<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Verdana
}
--></style>
</head>
<body class='hmmessage'>
Hello,<br><a title="Send (Ctrl+Enter)" href="javascript:;" id="SendMessage">
    <span class="Label"></span></a><br>I write some instrumentation which needs to call static function from other files.<br>Is there a way to associate a global name/alias to a static function?<br><br>I need to turn the assembly code<br>    .align    16<br>    .type    some_static.2467,@function<br>some_static.2467:<br>    CODE<br><br><br><br>into <br><br>    .align    16<br>    .type    some_static.2467,@function<br>some_static.2467:<br>    .align    16<br>    .globl    some_extern_alias.2467<br>    .type    some_extern_alias.2467,@function<br>some_extern_alias.2467:<br>     CODE<br><br><br>and now I can call some_extern_alias.2467<br>Is there a way to perform this automatically in llvm?<br><br>Thank you,<br>Dan<br>                                    <br /><hr />Windows 7: Simplify your PC. <a href='http://www.microsoft.com/Windows/windows-7/default.aspx?ocid=PID24727::T:WLMTAGL:ON:WL:en-US:WWL_WIN_evergreen1:102009' target='_new'>Learn more.</a></body>
</html>