Displaying 2 results from an estimated 2 matches for "const_global_iterator".
2015 Feb 27
1
[LLVMdev] Replacing an initializer
Hi all,
suppose I would like to change the initial value of a global.
Is the supposed way to change the initializer via
const_global_iterator I
I->setInitializer(newOne) ?
afaik, newOne is a constant - right?
Is the original Initializer automatically purged or do I need to delete it?
thanks
Alex
2006 Mar 19
1
[LLVMdev] Idioms for retrieving global symbols and inheritance
Hello,
I have a couple of doubts, as listed below:
1. To list all the global variables in the module, I am iterating
using type_iterator and for each Type I get, I am using value_iterator
to iterate over Values . In the second iteration I am getting
unexpected results. For each type obtained from type_iterator->second,
value_iterator->first produces the same list as what