Displaying 1 result from an estimated 1 matches for "6d3b2c4a".
2017 Mar 04
2
Figuring out return address of a call
Hi folks,
I'm trying to figure out the return address of a function in an LLVM
pass, i.e., the byte address right after the end of the call instruction
(so that I can initialize a global variable with the return address of a
function for a sanity check). Due to some other constraints, I have to
run this pass in somewhere in the midend.
At a high level, I want to find the address after a call