<div dir="ltr"><div class="gmail_signature"><div dir="ltr"><div><span style="font-family:Arial,Helvetica,sans-serif;font-size:13px">Hi guys,</span><p style="margin:1em 0px;padding:0px;border:0px;line-height:normal;font-family:Arial,Helvetica,sans-serif;font-size:13px">maybe you can help with an issue which I have.</p><p style="margin:1em 0px;padding:0px;border:0px;line-height:normal;font-family:Arial,Helvetica,sans-serif;font-size:13px">I want to recuperate for a C++ program compiled with Clang/LLVM on an<br>Ubuntu CPU x86_64 bit architecture all the addresses of the call<br>instructions (C++ object dispatches) or directly the return address<br>which are just the next address after a call instruction.</p><p style="margin:1em 0px;padding:0px;border:0px;line-height:normal;font-family:Arial,Helvetica,sans-serif;font-size:13px">I think that this information is not obtainable during link time since<br>we have at that moment only IR code. Please corect me if I am wrong.<br>So my assumption is that in the compiler back end after the IR code is<br>lowered to machine code and the addresses for the call instructions<br>and the addresses next to the call instructions are available.</p><p style="margin:1em 0px;padding:0px;border:0px;line-height:normal;font-family:Arial,Helvetica,sans-serif;font-size:13px">Has anybody a suggestion where are the possible places in the compiler<br>where I should look for?</p><p style="margin:1em 0px;padding:0px;border:0px;line-height:normal;font-family:Arial,Helvetica,sans-serif;font-size:13px">Since I am new to this topic suggestions or solutions are highly welcome.</p><p style="margin:1em 0px;padding:0px;border:0px;line-height:normal;font-family:Arial,Helvetica,sans-serif;font-size:13px">-Paul</p><div><div><div><div><div></div></div></div></div></div></div></div></div>
</div>