[all-commits] [llvm/llvm-project] 0aafeb: Reland [TSan] Clarify and enforce shadow end align...
Kunqiu Chen via All-commits
all-commits at lists.llvm.org
Wed Jul 2 05:28:53 PDT 2025
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 0aafeb8ba1b1adcf04d5d82553228ca82845fcb0
https://github.com/llvm/llvm-project/commit/0aafeb8ba1b1adcf04d5d82553228ca82845fcb0
Author: Kunqiu Chen <camsyn at foxmail.com>
Date: 2025-07-02 (Wed, 02 Jul 2025)
Changed paths:
M compiler-rt/lib/tsan/rtl/tsan_interface_java.cpp
M compiler-rt/lib/tsan/rtl/tsan_rtl.cpp
M compiler-rt/lib/tsan/rtl/tsan_rtl_access.cpp
M compiler-rt/lib/tsan/rtl/tsan_sync.cpp
M compiler-rt/test/tsan/java_heap_init2.cpp
M compiler-rt/test/tsan/munmap_clear_shadow.c
Log Message:
-----------
Reland [TSan] Clarify and enforce shadow end alignment (#146676)
#144648 was reverted because it failed the new sanitizer test
`munmap_clear_shadow.c` in IOS's CI.
That issue could be fixed by disabling the test on some platforms, due
to the incompatibility of the test on these platforms.
In detail, we should disable the test in FreeBSD, Apple, NetBSD,
Solaris, and Haiku, where `ReleaseMemoryPagesToOS` executes
`madvise(beg, end, MADV_FREE)`, which tags the relevant pages as 'FREE'
and does not release them immediately.
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