aboutsummaryrefslogtreecommitdiff
path: root/llvm/unittests/Support/MathExtrasTest.cpp
diff options
context:
space:
mode:
authorKuba Brecka <kuba.brecka@gmail.com>2015-11-23 08:17:17 +0000
committerKuba Brecka <kuba.brecka@gmail.com>2015-11-23 08:17:17 +0000
commit2f8d345adc8b0011139ecc13fb96c5f992cb2593 (patch)
tree0ca2ea1d3fc56477c59769431501e3c383fadadb /llvm/unittests/Support/MathExtrasTest.cpp
parentde2d7593a2c3bbe89a11e9b94718f2cb5dfd1ecb (diff)
downloadllvm-2f8d345adc8b0011139ecc13fb96c5f992cb2593.zip
llvm-2f8d345adc8b0011139ecc13fb96c5f992cb2593.tar.gz
llvm-2f8d345adc8b0011139ecc13fb96c5f992cb2593.tar.bz2
[tsan] Modify the tls_race.cc and tls_race2.cc tests to pass on OS X
On OS X, __thread variables are lazily heap-allocated (with malloc). Therefore, they're recognized as heap blocks (which is what they are) and not as TLS variables in TSan reports. Figuring out if a heap block is a TLS or not is difficult (in malloc interceptor we could analyze the caller and then mark the object), so let's instead modify the tests so that we expect the report to say "Location is heap block" instead of "Location is TLS". Differential Revision: http://reviews.llvm.org/D14873 llvm-svn: 253858
Diffstat (limited to 'llvm/unittests/Support/MathExtrasTest.cpp')
0 files changed, 0 insertions, 0 deletions