summaryrefslogtreecommitdiffstats
path: root/compiler-rt/lib/tsan/lit_tests/simple_stack.c
diff options
context:
space:
mode:
authorDmitry Vyukov <dvyukov@google.com>2012-12-17 16:28:15 +0000
committerDmitry Vyukov <dvyukov@google.com>2012-12-17 16:28:15 +0000
commit09b0dbfaf931453272630a909093e853b00d9f37 (patch)
tree1220be013e4e87b051764c103c436f449c7ac8d4 /compiler-rt/lib/tsan/lit_tests/simple_stack.c
parent459e35c26176ffd8a44f5b8b2cb466b4fccc9a1d (diff)
downloadbcm5719-llvm-09b0dbfaf931453272630a909093e853b00d9f37.tar.gz
bcm5719-llvm-09b0dbfaf931453272630a909093e853b00d9f37.zip
tsan: say what thread had created a thread in reports
llvm-svn: 170346
Diffstat (limited to 'compiler-rt/lib/tsan/lit_tests/simple_stack.c')
-rw-r--r--compiler-rt/lib/tsan/lit_tests/simple_stack.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/compiler-rt/lib/tsan/lit_tests/simple_stack.c b/compiler-rt/lib/tsan/lit_tests/simple_stack.c
index 6de20cb63a8..4539cb7c1f3 100644
--- a/compiler-rt/lib/tsan/lit_tests/simple_stack.c
+++ b/compiler-rt/lib/tsan/lit_tests/simple_stack.c
@@ -56,11 +56,11 @@ int main() {
// CHECK-NEXT: #0 foo2{{.*}} {{.*}}simple_stack.c:18{{(:26)?}} ({{.*}})
// CHECK-NEXT: #1 bar2{{.*}} {{.*}}simple_stack.c:23{{(:3)?}} ({{.*}})
// CHECK-NEXT: #2 Thread2{{.*}} {{.*}}simple_stack.c:33{{(:3)?}} ({{.*}})
-// CHECK: Thread T1 (tid={{.*}}, running) created at:
+// CHECK: Thread T1 (tid={{.*}}, running) created by main thread at:
// CHECK-NEXT: #0 pthread_create {{.*}} ({{.*}})
// CHECK-NEXT: #1 StartThread{{.*}} {{.*}}simple_stack.c:38{{(:3)?}} ({{.*}})
// CHECK-NEXT: #2 main{{.*}} {{.*}}simple_stack.c:43{{(:3)?}} ({{.*}})
-// CHECK: Thread T2 ({{.*}}) created at:
+// CHECK: Thread T2 ({{.*}}) created by main thread at:
// CHECK-NEXT: #0 pthread_create {{.*}} ({{.*}})
// CHECK-NEXT: #1 StartThread{{.*}} {{.*}}simple_stack.c:38{{(:3)?}} ({{.*}})
// CHECK-NEXT: #2 main{{.*}} {{.*}}simple_stack.c:44{{(:3)?}} ({{.*}})
OpenPOWER on IntegriCloud