[PATCH] D50131: Fix sizeof(struct pthread) in glibc 2.14.

Kostya Serebryany via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Aug 1 11:30:15 PDT 2018


This revision was automatically updated to reflect the committed changes.
Closed by commit rCRT338606: Fix sizeof(struct pthread) in glibc 2.14. (authored by kcc, committed by ).
Herald added subscribers: Sanitizers, llvm-commits.

Repository:
  rCRT Compiler Runtime

https://reviews.llvm.org/D50131

Files:
  lib/sanitizer_common/sanitizer_linux_libcdep.cc


Index: lib/sanitizer_common/sanitizer_linux_libcdep.cc
===================================================================
--- lib/sanitizer_common/sanitizer_linux_libcdep.cc
+++ lib/sanitizer_common/sanitizer_linux_libcdep.cc
@@ -292,7 +292,7 @@
       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);


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D50131.158585.patch
Type: text/x-patch
Size: 549 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180801/3d791b2d/attachment.bin>


More information about the llvm-commits mailing list