diff options
author | Kamil Rytarowski <n54@gmx.com> | 2018-02-21 04:16:45 +0000 |
---|---|---|
committer | Kamil Rytarowski <n54@gmx.com> | 2018-02-21 04:16:45 +0000 |
commit | a28e4dd997c435774d343c575a00c215881060dc (patch) | |
tree | 0ad5a061ab4dad177434c72a938bb9914f93e30d /lib/sanitizer_common/sanitizer_tls_get_addr.cc | |
parent | 409d44eac7a558f5de389599503db213044819b7 (diff) | |
download | compiler-rt-a28e4dd997c435774d343c575a00c215881060dc.tar.gz |
Msan, fixing DTLS_on_tls_get_addr signature empty implementation
Summary: No supported oses normally compiled that code (or not for a long time) probably never caught it.
Patch by: David CARLIER
Reviewers: vitalybuka, krytarowski
Reviewed By: vitalybuka
Subscribers: kubamracek, llvm-commits, #sanitizers
Differential Revision: https://reviews.llvm.org/D43502
git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@325664 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/sanitizer_common/sanitizer_tls_get_addr.cc')
-rw-r--r-- | lib/sanitizer_common/sanitizer_tls_get_addr.cc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/sanitizer_common/sanitizer_tls_get_addr.cc b/lib/sanitizer_common/sanitizer_tls_get_addr.cc index 6fa0e9298..85dc806df 100644 --- a/lib/sanitizer_common/sanitizer_tls_get_addr.cc +++ b/lib/sanitizer_common/sanitizer_tls_get_addr.cc @@ -142,7 +142,8 @@ bool DTLSInDestruction(DTLS *dtls) { #else void DTLS_on_libc_memalign(void *ptr, uptr size) {} -DTLS::DTV *DTLS_on_tls_get_addr(void *arg, void *res) { return 0; } +DTLS::DTV *DTLS_on_tls_get_addr(void *arg, void *res, + unsigned long, unsigned long) { return 0; } DTLS *DTLS_Get() { return 0; } void DTLS_Destroy() {} bool DTLSInDestruction(DTLS *dtls) { |