aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorStefan Schulze Frielinghaus <stefansf@gcc.gnu.org>2025-01-06 19:17:09 +0100
committerStefan Schulze Frielinghaus <stefansf@gcc.gnu.org>2025-01-06 19:17:09 +0100
commit0bb38b2786a097f97664afbcf6577b77dd305d44 (patch)
tree8290757edb7e5e6fc510e3e5c28f783fe2e59ea3 /gcc
parented1493e12ed75e837e9b9aa794ed24daf397df7c (diff)
downloadgcc-0bb38b2786a097f97664afbcf6577b77dd305d44.zip
gcc-0bb38b2786a097f97664afbcf6577b77dd305d44.tar.gz
gcc-0bb38b2786a097f97664afbcf6577b77dd305d44.tar.bz2
Replace uptr by usize/SIZE_T in interfaces
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.
Diffstat (limited to 'gcc')
0 files changed, 0 insertions, 0 deletions