[LLVMdev] how to get and modify a global variable inside a module
jameschennerd at gmail.com
Wed Dec 5 08:05:47 PST 2012
haha~ you are right :)
i have tried the function ExecutionEngine::getPointerToGlobal(), it is
returned a address, but i am not sure the address is the pointer to the main
memory. are you sure about that?
the 2nd suggestion seems working, but i am not at the lab now, so please
allow me to try it tomorrow. but i believe your suggestion will help me.
it's really late here
View this message in context: http://llvm.1065342.n5.nabble.com/how-to-get-and-modify-a-global-variable-inside-a-module-tp52289p52305.html
Sent from the LLVM - Dev mailing list archive at Nabble.com.
More information about the llvm-dev