[LLVMdev] how to get and modify a local variable's value through executionEngine?

Dong Chen jameschennerd at gmail.com
Sun Dec 9 17:33:01 PST 2012


hello guys,
recently, i successfully get and modify global variable by execution engine.
the functions i used are listed here:
 int m=1;
 EE->updateGlobalMapping(p->M->getGlobalVariable("x",true),&m);
 EE->recompileAndRelinkFunction(EntryFn);
x is the global variable in the module.
but how to modify the local variable in the module?



--
View this message in context: http://llvm.1065342.n5.nabble.com/how-to-get-and-modify-a-local-variable-s-value-through-executionEngine-tp52446.html
Sent from the LLVM - Dev mailing list archive at Nabble.com.



More information about the llvm-dev mailing list