[PATCH] Fix Itanium ABI for ARM
t.p.northover at gmail.com
Sat Nov 22 15:24:47 PST 2014
I see no evidence that this is an LLVM issue. Certainly all Itanium ELF ABIs require the guard variable to be in *some* comdat, and the ARM difference (section 3.2.6 of the C++ ABI) only applies to some fairly obscure linking situations[*] -- not during assembly.
Unfortunately I can't reproduce the issue with my version of as though (only 2.23) so I don't know what's going wrong there. Actually, I probably wouldn't anyway. If it's crashing GNU as, you need a GNU as developer to find out why.
Perhaps they'll come back with a real problem in what we emit, but I don't think it's this.
[*] Though we do seem to get it wrong for those situations: the guard variable apparently shouldn't be weak.
More information about the cfe-commits