Dong Chen
2012-Dec-05 14:56 UTC
[LLVMdev] how to get and modify a global variable inside a module
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.
Eduardo
2012-Dec-05 15:18 UTC
[LLVMdev] how to get and modify a global variable inside a module
> can you get the > main memory address of the Global Variable?That is the point, at the stage I am working, there is no main memory address. I am not executing the IR code. I am just transforming it for later execution (actually, later compilation to the real machine and then execution). Sorry. Eduardo
Dong Chen
2012-Dec-05 15:53 UTC
[LLVMdev] how to get and modify a global variable inside a module
well, that's good enough, i still learned something form you. thank you for your replies. -- View this message in context: http://llvm.1065342.n5.nabble.com/how-to-get-and-modify-a-global-variable-inside-a-module-tp52289p52303.html Sent from the LLVM - Dev mailing list archive at Nabble.com.
Reasonably Related Threads
- [LLVMdev] how to get and modify a global variable inside a module
- [LLVMdev] how to get and modify a global variable inside a module
- [LLVMdev] how to get and modify a global variable inside a module
- [LLVMdev] how to get and modify a global variable inside a module
- [LLVMdev] how to get and modify a global variable inside a module