[PATCH] D43502: Msan, fixing DTLS_on_tls_get_addr signature empty implementation

David CARLIER via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Feb 20 01:24:42 PST 2018


devnexen created this revision.
devnexen added reviewers: vitalybuka, krytarowski.
Herald added subscribers: Sanitizers, llvm-commits, kubamracek.

No supported oses normally compiled that code (or not for a long time) probably never caught it.


Repository:
  rCRT Compiler Runtime

https://reviews.llvm.org/D43502

Files:
  lib/sanitizer_common/sanitizer_tls_get_addr.cc


Index: lib/sanitizer_common/sanitizer_tls_get_addr.cc
===================================================================
--- lib/sanitizer_common/sanitizer_tls_get_addr.cc
+++ lib/sanitizer_common/sanitizer_tls_get_addr.cc
@@ -142,7 +142,8 @@
 
 #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) {


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D43502.135020.patch
Type: text/x-patch
Size: 571 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180220/9eb3d188/attachment.bin>


More information about the llvm-commits mailing list