[LLVMdev] how to get and modify a global variable inside a module

Dong Chen jameschennerd at gmail.com
Wed Dec 5 03:07:18 PST 2012


recently, i use LLVM API to write a program to read *.ll and excute it
automatically. 
Further more, i want to change some global variables inside a module. 
i tried some functions provided by Module.h and ExecutionEngine.h but none
were seemed to match my need. 
did someone have the experience or some advices? 
thank you ;) 



--
View this message in context: http://llvm.1065342.n5.nabble.com/how-to-get-and-modify-a-global-variable-inside-a-module-tp52289.html
Sent from the LLVM - Dev mailing list archive at Nabble.com.



More information about the llvm-dev mailing list