Dmitry Vyukov
|
c015712992
|
tsan: lazily allocate shadow for Go
llvm-svn: 167464
|
2012-11-06 16:00:16 +00:00 |
Dmitry Vyukov
|
e4c2fd4c2f
|
tsan: windows platform support
llvm-svn: 167457
|
2012-11-06 13:35:02 +00:00 |
Dmitry Vyukov
|
5f93416c94
|
tsan: add shadow mapping for windows
llvm-svn: 167455
|
2012-11-06 13:26:57 +00:00 |
Dmitry Vyukov
|
1d4120b210
|
tsan: fix constant types
llvm-svn: 167453
|
2012-11-06 13:21:06 +00:00 |
Dmitry Vyukov
|
ba827dfdae
|
tsan: don't release disabled clocks
llvm-svn: 167451
|
2012-11-06 13:16:25 +00:00 |
Alexey Samsonov
|
ad9d65feb8
|
[TSan] finally remove TsanPrintf in favor of Printf from sanitizer_common
llvm-svn: 167294
|
2012-11-02 12:17:51 +00:00 |
Alexey Samsonov
|
20ba98fdb1
|
[Sanitizer] Use kStderrFd constant instead of hardcoded 2
llvm-svn: 167291
|
2012-11-02 09:38:47 +00:00 |
Dmitry Vyukov
|
19ba50a8b9
|
tsan: better message about found races for Go ThreadSanitizer
llvm-svn: 165376
|
2012-10-07 14:21:24 +00:00 |
Dmitry Vyukov
|
90c9cbfed4
|
tsan: cache pc's that cause suppressions (this way we do not need to symbolize the reports)
llvm-svn: 165317
|
2012-10-05 15:51:32 +00:00 |
Dmitry Vyukov
|
b96a7b5aa5
|
tsan: add atomic_fetch_sub() and atomic_signal_fence() functions
llvm-svn: 165218
|
2012-10-04 10:08:23 +00:00 |
Dmitry Vyukov
|
be6878365d
|
tsan: prepare for migration to new memory_order enum values (ABI compatible)
llvm-svn: 165106
|
2012-10-03 13:00:13 +00:00 |
Dmitry Vyukov
|
56faa551b9
|
tsan: fix mac build
llvm-svn: 165004
|
2012-10-02 12:58:14 +00:00 |
Dmitry Vyukov
|
a2c1c7a78e
|
tsan: wait for pending reports before exit
llvm-svn: 164999
|
2012-10-02 12:07:16 +00:00 |
Dmitry Vyukov
|
27d5b37c38
|
tsan: output tid's in reports
llvm-svn: 164998
|
2012-10-02 11:52:05 +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
|
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 |
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
|
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
|
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 |
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 |
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 |