llvm-project/compiler-rt/lib/hwasan
Evgeniy Stepanov c4bfa0d662 [hwasan] Fix HWASAN_WITH_INTERCEPTORS=OFF build on not-android.
Summary:
I'm not aware of any platforms where this will work, but the code should at least compile.
HWASAN_WITH_INTERCEPTORS=OFF means there is magic in libc that would call __hwasan_thread_enter /
__hwasan_thread_exit as appropriate.

Reviewers: pcc, winksaville

Subscribers: srhines, kubamracek, #sanitizers, llvm-commits

Tags: #sanitizers, #llvm

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

llvm-svn: 359914
2019-05-03 18:20:16 +00:00
..
.clang-format [sanitizer] Remove unneeded blank lines 2018-05-09 00:44:26 +00:00
CMakeLists.txt [HWASan] Save + print registers when tag mismatch occurs in AArch64. 2019-03-08 21:22:35 +00:00
hwasan.cpp [NFC][Sanitizer] Make GetStackTrace a private method of BufferedStackTrace 2019-03-01 22:10:49 +00:00
hwasan.h [sanitizer] Implement reallocarray. 2019-05-01 17:33:01 +00:00
hwasan.syms.extra
hwasan_allocator.cpp [sanitizer] Implement reallocarray. 2019-05-01 17:33:01 +00:00
hwasan_allocator.h [sanitizer][NFC] Set LargeMmapAllocator type from PrimaryAllocator 2019-05-01 19:41:54 +00:00
hwasan_blacklist.txt
hwasan_checks.h [HWASAN] Improve tag mismatch diagnostics 2019-01-21 09:51:10 +00:00
hwasan_dynamic_shadow.cpp hwasan: Rename source files from cc to cpp 2019-02-27 15:44:03 +00:00
hwasan_dynamic_shadow.h hwasan: Add __hwasan_init_static() function. 2019-01-31 23:37:12 +00:00
hwasan_flags.h Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
hwasan_flags.inc Runtime flags for malloc bisection. 2019-02-15 18:38:14 +00:00
hwasan_interceptors.cpp [sanitizer] Implement reallocarray. 2019-05-01 17:33:01 +00:00
hwasan_interceptors_vfork.S [hwasan] Disable vfork code when building w/o interceptors. 2019-03-01 02:06:58 +00:00
hwasan_interface_internal.h [sanitizer] Implement reallocarray. 2019-05-01 17:33:01 +00:00
hwasan_linux.cpp [hwasan] Fix HWASAN_WITH_INTERCEPTORS=OFF build on not-android. 2019-05-03 18:20:16 +00:00
hwasan_malloc_bisect.h Runtime flags for malloc bisection. 2019-02-15 18:38:14 +00:00
hwasan_mapping.h Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
hwasan_memintrinsics.cpp hwasan: Rename source files from cc to cpp 2019-02-27 15:44:03 +00:00
hwasan_new_delete.cpp hwasan: Rename source files from cc to cpp 2019-02-27 15:44:03 +00:00
hwasan_poisoning.cpp hwasan: Rename source files from cc to cpp 2019-02-27 15:44:03 +00:00
hwasan_poisoning.h Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
hwasan_report.cpp [HWASan] Use less Printf() calls in register dump. 2019-03-14 17:05:53 +00:00
hwasan_report.h [HWASan] Save + print registers when tag mismatch occurs in AArch64. 2019-03-08 21:22:35 +00:00
hwasan_tag_mismatch_aarch64.S [HWASan] Fixed slow DWARF unwinding. 2019-04-16 22:16:01 +00:00
hwasan_thread.cpp hwasan: Rename source files from cc to cpp 2019-02-27 15:44:03 +00:00
hwasan_thread.h [hwasan, asan] Intercept vfork. 2019-02-27 21:11:50 +00:00
hwasan_thread_list.cpp hwasan: Rename source files from cc to cpp 2019-02-27 15:44:03 +00:00
hwasan_thread_list.h [hwasan] Madvise away thread aux data 2019-01-25 02:05:48 +00:00