llvm-project/compiler-rt/lib/hwasan
David Spickett 91167e22ec [hwasan] Remove lazy thread-initialisation
This was an experiment made possible by a non-standard feature of the
Android dynamic loader.

It required introducing a flag to tell the compiler which ABI was being
targeted.
This flag is no longer needed, since the generated code now works for
both ABI's.

We leave that flag untouched for backwards compatibility. This also
means that if we need to distinguish between targeted ABI's again
we can do that without disturbing any existing workflows.

We leave a comment in the source code and mention in the help text to
explain this for any confused person reading the code in the future.

Patch by Matthew Malcomson

Differential Revision: https://reviews.llvm.org/D69574
2019-11-04 10:58:46 +00:00
..
.clang-format [sanitizer] Remove unneeded blank lines 2018-05-09 00:44:26 +00:00
CMakeLists.txt Sort HWASAN_RTL_SOURCES alphabetically (NFC). 2019-10-31 10:56:50 -07:00
hwasan.cpp libhwasan initialisation include kernel syscall ABI relaxation 2019-10-17 20:32:54 +00:00
hwasan.h [compiler-rt] libhwasan interceptor ABI intercept longjmp/setjmp 2019-10-30 14:04:40 +00:00
hwasan.syms.extra
hwasan_allocator.cpp [hwasan] Remove system allocator fallback. 2019-10-18 22:36:25 +00:00
hwasan_allocator.h [hwasan] Remove system allocator fallback. 2019-10-18 22:36:25 +00:00
hwasan_blacklist.txt
hwasan_checks.h hwasan: Improve precision of checks using short granule tags. 2019-07-09 20:22:36 +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_exceptions.cpp hwasan: Add missing SANITIZER_INTERFACE_ATTRIBUTE on __hwasan_personality_wrapper. 2019-10-18 22:51:38 +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 [compiler-rt] Better lint output for .inc files 2019-09-12 01:35:09 +00:00
hwasan_interceptors.cpp [hwasan] Remove lazy thread-initialisation 2019-11-04 10:58:46 +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 [compiler-rt] Expose __hwasan_tag_mismatch_stub 2019-10-24 11:16:06 +01:00
hwasan_linux.cpp [hwasan] Remove lazy thread-initialisation 2019-11-04 10:58:46 +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 Remove NOLINTs from compiler-rt 2019-09-11 23:19:48 +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] Fix typo in the error type. 2019-10-28 13:25:45 -07:00
hwasan_report.h hwasan: Improve precision of checks using short granule tags. 2019-07-09 20:22:36 +00:00
hwasan_setjmp.S [compiler-rt] libhwasan interceptor ABI intercept longjmp/setjmp 2019-10-30 14:04:40 +00:00
hwasan_tag_mismatch_aarch64.S [compiler-rt] Expose __hwasan_tag_mismatch_stub 2019-10-24 11:16:06 +01:00
hwasan_thread.cpp hwasan: Use bits [3..11) of the ring buffer entry address as the base stack tag. 2019-06-17 23:39:51 +00:00
hwasan_thread.h [HWASAN] Remove unused code 2019-05-29 10:13:41 +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
hwasan_type_test.cpp [compiler-rt] libhwasan interceptor ABI intercept longjmp/setjmp 2019-10-30 14:04:40 +00:00