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
hwasan_allocator.cpp
hwasan_allocator.h
hwasan_checks.h
hwasan_dynamic_shadow.cpp
hwasan_dynamic_shadow.h
hwasan_exceptions.cpp
hwasan_flags.h
hwasan_flags.inc
hwasan_fuchsia.cpp
hwasan_globals.cpp
hwasan_globals.h
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
hwasan_linux.cpp
hwasan_malloc_bisect.h
hwasan_mapping.h
hwasan_memintrinsics.cpp
hwasan_new_delete.cpp
hwasan_platform_interceptors.h
hwasan_poisoning.cpp
hwasan_poisoning.h
hwasan_preinit.cpp
hwasan_registers.h
hwasan_report.cpp
hwasan_report.h
hwasan_setjmp_aarch64.S
hwasan_setjmp_riscv64.S
hwasan_setjmp_x86_64.S
hwasan_tag_mismatch_aarch64.S
hwasan_tag_mismatch_riscv64.S
hwasan_thread_list.cpp
hwasan_thread_list.h
hwasan_thread.cpp
hwasan_thread.h
hwasan_type_test.cpp
hwasan.cpp
hwasan.h
libtool-version
Makefile.am
Makefile.in libsanitizer: Check assembler support for symbol assignment [PR112563] 2023-11-28 14:54:34 +01:00