[LLVMdev] .thumb_set
Rafael Espíndola
rafael.espindola at gmail.com
Fri Jun 12 11:12:36 PDT 2015
> You will yeah. beta had its ‘Offset’ set to some value but then the .set tried to make it a variable using setVariableValue.
>
> Given that I put Offset and Value in the same union, I added an assert to ensure that we can’t change from Offset to Value.
>
> Do you think its possible for this change from Offset to Value to happen to a symbol? If so, and if Offset and Value are still mutually exclusive then we just need to support overriding the Offset with a Value.
I think so, that is what .thumb_set is doing, it is replacing a
regular symbol with a variable.
For what it is worth, just deleting the asserts gets all tests to pass :-)
Cheers,
Rafael
More information about the llvm-dev
mailing list