[PATCH] D17190: [compiler-rt] Return correct size of struct pthread for glibc-2.12.2

Alexey Samsonov via llvm-commits llvm-commits at lists.llvm.org
Wed Feb 17 12:25:04 PST 2016


samsonov accepted this revision.
samsonov added a comment.
This revision is now accepted and ready to land.

LGTM


================
Comment at: lib/sanitizer_common/sanitizer_linux_libcdep.cc:246
@@ -241,1 +245,3 @@
+      // take patch = 0 as latest version (valid for RHEL 6)
+      else if ((minor == 12 && patch != 1) || minor == 13)
         val = FIRST_32_SECOND_64(1168, 2304);
----------------
Just `else if (minor <= 13)` ?


http://reviews.llvm.org/D17190





More information about the llvm-commits mailing list