summaryrefslogtreecommitdiff
path: root/lib/sanitizer_common/tests
diff options
context:
space:
mode:
authorKostya Serebryany <kcc@google.com>2017-05-18 03:00:07 +0000
committerKostya Serebryany <kcc@google.com>2017-05-18 03:00:07 +0000
commit8fa13187fafaa413e9b2eeda84b66dfc4ac7275c (patch)
tree9ff94f65171a85598fab321d3f3dc39cffd5161d /lib/sanitizer_common/tests
parente1cd1705926eb39307a7239bf0531c55940a3639 (diff)
temporary disable stndup interceptor, due to r302781 being buggy
git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@303324 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/sanitizer_common/tests')
-rw-r--r--lib/sanitizer_common/tests/sanitizer_test_utils.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/sanitizer_common/tests/sanitizer_test_utils.h b/lib/sanitizer_common/tests/sanitizer_test_utils.h
index b7728d9ea..f42142aaa 100644
--- a/lib/sanitizer_common/tests/sanitizer_test_utils.h
+++ b/lib/sanitizer_common/tests/sanitizer_test_utils.h
@@ -125,7 +125,8 @@ static inline uint32_t my_rand() {
#endif
#if !defined(_MSC_VER)
-# define SANITIZER_TEST_HAS_STRNDUP 1
+// Test temporary disabled until r302781 is reverted or fixed.
+# define SANITIZER_TEST_HAS_STRNDUP 0
#else
# define SANITIZER_TEST_HAS_STRNDUP 0
#endif