gcc/libsanitizer/hwasan
Tamar Christina a73421bcf3 libsanitizer: Sync fixes for asan interceptors from upstream
This cherry-picks and squashes the differences between commits

d3e5c20ab846303874a2a25e5877c72271fc798b..76e1e45922e6709392fb82aac44bebe3dbc2ea63
from LLVM upstream from compiler-rt/lib/hwasan/ to GCC on the changes relevant
for GCC.

This is required to fix the linked PR.

As mentioned in the PR the last sync brought in a bug from upstream[1] where
operations became non-recoverable and as such the tests in AArch64 started
failing.  This cherry picks the fix and there are minor updates needed to GCC
after this to fix the cases.

[1] https://github.com/llvm/llvm-project/pull/74000

PR sanitizer/112644
Cherry-pick llvm-project revision
672b71cc1003533460a82f06b7d24fbdc02ffd58,
5fcf3bbb1acfe226572474636714ede86fffcce8,
3bded112d02632209bd55fb28c6c5c234c23dec3 and
76e1e45922e6709392fb82aac44bebe3dbc2ea63.
2024-01-31 14:49:21 +00:00
..
hwasan_allocation_functions.cpp libsanitizer: merge from upstream (c425db2eb558c263) 2023-11-15 12:45:58 +01:00
hwasan_allocator.cpp libsanitizer: merge from upstream (c425db2eb558c263) 2023-11-15 12:45:58 +01:00
hwasan_allocator.h libsanitizer: merge from upstream (c425db2eb558c263) 2023-11-15 12:45:58 +01:00
hwasan_checks.h libsanitizer: merge from upstream (87e6e490e79384a5) 2023-04-30 09:38:14 +02:00
hwasan_dynamic_shadow.cpp
hwasan_dynamic_shadow.h
hwasan_exceptions.cpp libsanitizer: merge from upstream (c425db2eb558c263) 2023-11-15 12:45:58 +01:00
hwasan_flags.h
hwasan_flags.inc libsanitizer: merge from upstream (3185e47b5a8444e9fd). 2023-04-26 15:51:56 +02:00
hwasan_fuchsia.cpp libsanitizer: merge from upstream (3185e47b5a8444e9fd). 2023-04-26 15:51:56 +02:00
hwasan_globals.cpp libsanitizer: merge from upstream (c425db2eb558c263) 2023-11-15 12:45:58 +01:00
hwasan_globals.h libsanitizer: merge from upstream (c425db2eb558c263) 2023-11-15 12:45:58 +01:00
hwasan_interceptors_vfork.S
hwasan_interceptors.cpp libsanitizer: Sync fixes for asan interceptors from upstream 2024-01-31 14:49:21 +00:00
hwasan_interface_internal.h libsanitizer: merge from upstream (c425db2eb558c263) 2023-11-15 12:45:58 +01:00
hwasan_linux.cpp libsanitizer: merge from upstream (c425db2eb558c263) 2023-11-15 12:45:58 +01:00
hwasan_malloc_bisect.h
hwasan_mapping.h
hwasan_memintrinsics.cpp libsanitizer: merge from upstream (c425db2eb558c263) 2023-11-15 12:45:58 +01:00
hwasan_new_delete.cpp libsanitizer: merge from upstream (3185e47b5a8444e9fd). 2023-04-26 15:51:56 +02:00
hwasan_platform_interceptors.h libsanitizer: merge from upstream (c425db2eb558c263) 2023-11-15 12:45:58 +01:00
hwasan_poisoning.cpp libsanitizer: merge from upstream (3185e47b5a8444e9fd). 2023-04-26 15:51:56 +02:00
hwasan_poisoning.h
hwasan_preinit.cpp
hwasan_registers.h libsanitizer: merge from upstream (3185e47b5a8444e9fd). 2023-04-26 15:51:56 +02:00
hwasan_report.cpp libsanitizer: merge from upstream (c425db2eb558c263) 2023-11-15 12:45:58 +01:00
hwasan_report.h libsanitizer: merge from upstream (c425db2eb558c263) 2023-11-15 12:45:58 +01:00
hwasan_setjmp_aarch64.S libsanitizer: merge from upstream (c425db2eb558c263) 2023-11-15 12:45:58 +01:00
hwasan_setjmp_riscv64.S libsanitizer: merge from upstream (c425db2eb558c263) 2023-11-15 12:45:58 +01:00
hwasan_setjmp_x86_64.S libsanitizer: merge from upstream (c425db2eb558c263) 2023-11-15 12:45:58 +01:00
hwasan_tag_mismatch_aarch64.S libsanitizer: merge from upstream (c425db2eb558c263) 2023-11-15 12:45:58 +01:00
hwasan_tag_mismatch_riscv64.S
hwasan_thread_list.cpp libsanitizer: merge from upstream (c425db2eb558c263) 2023-11-15 12:45:58 +01:00
hwasan_thread_list.h libsanitizer: merge from upstream (c425db2eb558c263) 2023-11-15 12:45:58 +01:00
hwasan_thread.cpp libsanitizer: merge from upstream (c425db2eb558c263) 2023-11-15 12:45:58 +01:00
hwasan_thread.h libsanitizer: merge from upstream (3185e47b5a8444e9fd). 2023-04-26 15:51:56 +02:00
hwasan_type_test.cpp
hwasan.cpp libsanitizer: merge from upstream (c425db2eb558c263) 2023-11-15 12:45:58 +01:00
hwasan.h libsanitizer: merge from upstream (87e6e490e79384a5) 2023-04-30 09:38:14 +02:00
libtool-version
Makefile.am Config,Darwin: Allow for configuring Darwin to use embedded runpath. 2023-10-22 19:30:02 +01:00
Makefile.in libsanitizer: Check assembler support for symbol assignment [PR112563] 2023-11-28 14:54:34 +01:00