diff options
author | Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> | 2023-01-17 10:56:20 +0100 |
---|---|---|
committer | Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> | 2023-01-17 10:56:20 +0100 |
commit | 85b45cccdf5f2442e791969abbffffbb2676591f (patch) | |
tree | 2b71fed79fe2569d568e27ecc64ce35a8d66abb6 /gcc | |
parent | f457a62e63a86d5e5342eda16538a26355199856 (diff) | |
download | gcc-85b45cccdf5f2442e791969abbffffbb2676591f.zip gcc-85b45cccdf5f2442e791969abbffffbb2676591f.tar.gz gcc-85b45cccdf5f2442e791969abbffffbb2676591f.tar.bz2 |
libsanitizer: Fix asan SEGVs with gld on Solaris
When using GNU ld on Solaris, a large number of asan tests SEGV, while
Solaris ld is fine. This happens inside the __tls_get_addr interceptor,
which is highly glibc-specific. Therefore this patch disables that
interceptor.
Posted upstream at https://reviews.llvm.org/D141385.
Tested on i386-pc-solaris2.11 and sparc-sun-solaris2.11.
2023-01-17 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
libsanitizer:
* sanitizer_common/sanitizer_platform_interceptors.h: Cherry-pick
llvm-project revision 951cf656b2faaf6fc0baa867293c0cb0ab131951.
Diffstat (limited to 'gcc')
0 files changed, 0 insertions, 0 deletions