[LLVMdev] Getting the memory address of all operands on an expression

Abhinash Jain omnia at mailinator.com
Tue Jun 18 23:30:02 PDT 2013


> You can't, because addresses are only known at run-time, while passes are
run at compile time.

Actually I want to pass this string as an argument to a function (let say it
will just print it in on stdout), and this function will be called before
every store instruction at runtime.



--
View this message in context: http://llvm.1065342.n5.nabble.com/Getting-the-memory-address-of-all-operands-on-an-expression-tp58435p58621.html
Sent from the LLVM - Dev mailing list archive at Nabble.com.



More information about the llvm-dev mailing list