When a global may be preempted it needs to be accessed directly, instead of indirectly through a MergedGlobals symbol, for the preemption to work.
This fixes PR33136.
Differential D33727
[GlobalMerge] Don't merge globals that may be preempted john.brawn on May 31 2017, 9:25 AM. Authored by
Details When a global may be preempted it needs to be accessed directly, instead of indirectly through a MergedGlobals symbol, for the preemption to work. This fixes PR33136.
Diff Detail
Event TimelineComment Actions Change looks sensible to me. I'll rebuild and run the libc++ tests on ARM again and report back. Comment Actions A Release Build of clang with that change has passed libc++ and libc++abi tests. I think that this is good to go, although it will be worth waiting to see if there are any objections from a later timezone first. |