Dmitry Vyukov
c871c03550
tsan: don't print external PCs in reports
...
They are meaningless.
llvm-svn: 240539
2015-06-24 13:04:12 +00:00
Dmitry Vyukov
da6d5b919d
tsan: add memory access functions that accept pc
...
This is required for Java support, as real PCs don't work for Java.
llvm-svn: 236484
2015-05-05 08:09:46 +00:00
Dmitry Vyukov
3ab6b2347e
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
2015-01-21 13:50:02 +00:00
Dmitry Vyukov
732b128129
tsan: add acquire/release functions to java interface
...
they are required to handle synchronization on volatile/final fields
llvm-svn: 224697
2014-12-22 09:44:56 +00:00
Dmitry Vyukov
fb251f51a9
tsan: add __tsan_java_finalize interface function
...
It is required to prevent false positives between object ctor and finalizer,
as otherwise they look completely unsynchronized.
llvm-svn: 211829
2014-06-27 00:47:38 +00:00
Alexey Samsonov
e6a6183e9b
Move TSan lit-tests under test/tsan
...
llvm-svn: 201414
2014-02-14 14:35:48 +00:00