I have a question on the LLVM JIT<br><br>I did some brief memory reading one day and I found that a call to a
non-library function is resolved by the X86CompilationCallback, but the
X86CompilationCallback is reached through a trampoline. why can not the
generated code jump to the X86CompilationCallback function directly ?<br>
<br> 0x2b0a6a4d103b: mov $0x2b0a6a561010,%rax<br> 0x2b0a6a4d1045: callq *%rax // call foo <br><blockquote class="gmail_quote"><br><br>==><br>
<br>0x2b0a6a561010: mov $0xa743a0,%r10 // some kind of trampoline <br>
0x2b0a6a56101a: callq *%r10<br><br>==><br><br>0xa743a0 <X86CompilationCallback>: push %rbp<br>0xa743a1 <X86CompilationCallback+1>: mov %rsp,%rbp<br>0xa743a4 <X86CompilationCallback+4>: push %rdi<br>
0xa743a5 <X86CompilationCallback+5>: push %rsi</blockquote><br clear="all"><br>-- <br>Kind Regards <br><br>Xin Tong <br>