Vitaly Buka
132639120a
Init tsan with .preinit_array section
...
Summary: Some libraries, like OpenSSL, runs code from .init section.
Reviewers: kcc, eugenis
Subscribers: kubabrecka, llvm-commits
Differential Revision: http://reviews.llvm.org/D20646
llvm-svn: 270873
2016-05-26 17:05:36 +00:00
Renato Golin
1f42286364
[TSAN] Make tsan tests more portable (take 3)
...
Some tests didn't merge stderr with stdout.
Patch by Maxim Kuvyrkov.
llvm-svn: 266426
2016-04-15 12:34:00 +00:00
Renato Golin
37e64f352c
Revert "Make tsan tests more portable (take 2)"
...
This reverts commit r266294, as it broke some buildbots again. :/
llvm-svn: 266300
2016-04-14 13:31:22 +00:00
Renato Golin
17b8b06252
Make tsan tests more portable (take 2)
...
Using stderr more uniformily, avoiding potential races when scanning stdout
and stderr output.
Patch by Maxim Kuvyrkov.
llvm-svn: 266294
2016-04-14 12:10:21 +00:00
Renato Golin
54d6eaa363
Revert "[RT] Make tsan tests more portable"
...
This reverts commit r262476, as it broken the AArch64 VMA42 buildbot.
llvm-svn: 262479
2016-03-02 11:54:07 +00:00
Renato Golin
ba29b5794c
[RT] Make tsan tests more portable
...
by avoiding potential races when scanning stdout and stderr output.
Patch by Maxim Kuvyrkov.
llvm-svn: 262476
2016-03-02 11:10:02 +00:00
Alexey Samsonov
e243d45285
[TSan] Use llvm-objdump+FileCheck instead of standalone .sh script.
...
llvm-svn: 254959
2015-12-07 22:43:30 +00:00
Alexey Samsonov
dc37ee2226
[TSan] Port check_memcpy.sh script to a regular lit test.
...
Check that TSan runtime doesn't contain compiler-inserted calls
to memset/memmove functions.
In future, we may consider moving this test to test/sanitizer_common,
as we don't want to have compiler-inserted memcpy/memmove calls in
any sanitizer runtime.
llvm-svn: 254955
2015-12-07 21:53:59 +00:00
Viktor Kutuzov
adcf1ce904
[Tsan] Make the mutex_robust tests Linux-specific
...
Differential Revision: http://reviews.llvm.org/D5729
llvm-svn: 219790
2014-10-15 12:43:04 +00:00
Viktor Kutuzov
348758bbca
[Tsan] Fix comments in the user_fopen.cc and user_malloc.cc tests
...
Related revision: http://reviews.llvm.org/D5670
llvm-svn: 219481
2014-10-10 07:01:52 +00:00
Viktor Kutuzov
918df1abd8
[Tsan] Make the user_fopen.cc and user_malloc.cc tests Linux-specific
...
Differential Revision: http://reviews.llvm.org/D5670
llvm-svn: 219478
2014-10-10 06:55:17 +00:00