[compiler-rt] r266300 - Revert "Make tsan tests more portable (take 2)"
Vedant Kumar via llvm-commits
llvm-commits at lists.llvm.org
Thu Apr 14 13:06:59 PDT 2016
Hi,
I don't know if this helps, but this is what we saw on our bot:
Script:
--
/Users/buildslave/jenkins/sharedspace/apple-clang-stage2-osceola at 2/clang.roots/BuildRecords/clang-9999.99_install/Root/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -fsanitize=thread -Wall -arch x86_64 -gline-tables-only /Users/buildslave/jenkins/sharedspace/apple-clang-stage2-osceola at 2/clang/src/projects/compiler-rt/test/tsan/interface_atomic_test.c -o /Users/buildslave/jenkins/sharedspace/apple-clang-stage2-osceola at 2/clang.roots/BuildRecords/clang-9999.99_install/Objects/obj-rt/test/tsan/X86_64Config/Output/interface_atomic_test.c.tmp && /Users/buildslave/jenkins/sharedspace/apple-clang-stage2-osceola at 2/clang.roots/BuildRecords/clang-9999.99_install/Objects/obj-rt/test/tsan/X86_64Config/Output/interface_atomic_test.c.tmp | FileCheck /Users/buildslave/jenkins/sharedspace/apple-clang-stage2-osceola at 2/clang/src/projects/compiler-rt/test/tsan/interface_atomic_test.c
--
Exit Code: 2
Command Output (stderr):
--
PASS
FileCheck error: '-' is empty.
--
Script:
--
/Users/buildslave/jenkins/sharedspace/apple-clang-stage2-osceola at 2/clang.roots/BuildRecords/clang-9999.99_install/Root/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang --driver-mode=g++ -fsanitize=thread -Wall -arch x86_64 -gline-tables-only -O1 /Users/buildslave/jenkins/sharedspace/apple-clang-stage2-osceola at 2/clang/src/projects/compiler-rt/test/tsan/race_on_speculative_load.cc -o /Users/buildslave/jenkins/sharedspace/apple-clang-stage2-osceola at 2/clang.roots/BuildRecords/clang-9999.99_install/Objects/obj-rt/test/tsan/X86_64Config/Output/race_on_speculative_load.cc.tmp && /Users/buildslave/jenkins/sharedspace/apple-clang-stage2-osceola at 2/clang.roots/BuildRecords/clang-9999.99_install/Objects/obj-rt/test/tsan/X86_64Config/Output/race_on_speculative_load.cc.tmp | FileCheck /Users/buildslave/jenkins/sharedspace/apple-clang-stage2-osceola at 2/clang/src/projects/compiler-rt/test/tsan/race_on_speculative_load.cc
--
Exit Code: 2
Command Output (stderr):
--
PASS
FileCheck error: '-' is empty.
--
The artifacts have disappeared, but I'll try to dig into this some more if it reproduces.
vedant
> On Apr 14, 2016, at 6:31 AM, Renato Golin via llvm-commits <llvm-commits at lists.llvm.org> wrote:
>
> Author: rengolin
> Date: Thu Apr 14 08:31:22 2016
> New Revision: 266300
>
> URL: http://llvm.org/viewvc/llvm-project?rev=266300&view=rev
> Log:
> Revert "Make tsan tests more portable (take 2)"
>
> This reverts commit r266294, as it broke some buildbots again. :/
>
> Modified:
> compiler-rt/trunk/test/tsan/Linux/user_malloc.cc
> compiler-rt/trunk/test/tsan/aligned_vs_unaligned_race.cc
> compiler-rt/trunk/test/tsan/benign_race.cc
> compiler-rt/trunk/test/tsan/blacklist.cc
> compiler-rt/trunk/test/tsan/blacklist2.cc
> compiler-rt/trunk/test/tsan/dl_iterate_phdr.cc
> compiler-rt/trunk/test/tsan/fd_close_norace.cc
> compiler-rt/trunk/test/tsan/fd_close_norace2.cc
> compiler-rt/trunk/test/tsan/fd_dup_norace.cc
> compiler-rt/trunk/test/tsan/fd_dup_norace2.cc
> compiler-rt/trunk/test/tsan/fd_dup_race.cc
> compiler-rt/trunk/test/tsan/fd_pipe_norace.cc
> compiler-rt/trunk/test/tsan/fd_socket_connect_norace.cc
> compiler-rt/trunk/test/tsan/fd_socket_norace.cc
> compiler-rt/trunk/test/tsan/fd_socketpair_norace.cc
> compiler-rt/trunk/test/tsan/ignore_race.cc
> compiler-rt/trunk/test/tsan/inlined_memcpy_race.cc
> compiler-rt/trunk/test/tsan/inlined_memcpy_race2.cc
> compiler-rt/trunk/test/tsan/interface_atomic_test.c
> compiler-rt/trunk/test/tsan/java_alloc.cc
> compiler-rt/trunk/test/tsan/java_heap_init.cc
> compiler-rt/trunk/test/tsan/java_lock_move.cc
> compiler-rt/trunk/test/tsan/java_lock_rec.cc
> compiler-rt/trunk/test/tsan/java_lock_rec_race.cc
> compiler-rt/trunk/test/tsan/java_move_overlap.cc
> compiler-rt/trunk/test/tsan/java_move_overlap_race.cc
> compiler-rt/trunk/test/tsan/java_rwlock.cc
> compiler-rt/trunk/test/tsan/longjmp.cc
> compiler-rt/trunk/test/tsan/longjmp2.cc
> compiler-rt/trunk/test/tsan/longjmp3.cc
> compiler-rt/trunk/test/tsan/longjmp4.cc
> compiler-rt/trunk/test/tsan/malloc_overflow.cc
> compiler-rt/trunk/test/tsan/race_on_speculative_load.cc
> compiler-rt/trunk/test/tsan/static_init1.cc
> compiler-rt/trunk/test/tsan/static_init2.cc
> compiler-rt/trunk/test/tsan/static_init4.cc
> compiler-rt/trunk/test/tsan/static_init5.cc
> compiler-rt/trunk/test/tsan/static_init6.cc
> compiler-rt/trunk/test/tsan/sunrpc.cc
> compiler-rt/trunk/test/tsan/suppressions_global.cc
> compiler-rt/trunk/test/tsan/suppressions_race.cc
> compiler-rt/trunk/test/tsan/suppressions_race2.cc
> compiler-rt/trunk/test/tsan/thread_detach.c
> compiler-rt/trunk/test/tsan/thread_detach2.c
> compiler-rt/trunk/test/tsan/thread_leak.c
> compiler-rt/trunk/test/tsan/thread_leak2.c
> compiler-rt/trunk/test/tsan/thread_leak4.c
> compiler-rt/trunk/test/tsan/tsan-vs-gvn.cc
> compiler-rt/trunk/test/tsan/unaligned_norace.cc
> compiler-rt/trunk/test/tsan/vfork.cc
> compiler-rt/trunk/test/tsan/virtual_inheritance_compile_bug.cc
>
> Modified: compiler-rt/trunk/test/tsan/Linux/user_malloc.cc
> URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/test/tsan/Linux/user_malloc.cc?rev=266300&r1=266299&r2=266300&view=diff
> ==============================================================================
> --- compiler-rt/trunk/test/tsan/Linux/user_malloc.cc (original)
> +++ compiler-rt/trunk/test/tsan/Linux/user_malloc.cc Thu Apr 14 08:31:22 2016
> @@ -8,7 +8,7 @@ extern "C" void __interceptor_free(void
> 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);
> }
>
>
> Modified: compiler-rt/trunk/test/tsan/aligned_vs_unaligned_race.cc
> URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/test/tsan/aligned_vs_unaligned_race.cc?rev=266300&r1=266299&r2=266300&view=diff
> ==============================================================================
> --- compiler-rt/trunk/test/tsan/aligned_vs_unaligned_race.cc (original)
> +++ compiler-rt/trunk/test/tsan/aligned_vs_unaligned_race.cc Thu Apr 14 08:31:22 2016
> @@ -28,7 +28,7 @@ int main() {
> pthread_create(&t[1], NULL, Thread2, NULL);
> pthread_join(t[0], NULL);
> pthread_join(t[1], NULL);
> - fprintf(stderr, "Pass\n");
> + printf("Pass\n");
> // CHECK: ThreadSanitizer: data race
> // CHECK: Pass
> return 0;
>
> Modified: compiler-rt/trunk/test/tsan/benign_race.cc
> URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/test/tsan/benign_race.cc?rev=266300&r1=266299&r2=266300&view=diff
> ==============================================================================
> --- compiler-rt/trunk/test/tsan/benign_race.cc (original)
> +++ compiler-rt/trunk/test/tsan/benign_race.cc Thu Apr 14 08:31:22 2016
> @@ -33,7 +33,7 @@ int main() {
> Global = 43;
> WTFGlobal = 143;
> pthread_join(t, 0);
> - fprintf(stderr, "OK\n");
> + printf("OK\n");
> }
>
> // CHECK-NOT: WARNING: ThreadSanitizer: data race
>
> Modified: compiler-rt/trunk/test/tsan/blacklist.cc
> URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/test/tsan/blacklist.cc?rev=266300&r1=266299&r2=266300&view=diff
> ==============================================================================
> --- compiler-rt/trunk/test/tsan/blacklist.cc (original)
> +++ compiler-rt/trunk/test/tsan/blacklist.cc Thu Apr 14 08:31:22 2016
> @@ -23,7 +23,7 @@ int main() {
> pthread_create(&t[1], NULL, Blacklisted_Thread2, NULL);
> pthread_join(t[0], NULL);
> pthread_join(t[1], NULL);
> - fprintf(stderr, "PASS\n");
> + printf("PASS\n");
> return 0;
> }
>
>
> Modified: compiler-rt/trunk/test/tsan/blacklist2.cc
> URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/test/tsan/blacklist2.cc?rev=266300&r1=266299&r2=266300&view=diff
> ==============================================================================
> --- compiler-rt/trunk/test/tsan/blacklist2.cc (original)
> +++ compiler-rt/trunk/test/tsan/blacklist2.cc Thu Apr 14 08:31:22 2016
> @@ -44,6 +44,6 @@ int main() {
> pthread_create(&t[1], NULL, Blacklisted_Thread2, NULL);
> pthread_join(t[0], NULL);
> pthread_join(t[1], NULL);
> - fprintf(stderr, "PASS\n");
> + printf("PASS\n");
> return 0;
> }
>
> Modified: compiler-rt/trunk/test/tsan/dl_iterate_phdr.cc
> URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/test/tsan/dl_iterate_phdr.cc?rev=266300&r1=266299&r2=266300&view=diff
> ==============================================================================
> --- compiler-rt/trunk/test/tsan/dl_iterate_phdr.cc (original)
> +++ compiler-rt/trunk/test/tsan/dl_iterate_phdr.cc Thu Apr 14 08:31:22 2016
> @@ -47,7 +47,7 @@ int main(int argc, char *argv[]) {
> dlclose(lib);
> }
> pthread_join(th, 0);
> - fprintf(stderr, "DONE\n");
> + printf("DONE\n");
> return 0;
> }
>
>
> Modified: compiler-rt/trunk/test/tsan/fd_close_norace.cc
> URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/test/tsan/fd_close_norace.cc?rev=266300&r1=266299&r2=266300&view=diff
> ==============================================================================
> --- compiler-rt/trunk/test/tsan/fd_close_norace.cc (original)
> +++ compiler-rt/trunk/test/tsan/fd_close_norace.cc Thu Apr 14 08:31:22 2016
> @@ -25,7 +25,7 @@ int main() {
> pthread_create(&t[1], NULL, Thread2, NULL);
> pthread_join(t[0], NULL);
> pthread_join(t[1], NULL);
> - fprintf(stderr, "OK\n");
> + printf("OK\n");
> }
>
> // CHECK-NOT: WARNING: ThreadSanitizer: data race
>
> Modified: compiler-rt/trunk/test/tsan/fd_close_norace2.cc
> URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/test/tsan/fd_close_norace2.cc?rev=266300&r1=266299&r2=266300&view=diff
> ==============================================================================
> --- compiler-rt/trunk/test/tsan/fd_close_norace2.cc (original)
> +++ compiler-rt/trunk/test/tsan/fd_close_norace2.cc Thu Apr 14 08:31:22 2016
> @@ -23,7 +23,7 @@ int main() {
> while (write(pipes[1], &t, 1) != 1) {
> }
> pthread_join(t, 0);
> - fprintf(stderr, "OK\n");
> + printf("OK\n");
> }
>
> // CHECK-NOT: WARNING: ThreadSanitizer: data race
>
> Modified: compiler-rt/trunk/test/tsan/fd_dup_norace.cc
> URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/test/tsan/fd_dup_norace.cc?rev=266300&r1=266299&r2=266300&view=diff
> ==============================================================================
> --- compiler-rt/trunk/test/tsan/fd_dup_norace.cc (original)
> +++ compiler-rt/trunk/test/tsan/fd_dup_norace.cc Thu Apr 14 08:31:22 2016
> @@ -28,7 +28,7 @@ int main() {
> pthread_create(&t[1], NULL, Thread2, NULL);
> pthread_join(t[0], NULL);
> pthread_join(t[1], NULL);
> - fprintf(stderr, "OK\n");
> + printf("OK\n");
> }
>
> // CHECK-NOT: WARNING: ThreadSanitizer: data race
>
> Modified: compiler-rt/trunk/test/tsan/fd_dup_norace2.cc
> URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/test/tsan/fd_dup_norace2.cc?rev=266300&r1=266299&r2=266300&view=diff
> ==============================================================================
> --- compiler-rt/trunk/test/tsan/fd_dup_norace2.cc (original)
> +++ compiler-rt/trunk/test/tsan/fd_dup_norace2.cc Thu Apr 14 08:31:22 2016
> @@ -53,7 +53,7 @@ int main() {
> exit(printf("close failed\n"));
> if (close(fd2) == -1)
> exit(printf("close failed\n"));
> - fprintf(stderr, "DONE\n");
> + printf("DONE\n");
> }
>
> // CHECK-NOT: WARNING: ThreadSanitizer: data race
>
> Modified: compiler-rt/trunk/test/tsan/fd_dup_race.cc
> URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/test/tsan/fd_dup_race.cc?rev=266300&r1=266299&r2=266300&view=diff
> ==============================================================================
> --- compiler-rt/trunk/test/tsan/fd_dup_race.cc (original)
> +++ compiler-rt/trunk/test/tsan/fd_dup_race.cc Thu Apr 14 08:31:22 2016
> @@ -27,7 +27,7 @@ int main() {
> exit(printf("dup2 failed\n"));
> barrier_wait(&barrier);
> pthread_join(th, 0);
> - fprintf(stderr, "DONE\n");
> + printf("DONE\n");
> }
>
> // CHECK: WARNING: ThreadSanitizer: data race
>
> Modified: compiler-rt/trunk/test/tsan/fd_pipe_norace.cc
> URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/test/tsan/fd_pipe_norace.cc?rev=266300&r1=266299&r2=266300&view=diff
> ==============================================================================
> --- compiler-rt/trunk/test/tsan/fd_pipe_norace.cc (original)
> +++ compiler-rt/trunk/test/tsan/fd_pipe_norace.cc Thu Apr 14 08:31:22 2016
> @@ -27,7 +27,7 @@ int main() {
> pthread_create(&t[1], NULL, Thread2, NULL);
> pthread_join(t[0], NULL);
> pthread_join(t[1], NULL);
> - fprintf(stderr, "OK\n");
> + printf("OK\n");
> }
>
> // CHECK-NOT: WARNING: ThreadSanitizer: data race
>
> Modified: compiler-rt/trunk/test/tsan/fd_socket_connect_norace.cc
> URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/test/tsan/fd_socket_connect_norace.cc?rev=266300&r1=266299&r2=266300&view=diff
> ==============================================================================
> --- compiler-rt/trunk/test/tsan/fd_socket_connect_norace.cc (original)
> +++ compiler-rt/trunk/test/tsan/fd_socket_connect_norace.cc Thu Apr 14 08:31:22 2016
> @@ -38,7 +38,7 @@ int main() {
> pthread_join(t, 0);
> close(c);
> close(s);
> - fprintf(stderr, "OK\n");
> + printf("OK\n");
> }
>
> // CHECK-NOT: WARNING: ThreadSanitizer: data race
>
> Modified: compiler-rt/trunk/test/tsan/fd_socket_norace.cc
> URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/test/tsan/fd_socket_norace.cc?rev=266300&r1=266299&r2=266300&view=diff
> ==============================================================================
> --- compiler-rt/trunk/test/tsan/fd_socket_norace.cc (original)
> +++ compiler-rt/trunk/test/tsan/fd_socket_norace.cc Thu Apr 14 08:31:22 2016
> @@ -45,7 +45,7 @@ int main() {
> close(c);
> close(s);
> pthread_join(t, 0);
> - fprintf(stderr, "OK\n");
> + printf("OK\n");
> }
>
> // CHECK-NOT: WARNING: ThreadSanitizer: data race
>
> Modified: compiler-rt/trunk/test/tsan/fd_socketpair_norace.cc
> URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/test/tsan/fd_socketpair_norace.cc?rev=266300&r1=266299&r2=266300&view=diff
> ==============================================================================
> --- compiler-rt/trunk/test/tsan/fd_socketpair_norace.cc (original)
> +++ compiler-rt/trunk/test/tsan/fd_socketpair_norace.cc Thu Apr 14 08:31:22 2016
> @@ -31,7 +31,7 @@ int main() {
> pthread_create(&t[1], NULL, Thread2, NULL);
> pthread_join(t[0], NULL);
> pthread_join(t[1], NULL);
> - fprintf(stderr, "OK\n");
> + printf("OK\n");
> }
>
> // CHECK-NOT: WARNING: ThreadSanitizer: data race
>
> Modified: compiler-rt/trunk/test/tsan/ignore_race.cc
> URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/test/tsan/ignore_race.cc?rev=266300&r1=266299&r2=266300&view=diff
> ==============================================================================
> --- compiler-rt/trunk/test/tsan/ignore_race.cc (original)
> +++ compiler-rt/trunk/test/tsan/ignore_race.cc Thu Apr 14 08:31:22 2016
> @@ -25,7 +25,7 @@ int main() {
> barrier_wait(&barrier);
> Global = 43;
> pthread_join(t, 0);
> - fprintf(stderr, "OK\n");
> + printf("OK\n");
> }
>
> // CHECK-NOT: WARNING: ThreadSanitizer: data race
>
> Modified: compiler-rt/trunk/test/tsan/inlined_memcpy_race.cc
> URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/test/tsan/inlined_memcpy_race.cc?rev=266300&r1=266299&r2=266300&view=diff
> ==============================================================================
> --- compiler-rt/trunk/test/tsan/inlined_memcpy_race.cc (original)
> +++ compiler-rt/trunk/test/tsan/inlined_memcpy_race.cc Thu Apr 14 08:31:22 2016
> @@ -24,7 +24,7 @@ int main() {
> pthread_create(&t[1], NULL, MemSetThread, x);
> pthread_join(t[0], NULL);
> pthread_join(t[1], NULL);
> - fprintf(stderr, "PASS\n");
> + printf("PASS\n");
> return 0;
> }
>
>
> Modified: compiler-rt/trunk/test/tsan/inlined_memcpy_race2.cc
> URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/test/tsan/inlined_memcpy_race2.cc?rev=266300&r1=266299&r2=266300&view=diff
> ==============================================================================
> --- compiler-rt/trunk/test/tsan/inlined_memcpy_race2.cc (original)
> +++ compiler-rt/trunk/test/tsan/inlined_memcpy_race2.cc Thu Apr 14 08:31:22 2016
> @@ -25,7 +25,7 @@ int main() {
> pthread_join(t[0], NULL);
> pthread_join(t[1], NULL);
>
> - fprintf(stderr, "PASS\n");
> + printf("PASS\n");
> return 0;
> }
>
>
> Modified: compiler-rt/trunk/test/tsan/interface_atomic_test.c
> URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/test/tsan/interface_atomic_test.c?rev=266300&r1=266299&r2=266300&view=diff
> ==============================================================================
> --- compiler-rt/trunk/test/tsan/interface_atomic_test.c (original)
> +++ compiler-rt/trunk/test/tsan/interface_atomic_test.c Thu Apr 14 08:31:22 2016
> @@ -9,7 +9,7 @@ int main() {
> int res = __tsan_atomic32_load(&a, __tsan_memory_order_acquire);
> if (res == 100) {
> // CHECK: PASS
> - fprintf(stderr, "PASS\n");
> + printf("PASS\n");
> return 0;
> }
> return 1;
>
> Modified: compiler-rt/trunk/test/tsan/java_alloc.cc
> URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/test/tsan/java_alloc.cc?rev=266300&r1=266299&r2=266300&view=diff
> ==============================================================================
> --- compiler-rt/trunk/test/tsan/java_alloc.cc (original)
> +++ compiler-rt/trunk/test/tsan/java_alloc.cc Thu Apr 14 08:31:22 2016
> @@ -26,10 +26,10 @@ int main() {
> stress(jheap);
> pthread_join(th, 0);
> if (__tsan_java_fini() != 0) {
> - fprintf(stderr, "FAILED\n");
> + printf("FAILED\n");
> return 1;
> }
> - fprintf(stderr, "DONE\n");
> + printf("DONE\n");
> return 0;
> }
>
>
> Modified: compiler-rt/trunk/test/tsan/java_heap_init.cc
> URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/test/tsan/java_heap_init.cc?rev=266300&r1=266299&r2=266300&view=diff
> ==============================================================================
> --- compiler-rt/trunk/test/tsan/java_heap_init.cc (original)
> +++ compiler-rt/trunk/test/tsan/java_heap_init.cc Thu Apr 14 08:31:22 2016
> @@ -20,7 +20,7 @@ int main() {
> return printf("second mmap failed with %d\n", errno);
> __tsan_java_init(jheap, kHeapSize);
> __tsan_java_move(jheap + 16, jheap, 16);
> - fprintf(stderr, "DONE\n");
> + printf("DONE\n");
> return __tsan_java_fini();
> }
>
>
> Modified: compiler-rt/trunk/test/tsan/java_lock_move.cc
> URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/test/tsan/java_lock_move.cc?rev=266300&r1=266299&r2=266300&view=diff
> ==============================================================================
> --- compiler-rt/trunk/test/tsan/java_lock_move.cc (original)
> +++ compiler-rt/trunk/test/tsan/java_lock_move.cc Thu Apr 14 08:31:22 2016
> @@ -35,7 +35,7 @@ int main() {
> barrier_wait(&barrier);
> pthread_join(th, 0);
> __tsan_java_free(varaddr2, kBlockSize);
> - fprintf(stderr, "DONE\n");
> + printf("DONE\n");
> return __tsan_java_fini();
> }
>
>
> Modified: compiler-rt/trunk/test/tsan/java_lock_rec.cc
> URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/test/tsan/java_lock_rec.cc?rev=266300&r1=266299&r2=266300&view=diff
> ==============================================================================
> --- compiler-rt/trunk/test/tsan/java_lock_rec.cc (original)
> +++ compiler-rt/trunk/test/tsan/java_lock_rec.cc Thu Apr 14 08:31:22 2016
> @@ -10,14 +10,14 @@ void *Thread(void *p) {
> *(int*)varaddr = 42;
> int rec = __tsan_java_mutex_unlock_rec(lockaddr);
> if (rec != 2) {
> - fprintf(stderr, "FAILED 0 rec=%d\n", rec);
> + printf("FAILED 0 rec=%d\n", rec);
> exit(1);
> }
> barrier_wait(&barrier);
> barrier_wait(&barrier);
> __tsan_java_mutex_lock_rec(lockaddr, rec);
> if (*(int*)varaddr != 43) {
> - fprintf(stderr, "FAILED 3 var=%d\n", *(int*)varaddr);
> + printf("FAILED 3 var=%d\n", *(int*)varaddr);
> exit(1);
> }
> __tsan_java_mutex_unlock(lockaddr);
> @@ -40,7 +40,7 @@ int main() {
> barrier_wait(&barrier);
> __tsan_java_mutex_lock(lockaddr);
> if (*(int*)varaddr != 42) {
> - fprintf(stderr, "FAILED 1 var=%d\n", *(int*)varaddr);
> + printf("FAILED 1 var=%d\n", *(int*)varaddr);
> exit(1);
> }
> *(int*)varaddr = 43;
> @@ -48,7 +48,7 @@ int main() {
> barrier_wait(&barrier);
> pthread_join(th, 0);
> __tsan_java_free(jheap, kBlockSize);
> - fprintf(stderr, "DONE\n");
> + printf("DONE\n");
> return __tsan_java_fini();
> }
>
>
> Modified: compiler-rt/trunk/test/tsan/java_lock_rec_race.cc
> URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/test/tsan/java_lock_rec_race.cc?rev=266300&r1=266299&r2=266300&view=diff
> ==============================================================================
> --- compiler-rt/trunk/test/tsan/java_lock_rec_race.cc (original)
> +++ compiler-rt/trunk/test/tsan/java_lock_rec_race.cc Thu Apr 14 08:31:22 2016
> @@ -10,7 +10,7 @@ void *Thread(void *p) {
> __tsan_java_mutex_lock(lockaddr);
> int rec = __tsan_java_mutex_unlock_rec(lockaddr);
> if (rec != 3) {
> - fprintf(stderr, "FAILED 0 rec=%d\n", rec);
> + printf("FAILED 0 rec=%d\n", rec);
> exit(1);
> }
> *(int*)varaddr = 42;
> @@ -42,7 +42,7 @@ int main() {
> barrier_wait(&barrier);
> pthread_join(th, 0);
> __tsan_java_free(jheap, kBlockSize);
> - fprintf(stderr, "DONE\n");
> + printf("DONE\n");
> return __tsan_java_fini();
> }
>
>
> Modified: compiler-rt/trunk/test/tsan/java_move_overlap.cc
> URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/test/tsan/java_move_overlap.cc?rev=266300&r1=266299&r2=266300&view=diff
> ==============================================================================
> --- compiler-rt/trunk/test/tsan/java_move_overlap.cc (original)
> +++ compiler-rt/trunk/test/tsan/java_move_overlap.cc Thu Apr 14 08:31:22 2016
> @@ -66,7 +66,7 @@ int main(int argc, char **argv) {
> barrier_wait(&barrier);
> pthread_join(th, 0);
> __tsan_java_free(varaddr1_new, kBlockSize);
> - fprintf(stderr, "DONE\n");
> + printf("DONE\n");
> return __tsan_java_fini();
> }
>
>
> Modified: compiler-rt/trunk/test/tsan/java_move_overlap_race.cc
> URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/test/tsan/java_move_overlap_race.cc?rev=266300&r1=266299&r2=266300&view=diff
> ==============================================================================
> --- compiler-rt/trunk/test/tsan/java_move_overlap_race.cc (original)
> +++ compiler-rt/trunk/test/tsan/java_move_overlap_race.cc Thu Apr 14 08:31:22 2016
> @@ -46,7 +46,7 @@ int main(int argc, char **argv) {
> barrier_wait(&barrier);
> pthread_join(th, 0);
> __tsan_java_free(varaddr1_new, kBlockSize);
> - fprintf(stderr, "DONE\n");
> + printf("DONE\n");
> return __tsan_java_fini();
> }
>
>
> Modified: compiler-rt/trunk/test/tsan/java_rwlock.cc
> URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/test/tsan/java_rwlock.cc?rev=266300&r1=266299&r2=266300&view=diff
> ==============================================================================
> --- compiler-rt/trunk/test/tsan/java_rwlock.cc (original)
> +++ compiler-rt/trunk/test/tsan/java_rwlock.cc Thu Apr 14 08:31:22 2016
> @@ -29,7 +29,7 @@ int main() {
> barrier_wait(&barrier);
> pthread_join(th, 0);
> __tsan_java_free(jheap, kBlockSize);
> - fprintf(stderr, "DONE\n");
> + printf("DONE\n");
> return __tsan_java_fini();
> }
>
>
> Modified: compiler-rt/trunk/test/tsan/longjmp.cc
> URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/test/tsan/longjmp.cc?rev=266300&r1=266299&r2=266300&view=diff
> ==============================================================================
> --- compiler-rt/trunk/test/tsan/longjmp.cc (original)
> +++ compiler-rt/trunk/test/tsan/longjmp.cc Thu Apr 14 08:31:22 2016
> @@ -14,11 +14,11 @@ int foo(jmp_buf env) {
> int main() {
> jmp_buf env;
> if (setjmp(env) == 42) {
> - fprintf(stderr, "JUMPED\n");
> + printf("JUMPED\n");
> return 0;
> }
> foo(env);
> - fprintf(stderr, "FAILED\n");
> + printf("FAILED\n");
> return 0;
> }
>
>
> Modified: compiler-rt/trunk/test/tsan/longjmp2.cc
> URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/test/tsan/longjmp2.cc?rev=266300&r1=266299&r2=266300&view=diff
> ==============================================================================
> --- compiler-rt/trunk/test/tsan/longjmp2.cc (original)
> +++ compiler-rt/trunk/test/tsan/longjmp2.cc Thu Apr 14 08:31:22 2016
> @@ -16,11 +16,11 @@ int main() {
> sigjmp_buf env;
> printf("env=%p\n", env);
> if (sigsetjmp(env, 1) == 42) {
> - fprintf(stderr, "JUMPED\n");
> + printf("JUMPED\n");
> return 0;
> }
> foo(env);
> - fprintf(stderr, "FAILED\n");
> + printf("FAILED\n");
> return 0;
> }
>
>
> Modified: compiler-rt/trunk/test/tsan/longjmp3.cc
> URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/test/tsan/longjmp3.cc?rev=266300&r1=266299&r2=266300&view=diff
> ==============================================================================
> --- compiler-rt/trunk/test/tsan/longjmp3.cc (original)
> +++ compiler-rt/trunk/test/tsan/longjmp3.cc Thu Apr 14 08:31:22 2016
> @@ -34,7 +34,7 @@ void mymain() {
> return;
> }
> foo(env);
> - fprintf(stderr, "FAILED\n");
> + printf("FAILED\n");
> }
>
> int main() {
>
> Modified: compiler-rt/trunk/test/tsan/longjmp4.cc
> URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/test/tsan/longjmp4.cc?rev=266300&r1=266299&r2=266300&view=diff
> ==============================================================================
> --- compiler-rt/trunk/test/tsan/longjmp4.cc (original)
> +++ compiler-rt/trunk/test/tsan/longjmp4.cc Thu Apr 14 08:31:22 2016
> @@ -37,7 +37,7 @@ void mymain() {
> return;
> }
> foo(env);
> - fprintf(stderr, "FAILED\n");
> + printf("FAILED\n");
> }
>
> int main() {
>
> Modified: compiler-rt/trunk/test/tsan/malloc_overflow.cc
> URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/test/tsan/malloc_overflow.cc?rev=266300&r1=266299&r2=266300&view=diff
> ==============================================================================
> --- compiler-rt/trunk/test/tsan/malloc_overflow.cc (original)
> +++ compiler-rt/trunk/test/tsan/malloc_overflow.cc Thu Apr 14 08:31:22 2016
> @@ -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
>
> Modified: compiler-rt/trunk/test/tsan/race_on_speculative_load.cc
> URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/test/tsan/race_on_speculative_load.cc?rev=266300&r1=266299&r2=266300&view=diff
> ==============================================================================
> --- compiler-rt/trunk/test/tsan/race_on_speculative_load.cc (original)
> +++ compiler-rt/trunk/test/tsan/race_on_speculative_load.cc Thu Apr 14 08:31:22 2016
> @@ -24,7 +24,7 @@ int main() {
> g = 1;
> barrier_wait(&barrier);
> pthread_join(t, 0);
> - fprintf(stderr, "PASS\n");
> + printf("PASS\n");
> // CHECK-NOT: ThreadSanitizer: data race
> // CHECK: PASS
> }
>
> Modified: compiler-rt/trunk/test/tsan/static_init1.cc
> URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/test/tsan/static_init1.cc?rev=266300&r1=266299&r2=266300&view=diff
> ==============================================================================
> --- compiler-rt/trunk/test/tsan/static_init1.cc (original)
> +++ compiler-rt/trunk/test/tsan/static_init1.cc Thu Apr 14 08:31:22 2016
> @@ -21,7 +21,7 @@ int main() {
> pthread_create(&t[1], 0, Thread, 0);
> pthread_join(t[0], 0);
> pthread_join(t[1], 0);
> - fprintf(stderr, "PASS\n");
> + printf("PASS\n");
> }
>
> // CHECK-NOT: WARNING: ThreadSanitizer: data race
>
> Modified: compiler-rt/trunk/test/tsan/static_init2.cc
> URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/test/tsan/static_init2.cc?rev=266300&r1=266299&r2=266300&view=diff
> ==============================================================================
> --- compiler-rt/trunk/test/tsan/static_init2.cc (original)
> +++ compiler-rt/trunk/test/tsan/static_init2.cc Thu Apr 14 08:31:22 2016
> @@ -27,7 +27,7 @@ int main() {
> pthread_create(&t[1], 0, Thread, 0);
> pthread_join(t[0], 0);
> pthread_join(t[1], 0);
> - fprintf(stderr, "PASS\n");
> + printf("PASS\n");
> }
>
> // CHECK-NOT: WARNING: ThreadSanitizer: data race
>
> Modified: compiler-rt/trunk/test/tsan/static_init4.cc
> URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/test/tsan/static_init4.cc?rev=266300&r1=266299&r2=266300&view=diff
> ==============================================================================
> --- compiler-rt/trunk/test/tsan/static_init4.cc (original)
> +++ compiler-rt/trunk/test/tsan/static_init4.cc Thu Apr 14 08:31:22 2016
> @@ -31,7 +31,7 @@ int main() {
> pthread_create(&t[1], 0, Thread1, 0);
> pthread_join(t[0], 0);
> pthread_join(t[1], 0);
> - fprintf(stderr, "PASS\n");
> + printf("PASS\n");
> }
>
> // CHECK-NOT: WARNING: ThreadSanitizer: data race
>
> Modified: compiler-rt/trunk/test/tsan/static_init5.cc
> URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/test/tsan/static_init5.cc?rev=266300&r1=266299&r2=266300&view=diff
> ==============================================================================
> --- compiler-rt/trunk/test/tsan/static_init5.cc (original)
> +++ compiler-rt/trunk/test/tsan/static_init5.cc Thu Apr 14 08:31:22 2016
> @@ -36,7 +36,7 @@ int main() {
> pthread_create(&t[1], 0, Thread1, 0);
> pthread_join(t[0], 0);
> pthread_join(t[1], 0);
> - fprintf(stderr, "PASS\n");
> + printf("PASS\n");
> }
>
> // CHECK-NOT: WARNING: ThreadSanitizer: data race
>
> Modified: compiler-rt/trunk/test/tsan/static_init6.cc
> URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/test/tsan/static_init6.cc?rev=266300&r1=266299&r2=266300&view=diff
> ==============================================================================
> --- compiler-rt/trunk/test/tsan/static_init6.cc (original)
> +++ compiler-rt/trunk/test/tsan/static_init6.cc Thu Apr 14 08:31:22 2016
> @@ -36,7 +36,7 @@ int main() {
> pthread_create(&t[1], 0, Thread1, 0);
> pthread_join(t[0], 0);
> pthread_join(t[1], 0);
> - fprintf(stderr, "PASS\n");
> + printf("PASS\n");
> }
>
> // CHECK-NOT: WARNING: ThreadSanitizer: data race
>
> Modified: compiler-rt/trunk/test/tsan/sunrpc.cc
> URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/test/tsan/sunrpc.cc?rev=266300&r1=266299&r2=266300&view=diff
> ==============================================================================
> --- compiler-rt/trunk/test/tsan/sunrpc.cc (original)
> +++ compiler-rt/trunk/test/tsan/sunrpc.cc Thu Apr 14 08:31:22 2016
> @@ -19,7 +19,7 @@ int main(int argc, char *argv[]) {
> pthread_create(&th[1], 0, thr, 0);
> pthread_join(th[0], 0);
> pthread_join(th[1], 0);
> - fprintf(stderr, "DONE\n");
> + printf("DONE\n");
> // CHECK: DONE
> return 0;
> }
>
> Modified: compiler-rt/trunk/test/tsan/suppressions_global.cc
> URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/test/tsan/suppressions_global.cc?rev=266300&r1=266299&r2=266300&view=diff
> ==============================================================================
> --- compiler-rt/trunk/test/tsan/suppressions_global.cc (original)
> +++ compiler-rt/trunk/test/tsan/suppressions_global.cc Thu Apr 14 08:31:22 2016
> @@ -20,7 +20,7 @@ int main() {
> pthread_create(&t[1], NULL, Thread2, NULL);
> pthread_join(t[0], NULL);
> pthread_join(t[1], NULL);
> - fprintf(stderr, "OK\n");
> + printf("OK\n");
> return 0;
> }
>
>
> Modified: compiler-rt/trunk/test/tsan/suppressions_race.cc
> URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/test/tsan/suppressions_race.cc?rev=266300&r1=266299&r2=266300&view=diff
> ==============================================================================
> --- compiler-rt/trunk/test/tsan/suppressions_race.cc (original)
> +++ compiler-rt/trunk/test/tsan/suppressions_race.cc Thu Apr 14 08:31:22 2016
> @@ -22,7 +22,7 @@ int main() {
> pthread_create(&t[1], NULL, Thread2, NULL);
> pthread_join(t[0], NULL);
> pthread_join(t[1], NULL);
> - fprintf(stderr, "OK\n");
> + printf("OK\n");
> return 0;
> }
>
>
> Modified: compiler-rt/trunk/test/tsan/suppressions_race2.cc
> URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/test/tsan/suppressions_race2.cc?rev=266300&r1=266299&r2=266300&view=diff
> ==============================================================================
> --- compiler-rt/trunk/test/tsan/suppressions_race2.cc (original)
> +++ compiler-rt/trunk/test/tsan/suppressions_race2.cc Thu Apr 14 08:31:22 2016
> @@ -22,7 +22,7 @@ int main() {
> pthread_create(&t[1], NULL, Thread2, NULL);
> pthread_join(t[0], NULL);
> pthread_join(t[1], NULL);
> - fprintf(stderr, "OK\n");
> + printf("OK\n");
> return 0;
> }
>
>
> Modified: compiler-rt/trunk/test/tsan/thread_detach.c
> URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/test/tsan/thread_detach.c?rev=266300&r1=266299&r2=266300&view=diff
> ==============================================================================
> --- compiler-rt/trunk/test/tsan/thread_detach.c (original)
> +++ compiler-rt/trunk/test/tsan/thread_detach.c Thu Apr 14 08:31:22 2016
> @@ -12,7 +12,7 @@ int main() {
> pthread_create(&t, 0, Thread, 0);
> barrier_wait(&barrier);
> pthread_detach(t);
> - fprintf(stderr, "PASS\n");
> + printf("PASS\n");
> return 0;
> }
>
>
> Modified: compiler-rt/trunk/test/tsan/thread_detach2.c
> URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/test/tsan/thread_detach2.c?rev=266300&r1=266299&r2=266300&view=diff
> ==============================================================================
> --- compiler-rt/trunk/test/tsan/thread_detach2.c (original)
> +++ compiler-rt/trunk/test/tsan/thread_detach2.c Thu Apr 14 08:31:22 2016
> @@ -20,7 +20,7 @@ int main() {
> pthread_create(&t, 0, Thread, 0);
> pthread_detach(t);
> barrier_wait(&barrier);
> - fprintf(stderr, "PASS\n");
> + printf("PASS\n");
> return 0;
> }
>
>
> Modified: compiler-rt/trunk/test/tsan/thread_leak.c
> URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/test/tsan/thread_leak.c?rev=266300&r1=266299&r2=266300&view=diff
> ==============================================================================
> --- compiler-rt/trunk/test/tsan/thread_leak.c (original)
> +++ compiler-rt/trunk/test/tsan/thread_leak.c Thu Apr 14 08:31:22 2016
> @@ -10,7 +10,7 @@ int main() {
> pthread_t t;
> pthread_create(&t, 0, Thread, 0);
> pthread_join(t, 0);
> - fprintf(stderr, "PASS\n");
> + printf("PASS\n");
> return 0;
> }
>
>
> Modified: compiler-rt/trunk/test/tsan/thread_leak2.c
> URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/test/tsan/thread_leak2.c?rev=266300&r1=266299&r2=266300&view=diff
> ==============================================================================
> --- compiler-rt/trunk/test/tsan/thread_leak2.c (original)
> +++ compiler-rt/trunk/test/tsan/thread_leak2.c Thu Apr 14 08:31:22 2016
> @@ -10,7 +10,7 @@ int main() {
> pthread_t t;
> pthread_create(&t, 0, Thread, 0);
> pthread_detach(t);
> - fprintf(stderr, "PASS\n");
> + printf("PASS\n");
> return 0;
> }
>
>
> Modified: compiler-rt/trunk/test/tsan/thread_leak4.c
> URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/test/tsan/thread_leak4.c?rev=266300&r1=266299&r2=266300&view=diff
> ==============================================================================
> --- compiler-rt/trunk/test/tsan/thread_leak4.c (original)
> +++ compiler-rt/trunk/test/tsan/thread_leak4.c Thu Apr 14 08:31:22 2016
> @@ -9,7 +9,7 @@ void *Thread(void *x) {
> int main() {
> pthread_t t;
> pthread_create(&t, 0, Thread, 0);
> - fprintf(stderr, "DONE\n");
> + printf("DONE\n");
> return 0;
> }
>
>
> Modified: compiler-rt/trunk/test/tsan/tsan-vs-gvn.cc
> URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/test/tsan/tsan-vs-gvn.cc?rev=266300&r1=266299&r2=266300&view=diff
> ==============================================================================
> --- compiler-rt/trunk/test/tsan/tsan-vs-gvn.cc (original)
> +++ compiler-rt/trunk/test/tsan/tsan-vs-gvn.cc Thu Apr 14 08:31:22 2016
> @@ -31,7 +31,7 @@ int main() {
> pthread_create(&t[1], NULL, Thread2, NULL);
> pthread_join(t[0], NULL);
> pthread_join(t[1], NULL);
> - fprintf(stderr, "PASS\n");
> + printf("PASS\n");
> }
>
> // CHECK-NOT: WARNING: ThreadSanitizer: data race
>
> Modified: compiler-rt/trunk/test/tsan/unaligned_norace.cc
> URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/test/tsan/unaligned_norace.cc?rev=266300&r1=266299&r2=266300&view=diff
> ==============================================================================
> --- compiler-rt/trunk/test/tsan/unaligned_norace.cc (original)
> +++ compiler-rt/trunk/test/tsan/unaligned_norace.cc Thu Apr 14 08:31:22 2016
> @@ -77,7 +77,7 @@ int main() {
> pthread_create(&th, 0, Thread, 0);
> Test(true);
> pthread_join(th, 0);
> - fprintf(stderr, "OK\n");
> + printf("OK\n");
> }
>
> // CHECK-NOT: WARNING: ThreadSanitizer:
>
> Modified: compiler-rt/trunk/test/tsan/vfork.cc
> URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/test/tsan/vfork.cc?rev=266300&r1=266299&r2=266300&view=diff
> ==============================================================================
> --- compiler-rt/trunk/test/tsan/vfork.cc (original)
> +++ compiler-rt/trunk/test/tsan/vfork.cc Thu Apr 14 08:31:22 2016
> @@ -26,7 +26,7 @@ int main() {
> pipe(fds);
> int pid = vfork();
> if (pid < 0) {
> - fprintf(stderr, "FAIL to vfork\n");
> + printf("FAIL to vfork\n");
> exit(1);
> }
> if (pid == 0) { // child
> @@ -43,7 +43,7 @@ int main() {
> pthread_create(&t[1], NULL, Thread2, NULL);
> pthread_join(t[0], NULL);
> pthread_join(t[1], NULL);
> - fprintf(stderr, "DONE\n");
> + printf("DONE\n");
> }
>
> // CHECK-NOT: WARNING: ThreadSanitizer: data race
>
> Modified: compiler-rt/trunk/test/tsan/virtual_inheritance_compile_bug.cc
> URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/test/tsan/virtual_inheritance_compile_bug.cc?rev=266300&r1=266299&r2=266300&view=diff
> ==============================================================================
> --- compiler-rt/trunk/test/tsan/virtual_inheritance_compile_bug.cc (original)
> +++ compiler-rt/trunk/test/tsan/virtual_inheritance_compile_bug.cc Thu Apr 14 08:31:22 2016
> @@ -10,6 +10,6 @@ struct DDD: CCC, BBB { DDD(); }; // NOL
> DDD::DDD() { }
> int main() {
> DDD d;
> - fprintf(stderr, "OK\n");
> + printf("OK\n");
> }
> // CHECK: OK
>
>
> _______________________________________________
> llvm-commits mailing list
> llvm-commits at lists.llvm.org
> http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-commits
More information about the llvm-commits
mailing list