llvm-project/compiler-rt/test/sanitizer_common
Rainer Orth 55e472e9da [compiler-rt][asan][test] Skipt sanitizer_common tests on Sparc
When building on `sparc64-unknown-linux-gnu`, I found that a large number
of `SanitizerCommon-asan-sparc*-Linux` tests were `FAIL`ing, like

   SanitizerCommon-asan-sparc-Linux :: Linux/aligned_alloc-alignment.cpp
  [...]
   SanitizerCommon-asan-sparcv9-Linux :: Linux/aligned_alloc-alignment.cpp
  [...]

many of them due to

  fatal error: error in backend: Function "_Z14User_OnSIGSEGViP9siginfo_tPv": over-aligned dynamic alloca not supported.

which breaks ASan on Sparc.  Currently ASan is only built for the benefit
of `gcc` where it does work.  However, when enabling the compilation in
`compiler-rt` to make certain it continues to build, I missed
`compiler-rt/test/sanitizer_common` when disabling ASan testing on Sparc
(it's not yet enabled on Solaris).

This patch fixes the issue.

Tested on `sparcv9-sun-solaris2.11` with the `sanitizer_comon` testsuite enabled.

Differential Revision: https://reviews.llvm.org/D85732
2020-08-13 10:20:52 +02:00
..
TestCases Fix qsort() interceptor for FreeBSD 2020-08-06 09:15:56 +01:00
Unit [compiler-rt] Rename lit.*.cfg.* -> lit.*.cfg.py.* 2019-06-27 20:56:04 +00:00
android_commands Harmonize Python shebang 2020-07-16 21:53:45 +02:00
ios_commands Harmonize Python shebang 2020-07-16 21:53:45 +02:00
netbsd_commands [compiler-rt] [test] Disable MPROTECT on two builtin tests 2019-12-20 17:50:53 +01:00
CMakeLists.txt [compiler-rt][asan][test] Skipt sanitizer_common tests on Sparc 2020-08-13 10:20:52 +02:00
lit.common.cfg.py [TSan] Revert removal of ignore_interceptors_accesses flag 2020-06-08 12:35:43 -07:00
lit.site.cfg.py.in [compiler-rt] Rename lit.*.cfg.* -> lit.*.cfg.py.* 2019-06-27 20:56:04 +00:00
print_address.h [LSan] Enable for SystemZ 2020-06-16 13:45:29 +02:00
sanitizer_ucontext.h [TSan] Support fiber API on macOS 2019-04-20 00:18:44 +00:00