forked from OSchip/llvm-project
It appears that glibc 2.13 has the same thread descriptor size as 2.11,
bump up the inflection point to 2.14. If someone can tell me how to actually figure out value for this, that would be awesome. Anyways, this takes me to one ASan failure, one LSan failure, and three TSan failures for 'check-all' on Linux. llvm-svn: 188635
This commit is contained in:
parent
e6861c9ce5
commit
6b8d17bf35
|
@ -196,9 +196,9 @@ uptr GetTlsSize() {
|
|||
|
||||
#if defined(__x86_64__) || defined(__i386__)
|
||||
// sizeof(struct thread) from glibc.
|
||||
// There has been a report of this being different on glibc 2.11. We don't know
|
||||
// when this change happened, so 2.12 is a conservative estimate.
|
||||
#if __GLIBC_PREREQ(2, 12)
|
||||
// There has been a report of this being different on glibc 2.11 and 2.13. We
|
||||
// don't know when this change happened, so 2.14 is a conservative estimate.
|
||||
#if __GLIBC_PREREQ(2, 14)
|
||||
const uptr kThreadDescriptorSize = FIRST_32_SECOND_64(1216, 2304);
|
||||
#else
|
||||
const uptr kThreadDescriptorSize = FIRST_32_SECOND_64(1168, 2304);
|
||||
|
|
Loading…
Reference in New Issue