Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 4 Aug 2018 13:15:57 +0000 (UTC)
From:      Dimitry Andric <dim@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-vendor@freebsd.org
Subject:   svn commit: r337303 - vendor/compiler-rt/dist-release_70/lib/sanitizer_common
Message-ID:  <201808041315.w74DFvSv083489@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: dim
Date: Sat Aug  4 13:15:56 2018
New Revision: 337303
URL: https://svnweb.freebsd.org/changeset/base/337303

Log:
  Vendor import of compiler-rt release_70 branch r338892:
  https://llvm.org/svn/llvm-project/compiler-rt/branches/release_70@338892

Modified:
  vendor/compiler-rt/dist-release_70/lib/sanitizer_common/sanitizer_common_interceptors.inc
  vendor/compiler-rt/dist-release_70/lib/sanitizer_common/sanitizer_linux_libcdep.cc

Modified: vendor/compiler-rt/dist-release_70/lib/sanitizer_common/sanitizer_common_interceptors.inc
==============================================================================
--- vendor/compiler-rt/dist-release_70/lib/sanitizer_common/sanitizer_common_interceptors.inc	Sat Aug  4 13:15:52 2018	(r337302)
+++ vendor/compiler-rt/dist-release_70/lib/sanitizer_common/sanitizer_common_interceptors.inc	Sat Aug  4 13:15:56 2018	(r337303)
@@ -4460,6 +4460,7 @@ INTERCEPTOR(int, random_r, void *buf, u32 *result) {
 // its metadata. See
 // https://github.com/google/sanitizers/issues/321.
 #if SANITIZER_INTERCEPT_PTHREAD_ATTR_GET ||              \
+    SANITIZER_INTERCEPT_PTHREAD_ATTR_GET_SCHED ||        \
     SANITIZER_INTERCEPT_PTHREAD_ATTR_GETINHERITSSCHED || \
     SANITIZER_INTERCEPT_PTHREAD_MUTEXATTR_GET ||         \
     SANITIZER_INTERCEPT_PTHREAD_RWLOCKATTR_GET ||        \

Modified: vendor/compiler-rt/dist-release_70/lib/sanitizer_common/sanitizer_linux_libcdep.cc
==============================================================================
--- vendor/compiler-rt/dist-release_70/lib/sanitizer_common/sanitizer_linux_libcdep.cc	Sat Aug  4 13:15:52 2018	(r337302)
+++ vendor/compiler-rt/dist-release_70/lib/sanitizer_common/sanitizer_linux_libcdep.cc	Sat Aug  4 13:15:56 2018	(r337303)
@@ -292,7 +292,7 @@ uptr ThreadDescriptorSize() {
       val = FIRST_32_SECOND_64(1168, 1776);
     else if (minor == 11 || (minor == 12 && patch == 1))
       val = FIRST_32_SECOND_64(1168, 2288);
-    else if (minor <= 13)
+    else if (minor <= 14)
       val = FIRST_32_SECOND_64(1168, 2304);
     else
       val = FIRST_32_SECOND_64(1216, 2304);



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201808041315.w74DFvSv083489>