[PATCH] [compiler-rt] Fix failing allow_user_segv.cc test on OS X 10.10

Kuba Brecka kuba.brecka at gmail.com
Tue Nov 4 11:41:35 PST 2014


The current ASan testcase Posix/allow_user_segv.cc expects SIGBUS to be triggered on 32-bit Darwin. This has apparently changed on 10.10 to trigger SIGSEGV instead, just as on 64-bit. Let's just install handlers for both SIGSEGV and SIGBUS instead of #ifdef'ing.

http://reviews.llvm.org/D6121

Files:
  projects/compiler-rt/test/asan/TestCases/Posix/allow_user_segv.cc
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D6121.15779.patch
Type: text/x-patch
Size: 2119 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20141104/17aee04e/attachment.bin>


More information about the llvm-commits mailing list