diff options
author | Renato Golin <renato.golin@linaro.org> | 2016-03-02 11:54:07 +0000 |
---|---|---|
committer | Renato Golin <renato.golin@linaro.org> | 2016-03-02 11:54:07 +0000 |
commit | 54d6eaa3630851b40fe93b5bef83667834403fe2 (patch) | |
tree | aa6b023b444b96632084beb722acdf29b29249a2 /compiler-rt/test/tsan/malloc_overflow.cc | |
parent | c02b72627a57f7de893ccf675d01e09a53a24b92 (diff) | |
download | bcm5719-llvm-54d6eaa3630851b40fe93b5bef83667834403fe2.tar.gz bcm5719-llvm-54d6eaa3630851b40fe93b5bef83667834403fe2.zip |
Revert "[RT] Make tsan tests more portable"
This reverts commit r262476, as it broken the AArch64 VMA42 buildbot.
llvm-svn: 262479
Diffstat (limited to 'compiler-rt/test/tsan/malloc_overflow.cc')
-rw-r--r-- | compiler-rt/test/tsan/malloc_overflow.cc | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/compiler-rt/test/tsan/malloc_overflow.cc b/compiler-rt/test/tsan/malloc_overflow.cc index 3db412978d0..b2f9b0f5779 100644 --- a/compiler-rt/test/tsan/malloc_overflow.cc +++ b/compiler-rt/test/tsan/malloc_overflow.cc @@ -6,17 +6,17 @@ int main() { void *p = malloc((size_t)-1); if (p != 0) - fprintf(stderr, "FAIL malloc(-1) = %p\n", p); + printf("FAIL malloc(-1) = %p\n", p); p = malloc((size_t)-1 / 2); if (p != 0) - fprintf(stderr, "FAIL malloc(-1/2) = %p\n", p); + printf("FAIL malloc(-1/2) = %p\n", p); p = calloc((size_t)-1, (size_t)-1); if (p != 0) - fprintf(stderr, "FAIL calloc(-1, -1) = %p\n", p); + printf("FAIL calloc(-1, -1) = %p\n", p); p = calloc((size_t)-1 / 2, (size_t)-1 / 2); if (p != 0) - fprintf(stderr, "FAIL calloc(-1/2, -1/2) = %p\n", p); - fprintf(stderr, "OK\n"); + printf("FAIL calloc(-1/2, -1/2) = %p\n", p); + printf("OK\n"); } // CHECK-NOT: FAIL |