[all-commits] [llvm/llvm-project] 3776db: [sanitizer_common] Support Solaris < 11.4 in GetSt...
rorth via All-commits
all-commits at lists.llvm.org
Thu Jul 21 00:19:16 PDT 2022
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 3776db9a4fd2080d23d6a5f52e405eea44558761
https://github.com/llvm/llvm-project/commit/3776db9a4fd2080d23d6a5f52e405eea44558761
Author: Rainer Orth <ro at gcc.gnu.org>
Date: 2022-07-21 (Thu, 21 Jul 2022)
Changed paths:
M compiler-rt/lib/sanitizer_common/sanitizer_linux_libcdep.cpp
A compiler-rt/lib/sanitizer_common/sanitizer_solaris.h
Log Message:
-----------
[sanitizer_common] Support Solaris < 11.4 in GetStaticTlsBoundary
This patch, on top of D120048 <https://reviews.llvm.org/D120048>, supports
GetTls on Solaris 11.3 and Illumos that lack `dlpi_tls_modid`. It's the
same method originally used in D91605 <https://reviews.llvm.org/D91605>,
but integrated into `GetStaticTlsBoundary`.
Tested on `amd64-pc-solaris2.11`, `sparcv9-sun-solaris2.11`, and
`x86_64-pc-linux-gnu`.
Differential Revision: https://reviews.llvm.org/D120059
More information about the All-commits
mailing list