diff options
author | Dmitry Vyukov <dvyukov@google.com> | 2015-01-21 13:50:02 +0000 |
---|---|---|
committer | Dmitry Vyukov <dvyukov@google.com> | 2015-01-21 13:50:02 +0000 |
commit | 3ab6b2347e8d940b0687fb693c861c68d1e50998 (patch) | |
tree | f09bef7d67646f964ad364f8d43a027ce82bd419 /clang/lib/CodeGen/CodeGenModule.cpp | |
parent | 79ca0fd1a02132ef3d85aacbfc4ab5eab5911c08 (diff) | |
download | llvm-3ab6b2347e8d940b0687fb693c861c68d1e50998.zip llvm-3ab6b2347e8d940b0687fb693c861c68d1e50998.tar.gz llvm-3ab6b2347e8d940b0687fb693c861c68d1e50998.tar.bz2 |
tsan: remove sleeps from tests
Even sleep(1) lead to episodical flakes on some machines.
Use an invisible by tsan barrier to enforce required execution order instead.
This makes the tests deterministic and faster.
llvm-svn: 226659
Diffstat (limited to 'clang/lib/CodeGen/CodeGenModule.cpp')
0 files changed, 0 insertions, 0 deletions