[all-commits] [llvm/llvm-project] 2cec04: [nsan] Add nsan_preinit.cpp and make it static lib...
Fangrui Song via All-commits
all-commits at lists.llvm.org
Wed Jul 10 22:03:40 PDT 2024
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 2cec041a103137343e1019f6f883bdcdf60db708
https://github.com/llvm/llvm-project/commit/2cec041a103137343e1019f6f883bdcdf60db708
Author: Fangrui Song <i at maskray.me>
Date: 2024-07-10 (Wed, 10 Jul 2024)
Changed paths:
M compiler-rt/lib/nsan/CMakeLists.txt
M compiler-rt/lib/nsan/nsan.cpp
M compiler-rt/lib/nsan/nsan.h
A compiler-rt/lib/nsan/nsan_preinit.cpp
Log Message:
-----------
[nsan] Add nsan_preinit.cpp and make it static library only
#94322 defines .preinit_array to initialize nsan early.
DT_PREINIT_ARRAY can only be used with the main executable. GNU ld would
complain when a DSO has .preinit_array .
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