llvm-project/compiler-rt/lib
Kamil Rytarowski 7cde46764a Recognize all NetBSD architectures in UBSan
Summary:
Use uniform accessors for Program Pointer,
Stack Pointer and Frame Pointer.

Remove CPU check in UBSan supported platforms
and rely only on the OS type.

This adds NetBSD support in GetPcSpBp() for:
 - ARM
 - ARM64
 - HPPA
 - PowerPC/PowerPC64
 - SPARC/SPARC64
 - MIPS
 - DEC Alpha AXP
 - DEC VAX
 - M68K and M68010
 - SH3
 - IA64
 - OR1K
 - RISCV

Sponsored by <The NetBSD Foundation>

Reviewers: joerg, vitalybuka, ro

Reviewed By: vitalybuka

Subscribers: aemerson, jyknight, sdardis, kubamracek, arichardson, llvm-commits, kristof.beyls, fedor.sergeev, #sanitizers

Tags: #sanitizers

Differential Revision: https://reviews.llvm.org/D43021

llvm-svn: 325431
2018-02-17 13:35:09 +00:00
..
BlocksRuntime [compiler-rt] Test commit: remove some trailing white spaces. 2017-08-25 19:36:30 +00:00
asan Add NetBSD syscall hooks skeleton in sanitizers 2018-02-15 02:43:02 +00:00
builtins [builtins] Workaround for infinite recursion in c?zdi2 2018-02-08 11:14:11 +00:00
cfi cfi: Add a blacklist entry for MSVC's std::get_temporary_buffer function. 2018-01-17 01:15:33 +00:00
dfsan Reland "Install resource files into a share/ directory" 2018-01-14 03:43:14 +00:00
esan Add NetBSD syscall hooks skeleton in sanitizers 2018-02-15 02:43:02 +00:00
fuzzer [libFuzzer] Set -experimental_len_control=1000 as default. 2018-02-13 20:52:15 +00:00
hwasan Add NetBSD syscall hooks skeleton in sanitizers 2018-02-15 02:43:02 +00:00
interception [Sanitizers] Basic sanitizer Solaris support (PR 33274) 2017-12-14 20:14:29 +00:00
lsan [lsan] Respect log_path option in standalone LSan 2018-01-22 09:30:27 +00:00
msan Prevent recursive MSan interceptors in strftime(3) like functions 2018-02-15 02:48:20 +00:00
profile [NFC] fix trivial typos in comments 2018-01-22 07:51:37 +00:00
safestack Enable SafeStack on NetBSD 2017-08-10 18:40:09 +00:00
sanitizer_common Recognize all NetBSD architectures in UBSan 2018-02-17 13:35:09 +00:00
scudo [scudo] Allow options to be defined at compile time 2018-02-08 16:29:48 +00:00
stats Support compiler-rt builtins 2017-07-28 03:39:38 +00:00
tsan [TSan] Fix static TLS boundaries calculations in __tls_get_addr interceptor. 2018-02-15 18:58:31 +00:00
ubsan Recognize all NetBSD architectures in UBSan 2018-02-17 13:35:09 +00:00
ubsan_minimal [ubsan-minimal] Add a path for non-POSIX (and bare-metal) use of the library 2017-12-15 17:30:50 +00:00
xray Add initial XRay support for NetBSD 2018-02-16 14:45:20 +00:00
CMakeLists.txt [cmake] Add a separate CMake var to control profile runtime 2017-10-02 05:03:55 +00:00