[asan][test] Don't XFAIL Posix/unpoison-alternate-stack.cpp on Solaris
authorRainer Orth <ro@gcc.gnu.org>
Fri, 5 Mar 2021 08:43:47 +0000 (09:43 +0100)
committerRainer Orth <ro@gcc.gnu.org>
Fri, 5 Mar 2021 08:43:47 +0000 (09:43 +0100)
commit579fd0259788e8dcd4c2a26b5eefdd0d78cd4093
tree2cdda0142cef6ab0f1c9aeb8cb75c4445216e8ee
parent1d0dee51daaff2204ea9b9939717651f6556bcb5
[asan][test] Don't XFAIL Posix/unpoison-alternate-stack.cpp on Solaris

One ASan test currently `XPASS`es on Solaris:

  AddressSanitizer-i386-sunos :: TestCases/Posix/unpoison-alternate-stack.cpp

It was originally `XFAIL`ed in D88501 <https://reviews.llvm.org/D88501>
because `longjmp` from a signal handled is highly unportable, warned
against in XPG7, and was not supported by Solaris `libc` at the time.

However, since then support has been added for some cases including the
current one, so the `XFAIL` can go.

Tested on `amd64-pc-solaris2.11` and `x86_64-pc-linux-gnu`.

Differential Revision: https://reviews.llvm.org/D97933
compiler-rt/test/asan/TestCases/Posix/unpoison-alternate-stack.cpp