[all-commits] [llvm/llvm-project] 7c6c2a: [libc] Prefix sanitizer macros with LIBC_ (#205002)
Nico Weber via All-commits
all-commits at lists.llvm.org
Wed Jun 24 12:28:32 PDT 2026
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 7c6c2af56f4a446c9e5221049eb63527e4ac0a97
https://github.com/llvm/llvm-project/commit/7c6c2af56f4a446c9e5221049eb63527e4ac0a97
Author: Nico Weber <thakis at chromium.org>
Date: 2026-06-24 (Wed, 24 Jun 2026)
Changed paths:
M libc/src/__support/FPUtil/x86_64/fenv_x87_utils.h
M libc/src/__support/macros/sanitizer.h
M libc/src/sys/epoll/linux/epoll_pwait.cpp
M libc/src/sys/epoll/linux/epoll_pwait2.cpp
M libc/src/sys/epoll/linux/epoll_wait.cpp
M libc/src/sys/socket/linux/recv.cpp
M libc/src/sys/socket/linux/recvfrom.cpp
M libc/src/sys/socket/linux/recvmsg.cpp
M libc/src/sys/socket/linux/socketpair.cpp
M libc/src/unistd/linux/pipe.cpp
M libc/src/unistd/linux/pipe2.cpp
M libc/src/unistd/linux/pread.cpp
M libc/src/unistd/linux/read.cpp
M libc/test/src/string/memory_utils/memory_check_utils.h
Log Message:
-----------
[libc] Prefix sanitizer macros with LIBC_ (#205002)
Since these macros leak into user code via libc/shared/math.h,
prefix them with LIBC_ to not cause collisions.
Change created with:
rg -l MSAN_UNPOISON libc | xargs sed -i '' \
-e 's/MSAN_UNPOISON/LIBC_MSAN_UNPOISON/g'
rg -l ASAN_POISON_MEMORY_REGION libc | xargs sed -i '' -e \
's/ASAN_POISON_MEMORY_REGION/LIBC_ASAN_POISON_MEMORY_REGION/g'
rg -l ASAN_POISON_MEMORY_REGION libc | xargs sed -i '' -e \
's/ASAN_POISON_MEMORY_REGION/LIBC_ASAN_POISON_MEMORY_REGION/g'
No behavior change.
To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications
More information about the All-commits
mailing list