[PATCH] D26462: Tread TSan LLVM flags to driver: unit tests.
Bill Seurer via llvm-commits
llvm-commits at lists.llvm.org
Mon Nov 14 13:25:56 PST 2016
seurer added a comment.
In the new sets of tests the output being looked for is wrong.
Actual output:
Thread T1 (tid=131029, running) created by main thread at:
#0 pthread_create /home/seurer/llvm/llvm-test2/projects/compiler-rt/lib/tsan/rtl/tsan_interceptors.cc:902 (simple_stack.test2+0x00001005a3f0)
#1 StartThread(unsigned long*, void* (*)(void*)) /home/seurer/llvm/llvm-test2/projects/compiler-rt/test/tsan/simple_stack.c:36 (simple_stack.test2+0x0000100e79c8)
What is being looked for:
// CHECK-FUNC-ENTRY-EXIT-OFF: Thread T1 (tid={{.*}}, running) created by main thread at:
// CHECK-FUNC-ENTRY-EXIT-OFF-NEXT: #0 pthread_create {{.*}} ({{.*}})
// CHECK-FUNC-ENTRY-EXIT-OFF-NEXT: #1 main{{.*}} {{.*}}simple_stack.c:42{{(:3)?}} ({{.*}})
Note the actual output has "StartThread" as the #1 function while "main" is being looked for.
This is true for the test for Thread T2 as well.
Repository:
rL LLVM
https://reviews.llvm.org/D26462
More information about the llvm-commits
mailing list