On Tue, Apr 05, 2016 at 02:05:12PM +0300, Maxim Ostapenko wrote: > this is adapted patch from > https://gcc.gnu.org/ml/gcc-patches/2016-01/msg00803.html that fixes exactly > the same issue (ASan fails on newer Darwin platforms) for GCC 4.9.4. > Regtested and bootstrapped on x86_64-unknown-linux-gnu by myself and on > x86_64-apple-darwin15.2.0 by Dominique, OK for gcc-4_9-branch?
Ok. > libsanitizer/ChangeLog: > > 2016-04-05 Maxim Ostapenko <m.ostape...@samsung.com> > > PR sanitizer/70474 > * asan/asan_mac.cc (GetMacosVersionInternal): Cherry pick > upstream r241487, 221379 and r224315. > (void MaybeReexec): Cherry pick upstream r241487. > * asan/asan_mac.h (enum MacosVersion): Cherry pick upstream r224315. Jakub