diff options
author | Jakub Jelinek <jakub@redhat.com> | 2022-02-15 11:18:56 +0100 |
---|---|---|
committer | Jakub Jelinek <jakub@redhat.com> | 2022-02-15 11:18:56 +0100 |
commit | c4c0aa60891daeb4ea5a7c265bd681038f6d8271 (patch) | |
tree | 9b1c1346d4e113f35e571099a3c797b7a062626d /gcc/gimple-loop-jam.cc | |
parent | 6a0d6e7ca9b9e338e82572db79c26168684a7441 (diff) | |
download | gcc-c4c0aa60891daeb4ea5a7c265bd681038f6d8271.zip gcc-c4c0aa60891daeb4ea5a7c265bd681038f6d8271.tar.gz gcc-c4c0aa60891daeb4ea5a7c265bd681038f6d8271.tar.bz2 |
sanitizer: Use glibc _thread_db_sizeof_pthread symbol if present
I've cherry-picked following fix from llvm-project. Recent glibcs
have _thread_db_sizeof_pthread symbol variable which contains the
size of struct pthread, so that sanitizers don't need to guess that
and risk that it will change again.
2022-02-15 Jakub Jelinek <jakub@redhat.com>
* sanitizer_common/sanitizer_linux_libcdep.cpp: Cherry-pick
llvm-project revision ef14b78d9a144ba81ba02083fe21eb286a88732b.
Diffstat (limited to 'gcc/gimple-loop-jam.cc')
0 files changed, 0 insertions, 0 deletions