Displaying 2 results from an estimated 2 matches for "test0a".
Did you mean:
test01
2016 Aug 24
2
Change GlobalValue Type/Initializer
Hi,
I am trying to update the initializer of a global value and I have encounter two issues:
The first one is that I can not change the type of the global value. Let say that I have the following variable: @.str = private unnamed_addr constant [6 x i8] c”Test0A\00", align 1
How can I change the ”Test0A\00” to ”OtherTest0A\00”. Is this possible? I know that you can change the initializer with setInitializer but the global value’s type will not be the same.
For now, the only way I found was to create a new global value and to change all theses uses....
2016 Aug 24
2
Change GlobalValue Type/Initializer
...t;> Hi,
>>
>> I am trying to update the initializer of a global value and I have encounter two issues:
>>
>> The first one is that I can not change the type of the global value. Let say that I have the following variable: @.str = private unnamed_addr constant [6 x i8] c”Test0A\00", align 1
>>
>> How can I change the ”Test0A\00” to ”OtherTest0A\00”. Is this possible? I know that you can change the initializer with setInitializer but the global value’s type will not be the same.
>> For now, the only way I found was to create a new global value and t...