diff options
author | Kostya Serebryany <kcc@google.com> | 2017-02-10 22:11:07 +0000 |
---|---|---|
committer | Kostya Serebryany <kcc@google.com> | 2017-02-10 22:11:07 +0000 |
commit | d94ba361e33df0209a4d2a99520ff11c0a2c9439 (patch) | |
tree | 8af5b5456408460a0a52c5209776c87945ba7fa4 /llvm/lib/Bitcode/Writer/BitcodeWriter.cpp | |
parent | 62092aeb424d9bfbd71c5a05c736cb166fbebd6d (diff) | |
download | llvm-d94ba361e33df0209a4d2a99520ff11c0a2c9439.zip llvm-d94ba361e33df0209a4d2a99520ff11c0a2c9439.tar.gz llvm-d94ba361e33df0209a4d2a99520ff11c0a2c9439.tar.bz2 |
s390x __tls_get_addr_internal vs. __tls_get_offset
Summary:
Symbol __tls_get_addr_internal is a GLIBC_PRIVATE private symbol on s390{,x}, the glibc folks aren't very happy about asan using it.
Additionally, only recent glibc versions have it, older versions just have __tls_get_offset and nothing else.
The patch doesn't drop the __tls_get_addr_internal interception altogether, but changes it so that it calls real __tls_get_offset function instead (and much more importantly,
that __tls_get_offset interception calls the real __tls_get_offset function).
This way it should work also on glibc 2.18 and earlier. See http://gcc.gnu.org/PR79341 for further details.
Reviewers: kcc, koriakin
Reviewed By: kcc, koriakin
Subscribers: kubamracek, mehdi_amini
Tags: #sanitizers
Differential Revision: https://reviews.llvm.org/D29735
llvm-svn: 294790
Diffstat (limited to 'llvm/lib/Bitcode/Writer/BitcodeWriter.cpp')
0 files changed, 0 insertions, 0 deletions