[all-commits] [llvm/llvm-project] bb8230: [sanitizer] Internalize .preinit_array variables
Fangrui Song via All-commits
all-commits at lists.llvm.org
Fri Jul 12 11:16:09 PDT 2024
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: bb8230bb2bcc9b68fbe9b9c02ac1c85dee4c80a0
https://github.com/llvm/llvm-project/commit/bb8230bb2bcc9b68fbe9b9c02ac1c85dee4c80a0
Author: Fangrui Song <i at maskray.me>
Date: 2024-07-12 (Fri, 12 Jul 2024)
Changed paths:
M compiler-rt/lib/asan/asan_preinit.cpp
M compiler-rt/lib/hwasan/hwasan_preinit.cpp
M compiler-rt/lib/lsan/lsan_preinit.cpp
M compiler-rt/lib/memprof/memprof_preinit.cpp
M compiler-rt/lib/rtsan/rtsan_preinit.cpp
M compiler-rt/lib/tsan/rtl/tsan_preinit.cpp
M compiler-rt/lib/ubsan/ubsan_init_standalone_preinit.cpp
M compiler-rt/test/tsan/Linux/check_preinit.cpp
Log Message:
-----------
[sanitizer] Internalize .preinit_array variables
We can use an internal linkage variable to make it clear the variable is
not exported. The special section .preinit_array is a GC root.
Pull Request: https://github.com/llvm/llvm-project/pull/98584
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