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 | 8b5d3ebcbecf75124dc5527f3dfb1df9e219d1fa (patch) | |
| tree | 98d384376cddfb30aa6c50e317febffdf4db7c44 /compiler-rt/lib/sanitizer_common/sanitizer_tls_get_addr.cc | |
| parent | 9defb7d6b14df6db702da51ed03a8586fe8c060e (diff) | |
| download | bcm5719-llvm-8b5d3ebcbecf75124dc5527f3dfb1df9e219d1fa.tar.gz bcm5719-llvm-8b5d3ebcbecf75124dc5527f3dfb1df9e219d1fa.zip | |
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
llvm-svn: 325664
Diffstat (limited to 'compiler-rt/lib/sanitizer_common/sanitizer_tls_get_addr.cc')
| -rw-r--r-- | compiler-rt/lib/sanitizer_common/sanitizer_tls_get_addr.cc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/compiler-rt/lib/sanitizer_common/sanitizer_tls_get_addr.cc b/compiler-rt/lib/sanitizer_common/sanitizer_tls_get_addr.cc index 6fa0e9298b3..85dc806df28 100644 --- a/compiler-rt/lib/sanitizer_common/sanitizer_tls_get_addr.cc +++ b/compiler-rt/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) { |

