diff options
author | Rainer Orth <ro@gcc.gnu.org> | 2024-11-04 09:33:55 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-11-04 09:33:55 +0100 |
commit | cec147ae5cb9debd74cc3dc2bca12e8cd8a30831 (patch) | |
tree | 1d0a92afaf9d1cfea7e3d6b0d985a5b45edbd0bb /clang/tools/include-mapping/cppreference_parser.py | |
parent | 263775c0fd721d09e6205cd77c7c0cf72003966c (diff) | |
download | llvm-cec147ae5cb9debd74cc3dc2bca12e8cd8a30831.zip llvm-cec147ae5cb9debd74cc3dc2bca12e8cd8a30831.tar.gz llvm-cec147ae5cb9debd74cc3dc2bca12e8cd8a30831.tar.bz2 |
[ASan][test] Enable ASan tests on SPARC (#107405)
With PR #107223 and PR #107403, ASan testing can be enabled on SPARC.
This patch does so, 32-bit only on both Solaris and Linux. There is no
64-bit support even in GCC.
Apart from the obvious CMake changes, this patch includes a couple of
testcase adjustments necessary for SPARC:
- In `asan_oob_test.cpp`, the `OOB_int` subtest needs to be disabled: it
performs unaligned accesses that cannot work on a strict-alignment
target like SPARC.
- `asan_test.cpp` needs to disable subtests that depend on support for
`__builtin_setjmp` and `__builtin_longjmp`.
- `zero_page_pc.cpp` reports `0x5` as the faulting address on access to
`0x4`. I don't really know why, but it's consistent between Solaris and
Linux.
Tested on `sparcv9-sun-solaris2.11` and `sparc64-unknown-linux-gnu`.
Diffstat (limited to 'clang/tools/include-mapping/cppreference_parser.py')
0 files changed, 0 insertions, 0 deletions