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

Dong Chen jameschennerd at gmail.com
Wed Dec 5 06:56:23 PST 2012


hi Eduardo,
i got what you did, but it seemed that you modified the Global Variable
list, deleted Global Variable and created new one and added it to the list.
I don't know whether i got it right and for more details, can you get the
main memory address of the Global Variable? or did the iterator provide
method to get this?

thank you very much 



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



More information about the llvm-dev mailing list