llvm-project/compiler-rt/lib/asan/tests
Youling Tang 867ff7c994 [asan][test] Fix build errors in loongarch64
- Add get_bits_for_arch for loongarch64 detection, fix the following error,
```
$ make check-asan
-- sanitizer_common tests on "Linux" will run against "asan"
CMake Error at test/asan/CMakeLists.txt:22 (message):
  Unknown target architecture: loongarch64
Call Stack (most recent call first):
  test/asan/CMakeLists.txt:49 (get_bits_for_arch)
```

- Do not use __builtin_longjmp, fix the following error,
```
llvm-project/compiler-rt/lib/asan/tests/asan_test.cpp:635:3: error: __builtin_longjmp is not supported for the current target
  __builtin_longjmp((void**)buf, 1);
```

Differential Revision: https://reviews.llvm.org/D137012
2022-11-01 20:21:56 +08:00
..
CMakeLists.txt Revert "[compiler-rt][test] Heed COMPILER_RT_DEBUG when compiling unittests" 2022-10-05 09:59:25 -07:00
asan_benchmarks_test.cpp
asan_exceptions_test.cpp
asan_fake_stack_test.cpp
asan_globals_test.cpp
asan_interface_test.cpp [asan] Enable detect_stack_use_after_return=1 by default 2022-04-22 15:31:43 -07:00
asan_internal_interface_test.cpp [ASAN] Don't inline when -asan-max-inline-poisoning-size=0 2022-10-24 14:17:59 -07:00
asan_mac_test.cpp
asan_mac_test.h
asan_mac_test_helpers.mm
asan_mem_test.cpp [ASan] rename left/right to before/after. 2022-09-06 13:25:15 -07:00
asan_noinst_test.cpp [Sanitizers][Darwin] Replace SANITIZER_MAC with SANITIZER_APPLE in source files 2022-05-24 12:59:27 -07:00
asan_oob_test.cpp [ASan] rename left/right to before/after. 2022-09-06 13:25:15 -07:00
asan_racy_double_free_test.cpp
asan_str_test.cpp [ASan] rename left/right to before/after. 2022-09-06 13:25:15 -07:00
asan_test.cpp [asan][test] Fix build errors in loongarch64 2022-11-01 20:21:56 +08:00
asan_test.ignore [clang] accept -fsanitize-ignorelist= in addition to -fsanitize-blacklist= 2021-05-04 10:24:00 -04:00
asan_test_config.h [clang] accept -fsanitize-ignorelist= in addition to -fsanitize-blacklist= 2021-05-04 10:24:00 -04:00
asan_test_main.cpp [Sanitizer][Darwin] Cleanup MaybeReexec() function and usage 2022-07-08 14:31:42 -07:00
asan_test_utils.h