[lld] r232341 - [ELF][ARM] Make gotSymbol a member.
Rafael EspĂndola
rafael.espindola at gmail.com
Tue Mar 17 09:03:17 PDT 2015
On 17 March 2015 at 11:54, Shankar Easwaran <shankare at codeaurora.org> wrote:
> Why would you do that, ARMExecutableWriter is the only thing that refers to
> it though. Making it a global symbol didnt make sense.
Because a "static const char*" goes into .rodata.
> Apart from this error, there was a problem with this static variable for
> self hosting.
Because of the constructor, which the "const char*" doesn't need.
Cheers,
Rafael
More information about the llvm-commits
mailing list