[sanitizer] Update descriptor size for glibc 2.13.
authorSergey Matveev <earthdok@google.com>
Fri, 23 Jan 2015 21:12:39 +0000 (21:12 +0000)
committerSergey Matveev <earthdok@google.com>
Fri, 23 Jan 2015 21:12:39 +0000 (21:12 +0000)
See https://code.google.com/p/address-sanitizer/issues/detail?id=361

It's still not clear whether the values are correct in all cases, but at least
this should unbreak our bots.

llvm-svn: 226938

compiler-rt/lib/sanitizer_common/sanitizer_linux_libcdep.cc

index 4e09081..095ec30 100644 (file)
@@ -208,6 +208,8 @@ uptr ThreadDescriptorSize() {
         val = FIRST_32_SECOND_64(1168, 1776);
       else if (minor <= 12)
         val = FIRST_32_SECOND_64(1168, 2288);
+      else if (minor == 13)
+        val = FIRST_32_SECOND_64(1168, 2304);
       else
         val = FIRST_32_SECOND_64(1216, 2304);
     }