summaryrefslogtreecommitdiff
path: root/test/msan/fork.cc
AgeCommit message (Collapse)Author
2016-12-06Replace "|&" with "2>&1 |" to support bash pre-4Evgeniy Stepanov
Summary: Old bash release (3.2) on SLES11 chokes on new redirection shortcut. Patch by Brian Cain. Reviewers: eugenis Subscribers: llvm-commits, kubabrecka Differential Revision: https://reviews.llvm.org/D27443 git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@288854 91177308-0d34-0410-b5e6-96231b3b80d8
2016-09-23[msan] Disable flaky fork.cc on PPC64.Evgeniy Stepanov
This test is very flaky on PPC64 (both BE and LE), but not on other platforms. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@282315 91177308-0d34-0410-b5e6-96231b3b80d8
2015-03-02[MSan] Remove explicit -m64 from RUN lines.Alexey Samsonov
Target-specific flags should usually be configured by CMake/lit. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@230999 91177308-0d34-0410-b5e6-96231b3b80d8
2014-09-16[asan] De-flake one test.Evgeniy Stepanov
This change replaces an in-test timeout with an unconditional blocking wait. It speeds up normal execution significantly at the cost of hanging up indefinitely in case of a failure. This is a very specific regression test and we don't expect any failures in the future. Another approach ould be increasing the timeout to ~8 seconds, which seems too much for a lit test. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@217870 91177308-0d34-0410-b5e6-96231b3b80d8
2014-09-04[msan] Fix fork test on centos-6.5.Evgeniy Stepanov
Missing <atomic> header. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@217142 91177308-0d34-0410-b5e6-96231b3b80d8
2014-09-04[msan] Make origin tracking fork-safe.Evgeniy Stepanov
Chained origins make plain memory stores async-signal-unsafe. We already disable it inside signal handlers. This change grabs all origin-related locks before fork() and releases them after fork() to avoid a deadlock in the child process. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@217140 91177308-0d34-0410-b5e6-96231b3b80d8