mirror of git://gcc.gnu.org/git/gcc.git
For some targets uptr is mapped to unsigned int and size_t to unsigned long and sizeof(int)==sizeof(long) holds. Still, these are distinct types and type checking may fail. Therefore, replace uptr by usize/SIZE_T wherever a size_t is expected. Part of #116957 Cherry picked from LLVM commit 9a156f6b2b0c892d8713ba907f07f027b24953d8 (removed memprof, msan, and nsan parts). libsanitizer/ChangeLog: PR sanitizer/117725 * asan/asan_interceptors.cpp: Cherry picked LLVM commit 9a156f6b2b0c892d8713ba907f07f027b24953d8. * asan/asan_interceptors.h: Ditto. * asan/asan_interceptors_memintrinsics.h: Ditto. * sanitizer_common/sanitizer_common_interceptors.inc: Ditto. * sanitizer_common/sanitizer_common_interceptors_memintrinsics.inc: Ditto. * sanitizer_common/sanitizer_platform_limits_posix.h: Ditto. * tsan/tsan_interceptors_posix.cpp: Ditto. |
||
|---|---|---|
| .. | ||
| Makefile.am | ||
| Makefile.in | ||
| libtool-version | ||
| tsan_debugging.cpp | ||
| tsan_defs.h | ||
| tsan_dense_alloc.h | ||
| tsan_dispatch_defs.h | ||
| tsan_external.cpp | ||
| tsan_fd.cpp | ||
| tsan_fd.h | ||
| tsan_flags.cpp | ||
| tsan_flags.h | ||
| tsan_flags.inc | ||
| tsan_ignoreset.cpp | ||
| tsan_ignoreset.h | ||
| tsan_ilist.h | ||
| tsan_interceptors.h | ||
| tsan_interceptors_libdispatch.cpp | ||
| tsan_interceptors_mac.cpp | ||
| tsan_interceptors_mach_vm.cpp | ||
| tsan_interceptors_memintrinsics.cpp | ||
| tsan_interceptors_posix.cpp | ||
| tsan_interface.cpp | ||
| tsan_interface.h | ||
| tsan_interface.inc | ||
| tsan_interface_ann.cpp | ||
| tsan_interface_ann.h | ||
| tsan_interface_atomic.cpp | ||
| tsan_interface_java.cpp | ||
| tsan_interface_java.h | ||
| tsan_malloc_mac.cpp | ||
| tsan_md5.cpp | ||
| tsan_mman.cpp | ||
| tsan_mman.h | ||
| tsan_mutexset.cpp | ||
| tsan_mutexset.h | ||
| tsan_new_delete.cpp | ||
| tsan_platform.h | ||
| tsan_platform_linux.cpp | ||
| tsan_platform_mac.cpp | ||
| tsan_platform_posix.cpp | ||
| tsan_platform_windows.cpp | ||
| tsan_ppc_regs.h | ||
| tsan_preinit.cpp | ||
| tsan_report.cpp | ||
| tsan_report.h | ||
| tsan_rtl.cpp | ||
| tsan_rtl.h | ||
| tsan_rtl_aarch64.S | ||
| tsan_rtl_access.cpp | ||
| tsan_rtl_amd64.S | ||
| tsan_rtl_loongarch64.S | ||
| tsan_rtl_mips64.S | ||
| tsan_rtl_mutex.cpp | ||
| tsan_rtl_ppc64.S | ||
| tsan_rtl_proc.cpp | ||
| tsan_rtl_report.cpp | ||
| tsan_rtl_riscv64.S | ||
| tsan_rtl_s390x.S | ||
| tsan_rtl_thread.cpp | ||
| tsan_shadow.h | ||
| tsan_spinlock_defs_mac.h | ||
| tsan_stack_trace.cpp | ||
| tsan_stack_trace.h | ||
| tsan_suppressions.cpp | ||
| tsan_suppressions.h | ||
| tsan_symbolize.cpp | ||
| tsan_symbolize.h | ||
| tsan_sync.cpp | ||
| tsan_sync.h | ||
| tsan_trace.h | ||
| tsan_vector_clock.cpp | ||
| tsan_vector_clock.h | ||