[all-commits] [llvm/llvm-project] ef1a2f: Unbreak macOS builds broken by #183310 (#191899)
Dan Liew via All-commits
all-commits at lists.llvm.org
Mon Apr 13 15:34:05 PDT 2026
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: ef1a2ff1837a4716ed933853528c47206b0260c8
https://github.com/llvm/llvm-project/commit/ef1a2ff1837a4716ed933853528c47206b0260c8
Author: Dan Liew <dan at su-root.co.uk>
Date: 2026-04-13 (Mon, 13 Apr 2026)
Changed paths:
M compiler-rt/lib/tysan/tysan.cpp
M compiler-rt/lib/tysan/tysan_interceptors.cpp
M compiler-rt/test/sanitizer_common/CMakeLists.txt
M compiler-rt/test/sanitizer_common/TestCases/Linux/aligned_alloc-alignment.cpp
M compiler-rt/test/sanitizer_common/TestCases/Linux/allocator_returns_null_std.cpp
M compiler-rt/test/sanitizer_common/TestCases/Linux/decorate_proc_maps.cpp
M compiler-rt/test/sanitizer_common/TestCases/Linux/deepbind.cpp
M compiler-rt/test/sanitizer_common/TestCases/Linux/free_aligned_sized.c
M compiler-rt/test/sanitizer_common/TestCases/Linux/free_sized.c
M compiler-rt/test/sanitizer_common/TestCases/Linux/malloc_usable_size.c
M compiler-rt/test/sanitizer_common/TestCases/Linux/mlock_test.cpp
M compiler-rt/test/sanitizer_common/TestCases/Linux/mprobe.cpp
M compiler-rt/test/sanitizer_common/TestCases/Linux/pvalloc-overflow.cpp
M compiler-rt/test/sanitizer_common/TestCases/Linux/release_to_os_test.cpp
M compiler-rt/test/sanitizer_common/TestCases/Linux/replace_dlopen_main_program_test.cpp
M compiler-rt/test/sanitizer_common/TestCases/Linux/resize_tls_dynamic.cpp
M compiler-rt/test/sanitizer_common/TestCases/Linux/soft_rss_limit_mb_test.cpp
M compiler-rt/test/sanitizer_common/TestCases/Linux/tls_get_addr.c
M compiler-rt/test/sanitizer_common/TestCases/Linux/tls_malloc_hook.c
M compiler-rt/test/sanitizer_common/TestCases/Linux/unexpected_format_specifier_test.cpp
M compiler-rt/test/sanitizer_common/TestCases/Posix/huge_malloc.c
M compiler-rt/test/sanitizer_common/TestCases/Posix/mmap_write_exec.cpp
M compiler-rt/test/sanitizer_common/TestCases/Posix/posix_memalign-alignment.cpp
M compiler-rt/test/sanitizer_common/TestCases/Posix/print-module-map.cpp
M compiler-rt/test/sanitizer_common/TestCases/Posix/sanitizer_set_death_callback_test.cpp
M compiler-rt/test/sanitizer_common/TestCases/Posix/weak_hook_test.cpp
M compiler-rt/test/sanitizer_common/TestCases/allocator_interface.cpp
M compiler-rt/test/sanitizer_common/TestCases/allocator_returns_null.cpp
M compiler-rt/test/sanitizer_common/TestCases/compress_stack_depot.cpp
M compiler-rt/test/sanitizer_common/TestCases/corelimit.cpp
M compiler-rt/test/sanitizer_common/TestCases/get_allocated_begin.cpp
M compiler-rt/test/sanitizer_common/TestCases/hard_rss_limit_mb_test.cpp
M compiler-rt/test/sanitizer_common/TestCases/malloc_hook.cpp
M compiler-rt/test/sanitizer_common/TestCases/malloc_hook_get_allocated_size_fast.cpp
M compiler-rt/test/sanitizer_common/TestCases/max_allocation_size.cpp
M compiler-rt/test/sanitizer_common/TestCases/reallocarray-overflow.cpp
M compiler-rt/test/sanitizer_common/TestCases/sanitizer_coverage_symbolize.cpp
M compiler-rt/test/sanitizer_common/TestCases/sanitizer_coverage_trace_pc_guard-dso.cpp
M compiler-rt/test/sanitizer_common/TestCases/sanitizer_coverage_trace_pc_guard.cpp
M compiler-rt/test/sanitizer_common/lit.common.cfg.py
Log Message:
-----------
Unbreak macOS builds broken by #183310 (#191899)
Revert "[TySan][Sanitizer Common] Make TySan compatible with sanitizer common… (#183310)" and
"[TySan][Sanitizer Common] Enable TySan testing in the sanitizer commo… (#191385)"
This reverts commit d043b9e38dd9494c3c56018b2cbaf44fe205b110 and dd0c5ebe69e580066de100c8c2ba5430a1aeee44.
d043b9e38dd9494c3c56018b2cbaf44fe205b110 broke the macOS bots
https://ci.swift.org/job/llvm.org/job/clang-stage1-RA-cmake-incremental/job/main/638/consoleFull#-1919712802f80d942a-f672-4696-b0d9-c66cae8aa9dd
with an error that looks like:
```
/Users/ec2-user/jenkins/workspace/llvm.org/as-lldb-cmake/llvm-project/compiler-rt/lib/tysan/../sanitizer_common/sanitizer_signal_interceptors.inc:136:3: error: expected expression
136 | INIT_SIGNAL;
| ^
/Users/ec2-user/jenkins/workspace/llvm.org/as-lldb-cmake/llvm-project/compiler-rt/lib/tysan/../sanitizer_common/sanitizer_signal_interceptors.inc:77:21: note: expanded from macro 'INIT_SIGNAL'
77 | #define INIT_SIGNAL COMMON_INTERCEPT_FUNCTION(signal)
| ^
/Users/ec2-user/jenkins/workspace/llvm.org/as-lldb-cmake/llvm-project/compiler-rt/lib/tysan/tysan_interceptors.cpp:51:41: note: expanded from macro 'COMMON_INTERCEPT_FUNCTION'
51 | #define COMMON_INTERCEPT_FUNCTION(name) TYSAN_INTERCEPT_FUNC(name)
| ^
/Users/ec2-user/jenkins/workspace/llvm.org/as-lldb-cmake/llvm-project/compiler-rt/lib/tysan/tysan_interceptors.cpp:27:34: note: expanded from macro 'TYSAN_INTERCEPT_FUNC'
27 | if (!INTERCEPT_FUNCTION(name))
```
unfortunately reverting just d043b9e38dd9494c3c56018b2cbaf44fe205b110 doesn't work cleanly because another commit (dd0c5ebe69e580066de100c8c2ba5430a1aeee44) enabled testing and the testing fails when we revert just d043b9e38dd9494c3c56018b2cbaf44fe205b110. So this commit reverts dd0c5ebe69e580066de100c8c2ba5430a1aeee44 too.
It would've been nice to have to separate revert commits but it seems GitHub won't let me do this and forces commits to be squashed.
rdar://174648152
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