David Blaikie
|
a00d9caa8f
|
Unbreak the C++98 build.
llvm-svn: 169636
|
2012-12-07 21:39:54 +00:00 |
Dmitry Vyukov
|
54b87409b4
|
tsan: even more fd interceptors + fixes
llvm-svn: 169628
|
2012-12-07 19:23:59 +00:00 |
Dmitry Vyukov
|
04580518ce
|
tsan: more fd interceptors + bug fixes + tests
llvm-svn: 169621
|
2012-12-07 18:30:40 +00:00 |
Kostya Serebryany
|
40bac5b01f
|
[asan] fix lint, remove debug prints
llvm-svn: 169620
|
2012-12-07 18:07:52 +00:00 |
Alexey Samsonov
|
fa94fa52ad
|
ASan: intercept prctl on Linux only
llvm-svn: 169616
|
2012-12-07 17:54:38 +00:00 |
Dmitry Vyukov
|
0ef99e2a48
|
tsan: fix pipe interceptors and add 2 tests
llvm-svn: 169607
|
2012-12-07 16:22:54 +00:00 |
Dmitry Vyukov
|
3a2046b3a6
|
tsan: fix lint warnings
llvm-svn: 169606
|
2012-12-07 16:20:06 +00:00 |
Dmitry Vyukov
|
4e7c0f95fb
|
tsan: add pipe interceptors
llvm-svn: 169602
|
2012-12-07 15:32:56 +00:00 |
Kostya Serebryany
|
e7108227ca
|
[asan] intercept prctl(PR_SET_NAME) and set the thread name. Output the thread names (if non-empty) in asan reports
llvm-svn: 169601
|
2012-12-07 15:15:01 +00:00 |
Dmitry Vyukov
|
5f4ab30be0
|
tsan: refactoring is preparation to more precise fd synchronization handling
llvm-svn: 169600
|
2012-12-07 14:40:10 +00:00 |
Kostya Serebryany
|
35f9e5e87b
|
[sanitizer] implement SanitizerSetThreadName/SanitizerGetThreadName. Just for linux so far (using prctl(PR_GET_NAME))
llvm-svn: 169598
|
2012-12-07 11:27:24 +00:00 |
Evgeniy Stepanov
|
5d2d761ad6
|
Switch to r83 of cpplint.
Ubuntu Precise compatibility.
llvm-svn: 169597
|
2012-12-07 11:00:14 +00:00 |
Kostya Serebryany
|
52a3b92abd
|
[sanitizer] try not to use libc mem* functions in sanitizer_common tests (conflicts with our own interceptors)
llvm-svn: 169595
|
2012-12-07 10:13:10 +00:00 |
Kostya Serebryany
|
378f93e804
|
[sanitizer] fix the build on ancient gcc which has stricter rules about what can be put on TLS. Long term, we absolutely must build the run-times with the fresh target clang
llvm-svn: 169593
|
2012-12-07 09:40:17 +00:00 |
Dmitry Vyukov
|
5e700abc1c
|
tsan: deflake output tests (by increasing sleeps)
llvm-svn: 169592
|
2012-12-07 09:24:57 +00:00 |
Kostya Serebryany
|
6986550c7d
|
[sanitizer] POD-ify the allocator cache
llvm-svn: 169514
|
2012-12-06 16:22:04 +00:00 |
Dmitry Vyukov
|
e3e0557f19
|
tsan: fix lint warning and make output tests more robust
llvm-svn: 169511
|
2012-12-06 15:42:54 +00:00 |
Kostya Serebryany
|
6d2d30f61d
|
[asan/msan] one more test for 32-bit allocator + minor code simplification
llvm-svn: 169507
|
2012-12-06 14:39:41 +00:00 |
Kostya Serebryany
|
c14ae88b08
|
[asan/msan] add BulkAllocate to the 32-bit allocator (and a test)
llvm-svn: 169506
|
2012-12-06 14:27:32 +00:00 |
Kostya Serebryany
|
0f67d01031
|
[asan/msan] refactor allocator's BulkAllocate (move to AllocatorFreeList)
llvm-svn: 169503
|
2012-12-06 13:34:11 +00:00 |
Dmitry Vyukov
|
6ee2cde066
|
tsan: add new file to cmake
llvm-svn: 169502
|
2012-12-06 13:32:49 +00:00 |
Dmitry Vyukov
|
72064188bc
|
tsan: add some more functions for java filtering
llvm-svn: 169501
|
2012-12-06 13:20:37 +00:00 |
Kostya Serebryany
|
9f84eecc9e
|
[asan/msan] add GetBlockBegin to the 32-bit allocator (+test)
llvm-svn: 169499
|
2012-12-06 13:13:58 +00:00 |
Kostya Serebryany
|
2731cb23b1
|
[asan/msan] one more test for 32-bit allocator
llvm-svn: 169497
|
2012-12-06 13:00:11 +00:00 |
Kostya Serebryany
|
2044135dca
|
[asan/msan] new 32-bit allocator, basic functionality so far
llvm-svn: 169496
|
2012-12-06 12:49:28 +00:00 |
Dmitry Vyukov
|
fd1ba2af7d
|
tsan: add 'free' to java nonsense reports
llvm-svn: 169494
|
2012-12-06 12:42:53 +00:00 |
Dmitry Vyukov
|
fd5ebcd1b0
|
tsan: add mutexsets to reports
With this change reports say what mutexes the threads hold around the racy memory accesses.
llvm-svn: 169493
|
2012-12-06 12:16:15 +00:00 |
Bill Wendling
|
f9528843d2
|
Remove unused variable.
llvm-svn: 169485
|
2012-12-06 07:43:17 +00:00 |
Kostya Serebryany
|
1e3d387459
|
[tsan] add MmapAlignedOrDie
llvm-svn: 169474
|
2012-12-06 06:10:31 +00:00 |
Kostya Serebryany
|
86975ce3fb
|
[asan] drop the extension from asan tests (as the extension may be different)
llvm-svn: 169392
|
2012-12-05 17:56:54 +00:00 |
Kostya Serebryany
|
1a6f4d4ba6
|
[asan] undo the debug printf
llvm-svn: 169381
|
2012-12-05 13:39:29 +00:00 |
Dmitry Vyukov
|
d413d8cfa9
|
tsan: fix memory barriers in atomics
llvm-svn: 169379
|
2012-12-05 13:14:55 +00:00 |
Dmitry Vyukov
|
c446aa039a
|
tsan: provide own implementation of __cxa_guard_xxx functions
that way we allow static linking of libstdc++
llvm-svn: 169376
|
2012-12-05 12:10:22 +00:00 |
Dmitry Vyukov
|
6411bd9877
|
tsan: remove unnecesary include file
llvm-svn: 169370
|
2012-12-05 10:16:17 +00:00 |
Dmitry Vyukov
|
dd95cd148b
|
tsan: fix lint warnings
llvm-svn: 169369
|
2012-12-05 10:16:02 +00:00 |
Kostya Serebryany
|
571232b8cf
|
[tsan] get rid of *allocator64* files, moving everything to *allocator* files. This will help with the 32-bit allocator implementation and testing
llvm-svn: 169368
|
2012-12-05 10:09:15 +00:00 |
Kostya Serebryany
|
0afbb325b6
|
[tsan] make the 64-bit allocator build (but not work) in 32-bit mode to simplify the code and test structure and allow further refactoring
llvm-svn: 169361
|
2012-12-05 07:11:47 +00:00 |
Alexander Potapenko
|
0a4e0f6d35
|
Fix a use-after-unmap bug in /proc/self/maps caching. The cached buffer was occasionally deleted in the MemoryMappingLayout destructor.
llvm-svn: 169335
|
2012-12-04 23:30:00 +00:00 |
Dmitry Vyukov
|
1b46993598
|
tsan: output thread names
llvm-svn: 169279
|
2012-12-04 15:46:05 +00:00 |
Kostya Serebryany
|
242b6305f0
|
[tsan] add a compile-time error for 64-bit-only support
llvm-svn: 169275
|
2012-12-04 15:13:30 +00:00 |
Dmitry Vyukov
|
4b82b2bb6e
|
tsan: make atomic operations atomic again
llvm-svn: 169273
|
2012-12-04 14:50:10 +00:00 |
Kostya Serebryany
|
7436d95c9c
|
[tsan] test the allocator with CompactSizeClassMap
llvm-svn: 169270
|
2012-12-04 14:39:51 +00:00 |
Kostya Serebryany
|
f299288f55
|
[tsan] minor interface refactoring
llvm-svn: 169267
|
2012-12-04 14:15:17 +00:00 |
Dmitry Vyukov
|
4ef6b2bd03
|
tsan: fix nand operation
llvm-svn: 169266
|
2012-12-04 14:08:39 +00:00 |
Dmitry Vyukov
|
01ea653166
|
tsan: add __attribute__((visibility("default"))) to interface functions
llvm-svn: 169265
|
2012-12-04 14:01:21 +00:00 |
Kostya Serebryany
|
5e6f833bdd
|
[tsan] refactor the allocator tests to allow testing other flavours of the allocator (add templates)
llvm-svn: 169264
|
2012-12-04 13:59:22 +00:00 |
Dmitry Vyukov
|
55b47cad33
|
tsan: fix trace handling when trace is reused between threads
llvm-svn: 169259
|
2012-12-04 12:19:53 +00:00 |
Kostya Serebryany
|
077f88045e
|
[tsan] refactoring and comment changes in sanitizer_common/sanitizer_allocator{,64}.h. No functionality change
llvm-svn: 169234
|
2012-12-04 07:54:41 +00:00 |
Dmitry Vyukov
|
0d677279f6
|
tsan: better error message if we fail to intercept some function
currently the message is SIGSEGV
llvm-svn: 169231
|
2012-12-04 07:28:25 +00:00 |
Dmitry Vyukov
|
d229abe49a
|
tsan: check if PWD env var is absent
On some programs I see:
failed to open suppressions file '<null>/testing/tsan/v2/tsan.supp'
llvm-svn: 169230
|
2012-12-04 07:27:32 +00:00 |