summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatthew Voss <matthew.voss@sony.com>2018-07-19 00:25:00 +0000
committerMatthew Voss <matthew.voss@sony.com>2018-07-19 00:25:00 +0000
commitac1f9263d13eb8e96681d13777a9638e4672feb3 (patch)
treefc73d755df6cb16741f9991ff7db8a890614d4bc
parent53c30ede0921f0bf6d3828fbcc6708144b70a3d2 (diff)
downloadbcm5719-llvm-ac1f9263d13eb8e96681d13777a9638e4672feb3.tar.gz
bcm5719-llvm-ac1f9263d13eb8e96681d13777a9638e4672feb3.zip
Remove scheduling dependency from XRay :: Posix/fork_basic_logging.cc
Summary: We've been seeing intermittent failures on our internal bots and we suspect this may be due to the OS scheduling the child process to run before the parent process. This version ensures that the parent and child can be run in either order. Reviewers: Maknee, dberris Reviewed By: dberris Subscribers: delcypher, #sanitizers, Maknee, llvm-commits Differential Revision: https://reviews.llvm.org/D49501 llvm-svn: 337432
-rw-r--r--compiler-rt/test/xray/TestCases/Posix/fork_basic_logging.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/compiler-rt/test/xray/TestCases/Posix/fork_basic_logging.cc b/compiler-rt/test/xray/TestCases/Posix/fork_basic_logging.cc
index 0f893872a4f..dcfbdf41332 100644
--- a/compiler-rt/test/xray/TestCases/Posix/fork_basic_logging.cc
+++ b/compiler-rt/test/xray/TestCases/Posix/fork_basic_logging.cc
@@ -70,12 +70,12 @@ int main()
if(fork())
{
print_parent_or_child();
- // CHECK: Parent with tid
+ // CHECK-DAG: Parent with tid
}
else
{
print_parent_or_child();
- // CHECK: Child with tid
+ // CHECK-DAG: Child with tid
}
return 0;
}
OpenPOWER on IntegriCloud