summaryrefslogtreecommitdiff
path: root/test/tsan/Linux
diff options
context:
space:
mode:
authorRenato Golin <renato.golin@linaro.org>2016-04-14 13:31:22 +0000
committerRenato Golin <renato.golin@linaro.org>2016-04-14 13:31:22 +0000
commit2d5eb7163c0c720f7f6b61cf422c23d92a53635c (patch)
treeddf6639a18546aafef37cedac7ead5e75ea116ed /test/tsan/Linux
parent0f9d2c5fef1ad3d92f6153570477ada540056b58 (diff)
downloadcompiler-rt-2d5eb7163c0c720f7f6b61cf422c23d92a53635c.tar.gz
Revert "Make tsan tests more portable (take 2)"
This reverts commit r266294, as it broke some buildbots again. :/ git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@266300 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/tsan/Linux')
-rw-r--r--test/tsan/Linux/user_malloc.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/tsan/Linux/user_malloc.cc b/test/tsan/Linux/user_malloc.cc
index 9c3ce681d..c671bfcdd 100644
--- a/test/tsan/Linux/user_malloc.cc
+++ b/test/tsan/Linux/user_malloc.cc
@@ -8,7 +8,7 @@ extern "C" void __interceptor_free(void *p);
extern "C" void *malloc(unsigned long size) {
static int first = 0;
if (__sync_lock_test_and_set(&first, 1) == 0)
- fprintf(stderr, "user malloc\n");
+ printf("user malloc\n");
return __interceptor_malloc(size);
}