Dmitry Vyukov
|
0c40a5600c
|
tsan: run output tests in parallel
llvm-svn: 164997
|
2012-10-02 11:51:40 +00:00 |
Evgeniy Stepanov
|
f7f616ba66
|
Quick fix data/bss detection in TSan.
The old way breaks when a module's bss is adjacent to the [heap] vm area.
Both ways are not very reliable, though.
llvm-svn: 164772
|
2012-09-27 13:20:40 +00:00 |
Alexey Samsonov
|
b6879ce94c
|
[TSan] move replacement for new/delete back into tsan_interceptors
llvm-svn: 164764
|
2012-09-27 09:50:19 +00:00 |
Alexey Samsonov
|
789d4b2cd0
|
[TSan] fork external symbolizer before starting internal threads
llvm-svn: 164600
|
2012-09-25 12:35:47 +00:00 |
Alexey Samsonov
|
351d486df0
|
[TSan] one more attempt to fix sleep_sync test: call sleep in the spawned thread so that sleep-synchronization will be detected even if child thread is started late.
llvm-svn: 164488
|
2012-09-24 13:35:46 +00:00 |
Alexey Samsonov
|
313014694f
|
[TSan] Provide replacements for operators new/delete instead of declaring extern C functions with weirdly mangled names (same strategy is used in ASan).
llvm-svn: 164487
|
2012-09-24 13:19:47 +00:00 |
Alexey Samsonov
|
0659f72f7b
|
[TSan] increase sleep time in test to ensure correct event ordering
llvm-svn: 164483
|
2012-09-24 08:57:41 +00:00 |
Michael J. Spencer
|
c774095d44
|
[CMake][tsan] Compile .S files for tsan as C instead of CXX.
Using CXX breaks if you add -stdlib=libc++ to CMAKE_CXX_FLAGS.
llvm-svn: 164422
|
2012-09-21 22:39:39 +00:00 |
Dmitry Vyukov
|
8d8639bc55
|
tsan: fix gcc4.2.1 warning
llvm-svn: 164200
|
2012-09-19 04:45:14 +00:00 |
Dmitry Vyukov
|
c7bcaf8512
|
tsan: fix Go build
llvm-svn: 164198
|
2012-09-19 04:39:36 +00:00 |
Alexey Samsonov
|
848abbd236
|
[TSan] s/uintptr_t/intptr_t in TSan test and enforce stack size limit in one of TSan output tests that somewhy fails otherwise
llvm-svn: 164116
|
2012-09-18 09:09:35 +00:00 |
Alexey Samsonov
|
3040830fcd
|
[TSan] fix a typo in test dependencies. Silence few remaining pedantic gcc warnings in TSan tests.
llvm-svn: 164115
|
2012-09-18 08:33:37 +00:00 |
Alexey Samsonov
|
341e5bcb45
|
[TSan] port all output tests to lit and move them to lit_tests directory. This makes 'make check-tsan' command test both unit and output TSan tests. Old custom makefiles for running TSan tests are still functional as well.
llvm-svn: 164110
|
2012-09-18 07:23:54 +00:00 |
Alexey Samsonov
|
0fa3ea69e2
|
[TSan] move: rtl_tests->tests/rtl unit_tests->tests/unit to make a single root for gtest-based tests. Support running these tests from lit via check-tsan command.
llvm-svn: 164022
|
2012-09-17 10:02:17 +00:00 |
Alexey Samsonov
|
ff3f173e87
|
[TSan] If we detect an unlimited stack, try to re-exec with limited stack
llvm-svn: 164021
|
2012-09-17 09:14:11 +00:00 |
Dmitry Vyukov
|
40c19aaf84
|
tsan: increase internal memory block limit 1GB->4GB
llvm-svn: 164011
|
2012-09-17 03:18:45 +00:00 |
Alexey Samsonov
|
2b8de6a753
|
[TSan] support building TSan unittests in CMake
llvm-svn: 163797
|
2012-09-13 14:04:57 +00:00 |
Alexey Samsonov
|
a7df554138
|
[TSan] fix a typo in CMakeLists
llvm-svn: 163796
|
2012-09-13 14:02:40 +00:00 |
Alexey Samsonov
|
f0aa9148a2
|
[TSan] Use interface attribute for weak functions that may be overriden by user
llvm-svn: 163795
|
2012-09-13 13:34:09 +00:00 |
Alexey Samsonov
|
255f6a5f1a
|
[TSan] Add initial support for buidling ThreadSanitizer runtime library with CMake (currently the only supported platfrom is 64-bit Linux). This patch makes 'clang++ -fthread-sanitizer' work for both clang in the build tree and installed clang
llvm-svn: 163789
|
2012-09-13 12:18:41 +00:00 |
Alexey Samsonov
|
046248c509
|
[TSan] fix a bunch of warnings reported by pedantic gcc
llvm-svn: 163788
|
2012-09-13 11:54:41 +00:00 |
Alexander Potapenko
|
ab7a4ea485
|
Revert the lockf() support.
llvm-svn: 163614
|
2012-09-11 11:59:05 +00:00 |
Alexey Samsonov
|
5c6b93bc33
|
[Sanitizer] Get rid of dependency between sanitizer_common and asan/tsan runtimes: implement tool-specific Die and CheckFailed functions via callbacks
llvm-svn: 163603
|
2012-09-11 09:44:48 +00:00 |
Alexander Potapenko
|
1a471772b0
|
Interceptors for lockf and lockf64, minor calloc() fix.
llvm-svn: 163602
|
2012-09-11 09:26:35 +00:00 |
Dmitry Vyukov
|
7ea4c2ccfb
|
tsan: ignore destruction of global mutexes (causes a lot of non-interesting reports)
llvm-svn: 163400
|
2012-09-07 18:08:02 +00:00 |
Dmitry Vyukov
|
23ecb4acd9
|
tsan: fix code style
llvm-svn: 163326
|
2012-09-06 16:11:30 +00:00 |
Dmitry Vyukov
|
c87e7280b8
|
tsan: increase max shadow stack size + reduce memory consumption at the same time (by not memorizing full stacks in traces)
llvm-svn: 163322
|
2012-09-06 15:18:14 +00:00 |
Dmitry Vyukov
|
50d49238a6
|
tsan: fix Go build script
llvm-svn: 163320
|
2012-09-06 15:10:19 +00:00 |
Alexey Samsonov
|
fdff4a8e0b
|
[TSan] add support for running external symbolizer other than addr2line (for testing purposes)
llvm-svn: 163297
|
2012-09-06 08:48:43 +00:00 |
Alexey Samsonov
|
ceffb021c5
|
[Sanitizer] Remove implicit conversion of InternalScopedBuffer<T> to T*
llvm-svn: 163197
|
2012-09-05 07:23:44 +00:00 |
Dmitry Vyukov
|
49dd68ae7c
|
tsan: do not crash with obscure message if a user passes invalid arguments to malloc/free/memset/etc
llvm-svn: 163092
|
2012-09-02 12:04:51 +00:00 |
Dmitry Vyukov
|
b7f1852140
|
tsan: insert cfi directives into assembly (not fully working for now, though)
llvm-svn: 163090
|
2012-09-02 11:24:07 +00:00 |
Dmitry Vyukov
|
72cddf33d9
|
tsan: more robust current thread stack restoration
llvm-svn: 163089
|
2012-09-02 11:23:39 +00:00 |
Dmitry Vyukov
|
46ca1fb404
|
tsan: better diagnostics for mutex misuse
llvm-svn: 163060
|
2012-09-01 12:13:18 +00:00 |
Dmitry Vyukov
|
cbc303006c
|
tsan: fix crash when users pass insane mutex addresses in dynamic annotations
llvm-svn: 163016
|
2012-08-31 20:02:33 +00:00 |
Dmitry Vyukov
|
318f77749e
|
tsan: add "as if synchronized via sleep" feature
llvm-svn: 163006
|
2012-08-31 17:27:49 +00:00 |
Dmitry Vyukov
|
bead8f1e3f
|
tsan: slightly optimize mutex unlock
llvm-svn: 162995
|
2012-08-31 13:42:28 +00:00 |
Dmitry Vyukov
|
6f6ba43271
|
tsan: more precise handling of atomic_store(memory_order_release)
llvm-svn: 162994
|
2012-08-31 13:22:13 +00:00 |
Alexey Samsonov
|
de827cb42b
|
[Sanitizer] Remove lint checkers from our old makefiles in favor of buildbot
llvm-svn: 162981
|
2012-08-31 08:10:28 +00:00 |
Alexey Samsonov
|
66ca36a564
|
[TSan] Fix style warinings in output test
llvm-svn: 162980
|
2012-08-31 08:00:37 +00:00 |
Alexey Samsonov
|
c3a8119a41
|
Whitespace/lint
llvm-svn: 162909
|
2012-08-30 14:22:21 +00:00 |
Dmitry Vyukov
|
7af8a3a83d
|
tsan: simplify TSAN_HISTORY_SIZE code
llvm-svn: 162905
|
2012-08-30 13:29:11 +00:00 |
Dmitry Vyukov
|
191f2f7cdb
|
tsan: use stack depot to describe heap blocks
llvm-svn: 162902
|
2012-08-30 13:02:30 +00:00 |
Kostya Serebryany
|
4310fe35ea
|
[tsan] fix tsan's Makefile.old -- our build bot still uses it (hopefully, will soon migrate to cmake completely)
llvm-svn: 162832
|
2012-08-29 08:21:09 +00:00 |
Alexey Samsonov
|
cc62211fbf
|
[Sanitizer] Rename ProcessMaps to MemoryMappingLayout and fix Windows build by providing stub implementation
llvm-svn: 162671
|
2012-08-27 13:48:48 +00:00 |
Dmitry Vyukov
|
0481ae4722
|
tsan: allow to override per-thread event trace size
useful if you don't see the second stack trace
llvm-svn: 162456
|
2012-08-23 18:26:03 +00:00 |
Alexey Samsonov
|
75e5fc3e57
|
[TSan] switch tsan to using InternalScopedBuffer from sanitizer_common
llvm-svn: 162351
|
2012-08-22 07:25:52 +00:00 |
Dmitry Vyukov
|
e59bed4e8a
|
tsan: proper handling of linker initialized mutexes
llvm-svn: 162169
|
2012-08-18 11:49:00 +00:00 |
Dmitry Vyukov
|
e2b5b5c4ac
|
tsan: Non-executable stack for hand-coded assembly
llvm-svn: 162112
|
2012-08-17 18:05:28 +00:00 |
Dmitry Vyukov
|
9f143c5c5f
|
tsan: improve Go report format + fix build
llvm-svn: 162042
|
2012-08-16 19:36:45 +00:00 |