Evgeniy Stepanov
|
231894a902
|
[sanitizer] Intercept frexp and friends.
llvm-svn: 177056
|
2013-03-14 11:34:39 +00:00 |
Alexey Samsonov
|
41a560b8cd
|
[TSan] Add missing header inclusion
llvm-svn: 177013
|
2013-03-14 07:13:00 +00:00 |
Alexey Samsonov
|
109ddd0fe4
|
[TSan] Use __sanitizer_pthread_attr_t in TSan
llvm-svn: 177012
|
2013-03-14 07:10:52 +00:00 |
Alexey Samsonov
|
d7ab381f53
|
[Sanitizer] Build ASan, TSan and MSan runtimes with -fno-rtti.
llvm-svn: 176940
|
2013-03-13 09:18:30 +00:00 |
Evgeniy Stepanov
|
5697b58ec4
|
[sanitizer] Move GetTlsSize code from TSan to sanitizer_common.
llvm-svn: 176938
|
2013-03-13 08:19:53 +00:00 |
Alexey Samsonov
|
06d3aa4884
|
[Sanitizer] Change MemoryMappingLayout methods to also report memory protection flags (for future use in leak checker). Patch by Sergey Matveev.
llvm-svn: 176931
|
2013-03-13 06:51:02 +00:00 |
Kostya Serebryany
|
01a32bdef1
|
[tsan] enable tsan-vs-gvn test since it is now fixed
llvm-svn: 176079
|
2013-02-26 08:18:27 +00:00 |
Alexey Samsonov
|
85f0a7e644
|
[TSan] Add interceptor for malloc_usable_size()
llvm-svn: 176013
|
2013-02-25 08:43:10 +00:00 |
Alexey Samsonov
|
10bccda948
|
[TSan] remove temporary build directory in 'make clean' command
llvm-svn: 176012
|
2013-02-25 08:32:02 +00:00 |
Evgeniy Stepanov
|
ea61d08185
|
[sanitizer] Add interceptors for localtime and friends.
llvm-svn: 175499
|
2013-02-19 09:19:16 +00:00 |
Kostya Serebryany
|
3e62fe8c23
|
[tsan] use our own GetEnv instead of libc's getenv
llvm-svn: 175498
|
2013-02-19 08:19:13 +00:00 |
Dmitry Vyukov
|
965a10e07c
|
tsan: fix bug in suppression reading (suppressions from file were discarded)
llvm-svn: 175153
|
2013-02-14 11:03:45 +00:00 |
Kostya Serebryany
|
aa7f2b5aa6
|
[tsan] disable a failing test until it gets fixed. fix lint
llvm-svn: 175137
|
2013-02-14 06:54:51 +00:00 |
Dmitry Vyukov
|
3c2489e2c3
|
tsan: do not imitate memory write on malloc() (Go)
better memory range access functions (put only 1 event to trace) (Go)
llvm-svn: 175056
|
2013-02-13 13:05:36 +00:00 |
Kostya Serebryany
|
4681fbf002
|
[tsan] simplify tsan-vs-gvn test since gvn vs tsan is now fixed; fix lint
llvm-svn: 175037
|
2013-02-13 06:07:50 +00:00 |
Evgeniy Stepanov
|
d8cfb99a71
|
[sanitizer] Missing changes from r174960.
llvm-svn: 174962
|
2013-02-12 12:02:49 +00:00 |
Kostya Serebryany
|
53e37ef74f
|
[tsan] added tsan-vs-gvn test
llvm-svn: 174875
|
2013-02-11 11:28:03 +00:00 |
Dmitry Vyukov
|
e679798315
|
tsan: fix suppress_java logic
llvm-svn: 174635
|
2013-02-07 17:12:28 +00:00 |
Dmitry Vyukov
|
effd98b0f4
|
tsan: intercept libc __res_iclose
this is required to catch close of file descriptors created in getaddrinfo()
llvm-svn: 174624
|
2013-02-07 15:27:45 +00:00 |
Dmitry Vyukov
|
e94f4c048e
|
tsan: fix Go build
llvm-svn: 174622
|
2013-02-07 15:26:55 +00:00 |
Kostya Serebryany
|
df2f0bff37
|
[tsan] race_on_write test
llvm-svn: 174599
|
2013-02-07 09:48:17 +00:00 |
Alexey Samsonov
|
85cc9b655d
|
[TSan] skip multiple internal frames, if necessary
llvm-svn: 174516
|
2013-02-06 16:28:05 +00:00 |
Kostya Serebryany
|
21bedab7a1
|
[tsan] improve FrameIsInternal
llvm-svn: 174506
|
2013-02-06 14:32:16 +00:00 |
Kostya Serebryany
|
4fb340d972
|
[tsan] print error summary line
llvm-svn: 174505
|
2013-02-06 14:24:00 +00:00 |
Alexander Potapenko
|
34157fc33f
|
[ASan] Delete the code related to static runtime on OS X.
Nuke lib/interception/mach_override.
llvm-svn: 174383
|
2013-02-05 15:57:12 +00:00 |
Alexey Samsonov
|
2c5cbd2b38
|
[Sanitizer] extend internal libc with stat/fstat/lstat functions
llvm-svn: 174316
|
2013-02-04 10:16:50 +00:00 |
Dmitry Vyukov
|
606de60163
|
tsan: intercept bind/listen
llvm-svn: 174311
|
2013-02-04 08:06:32 +00:00 |
Alexey Samsonov
|
39313b780d
|
[Sanitizer] make internal_open have the same interface as libc version
llvm-svn: 174187
|
2013-02-01 15:58:46 +00:00 |
Dmitry Vyukov
|
1fab680c1b
|
tsan: catch races on fd in more cases
llvm-svn: 174184
|
2013-02-01 15:52:35 +00:00 |
Alexey Samsonov
|
84cf6a4333
|
[TSan] remove artifacts from gotsan build in 'make clean' command
llvm-svn: 174180
|
2013-02-01 15:30:36 +00:00 |
Dmitry Vyukov
|
87c6bb9716
|
tsan: even if races between atomic and plain memory accesses are turned off (report_atomic_races=0),
still report races between atomic accesses and free().
llvm-svn: 174175
|
2013-02-01 14:41:58 +00:00 |
Dmitry Vyukov
|
628df38e95
|
tsan: say that the memory access is atomic in reports
llvm-svn: 174168
|
2013-02-01 11:10:53 +00:00 |
Dmitry Vyukov
|
aa6af4ddd1
|
tsan: remember 2 stack frames for atomics (caller and atomic itself)
llvm-svn: 174167
|
2013-02-01 11:01:17 +00:00 |
Dmitry Vyukov
|
52f0e4e1a0
|
tsan: add flag to not report races between atomic and plain memory accesses
llvm-svn: 174165
|
2013-02-01 10:06:56 +00:00 |
Dmitry Vyukov
|
71242b064e
|
tsan: flip is_write bit in shadow to is_read
this makes calculation of interesting predicates faster
llvm-svn: 174164
|
2013-02-01 10:02:55 +00:00 |
Dmitry Vyukov
|
ba4291480d
|
tsan: detect races between plain and atomic memory accesses
llvm-svn: 174163
|
2013-02-01 09:42:06 +00:00 |
Kostya Serebryany
|
bda64b4d40
|
[sanitizer] make the error messages from sanitizer_common contain the actual tool name
llvm-svn: 174059
|
2013-01-31 14:11:21 +00:00 |
Dmitry Vyukov
|
6f4a6ab5d6
|
tsan: switch to explicit thread contexts in Go (instead of monotonic goroutine ids)
llvm-svn: 174047
|
2013-01-31 07:48:43 +00:00 |
Dmitry Vyukov
|
6095285d0b
|
tsan: do not check for intersecting memory accesses in Go (all accesses are 1 byte)
llvm-svn: 174046
|
2013-01-31 07:47:58 +00:00 |
Dmitry Vyukov
|
087efd23d6
|
tsan: fix CPP_WEAK definition (it must be the other way around)
llvm-svn: 173932
|
2013-01-30 14:38:44 +00:00 |
Alexey Samsonov
|
32832e6176
|
[Sanitizer] include sanitizer_common headers when building interception library
llvm-svn: 173930
|
2013-01-30 14:27:41 +00:00 |
Evgeniy Stepanov
|
358698279d
|
[sanitizer] Further split private and public sanitizer headers.
And make msan_interface.h C-compatible.
llvm-svn: 173928
|
2013-01-30 13:12:08 +00:00 |
Alexey Samsonov
|
0d92533b29
|
Use LLVM_BUILD_TYPE instead of CMAKE_BUILD_TYPE in compiler-rt unit tests to match the behavior of llvm unittests
llvm-svn: 173926
|
2013-01-30 12:18:49 +00:00 |
Dmitry Vyukov
|
d6b9348bf3
|
tsan: introduce a helped macro CPP_WEAK (Go linker does not support weak symbols)
llvm-svn: 173917
|
2013-01-30 09:46:53 +00:00 |
Dmitry Vyukov
|
5fbfafcd8c
|
tsan: add OnFinalize() callback for frontends
llvm-svn: 173915
|
2013-01-30 09:24:00 +00:00 |
Alexey Samsonov
|
a1eb11f915
|
[TSan] relax output tests a bit to make them pass in gcc build
llvm-svn: 173913
|
2013-01-30 08:41:57 +00:00 |
Alexey Samsonov
|
49a32c1d08
|
[Sanitizer] update style checker script and fix namespace style warnings
llvm-svn: 173910
|
2013-01-30 07:45:58 +00:00 |
Will Dietz
|
25abfe49e1
|
[tsan] Fix checks for siginfo_t in tests
llvm-svn: 173815
|
2013-01-29 18:29:34 +00:00 |
Dmitry Vyukov
|
019ef67a97
|
tsan: dump stack on internal assert failure
llvm-svn: 173799
|
2013-01-29 14:20:12 +00:00 |
Dmitry Vyukov
|
4399d92252
|
tsan: support for inprocess symbolizer
llvm-svn: 173797
|
2013-01-29 13:05:30 +00:00 |