On Mon, Jan 06, 2025 at 10:49:31AM +0100, Jakub Jelinek wrote:
> On Mon, Jan 06, 2025 at 09:55:16AM +0100, Stefan Schulze Frielinghaus wrote:
> > 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, nsan, and tsan parts).
> > 
> > PR sanitizer/117725
> > libsanitizer/ChangeLog:
> > 
> >     * asan/asan_interceptors.cpp: Cherry picked LLVM commit
> >     9a156f6b2b0c892d8713ba907f07f027b24953d8.
> >     * asan/asan_interceptors.h: Ditto.
> >     * asan/asan_interceptors_memintrinsics.h: Ditto.
> >     * asan/sanitizer_common_interceptors.inc: Ditto.
> >     * sanitizer_common/sanitizer_common_interceptors_memintrinsics.inc:
> >     Ditto.
> >     * sanitizer_common/sanitizer_platform_limits_posix.h:
> >     Ditto.
> 
> Why have you removed the tsan parts?
> compiler-rt/lib/tsan/rtl/tsan_interceptors_posix.cpp
> is in
> libsanitizer/tsan/tsan_interceptors_posix.cpp

Thanks for spotting this!  I've added this back and will send a v2 patch
promptly.  I've also moved/indented the line
PR sanitizer/117725
in all patches accordingly.

Thanks,
Stefan

Reply via email to