5d71de26cedae3dafc17449fe0182045c0bd20e8 |
|
21-Jul-2014 |
Stephen Hines <srhines@google.com> |
Update compiler-rt for rebase to r212749. Includes a cherry-pick of: r213309 - fixes umodsi3 Change-Id: Ic7367e3586b6af7ef74bee6a8cf437d5f28d975a
/external/compiler-rt/lib/tsan/rtl/tsan_rtl.h
|
2d1fdb26e458c4ddc04155c1d421bced3ba90cd0 |
|
29-May-2014 |
Stephen Hines <srhines@google.com> |
Update compiler-rt aosp/master for 3.5 (r209699) rebase. Change-Id: I158a30186f0faea2e2400e9dfdd878db2eb40e90
/external/compiler-rt/lib/tsan/rtl/tsan_rtl.h
|
11f5309ec1bf13430c8a3a16f177d9e8e1190e38 |
|
15-Nov-2013 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: add support for robust mutexes git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@194823 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/tsan/rtl/tsan_rtl.h
|
5b2d43008240767872d0fe4913b3e5b784954e43 |
|
15-Nov-2013 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: add proper cfi directives to assembly code this allows gdb to unwind through our hacky call git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@194803 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/tsan/rtl/tsan_rtl.h
|
01a7ce809bf7cc627d73c045c70bcca9891f632c |
|
16-Oct-2013 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: move shadow stack from thread descriptors to fixed addresses This allows to increase max shadow stack size to 64K, and reliably catch shadow stack overflows instead of silently corrupting memory. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@192797 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/tsan/rtl/tsan_rtl.h
|
e1ddbf9a458e81125a03fea721997565124294ae |
|
10-Oct-2013 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: add annotations to ignore synchronization operations The annotations are AnnotateIgnoreSyncBegin/End, may be useful to ignore some infrastructure synchronization that introduces lots of false negatives. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@192355 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/tsan/rtl/tsan_rtl.h
|
4af0f21c0c98950df1136dbec8824a029ed5bb8e |
|
03-Oct-2013 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: ignore interceptors coming from specified libraries LibIgnore allows to ignore all interceptors called from a particular set of dynamic libraries. LibIgnore remembers all "called_from_lib" suppressions from the provided SuppressionContext; finds code ranges for the libraries; and checks whether the provided PC value belongs to the code ranges. Also make malloc and friends interceptors use SCOPED_INTERCEPTOR_RAW instead of SCOPED_TSAN_INTERCEPTOR, because if they are called from an ignored lib, then must call our internal allocator instead of libc malloc. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@191897 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/tsan/rtl/tsan_rtl.h
|
652f78a41de2887aedc1b0314b58bb6b622c80ca |
|
19-Sep-2013 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: refactor internal IgnoreCtl interface git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@190987 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/tsan/rtl/tsan_rtl.h
|
a52e5c6f371bcc66e89792db1219a557664aab8d |
|
26-Jun-2013 |
Sergey Matveev <earthdok@google.com> |
[tsan] Move some suppressions-related code to common. Factor out code to be reused in LSan. Also switch from linked list to vector. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@184957 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/tsan/rtl/tsan_rtl.h
|
0a05e5fa28a7424f8146549057c53b4590f3a251 |
|
14-Jun-2013 |
Alexey Samsonov <samsonov@google.com> |
[TSan] use InternalMmapVector to store fired suppressions git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@183974 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/tsan/rtl/tsan_rtl.h
|
39968339a07d790aadcf27534f92a0de8c0c90fb |
|
10-Jun-2013 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: allows to suppress races on global variables git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@183672 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/tsan/rtl/tsan_rtl.h
|
1f3c2fee395abc36230c445e9ebdba55c4729d35 |
|
29-May-2013 |
Alexey Samsonov <samsonov@google.com> |
Make InternalAlloc/InternalFree in sanitizer runtimes libc-free by switching to a custom allocator. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@182836 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/tsan/rtl/tsan_rtl.h
|
8354faeec647dc5b420726fa61616189392d5045 |
|
17-May-2013 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: introduce recursive mutex lock/unlock java interface this is required to handle Object.Wait() git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@182088 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/tsan/rtl/tsan_rtl.h
|
8ecd0e5d9f389d18653892851c6ffb2f235de4b7 |
|
30-Apr-2013 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: add interface functions for unaligned access, e.g. __sanitizer_unaligned_load16 git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@180780 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/tsan/rtl/tsan_rtl.h
|
abfdbdf5bc7e9d202652fe061acd20c14a4d22f4 |
|
28-Mar-2013 |
Timur Iskhodzhanov <timurrrr@google.com> |
Make all the ALWAYS_INLINE users Windows-friendly; also, avoid ALWAYS_INLINE INLINE combinations git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@178266 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/tsan/rtl/tsan_rtl.h
|
0fd908cf5a555483633e2d9703932bde18009682 |
|
28-Mar-2013 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: print statistics about benign race annotations (total count, unique, matched) if requested with print_benign=1 flag. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@178245 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/tsan/rtl/tsan_rtl.h
|
f754eb501d6bd163fff6747716b7703fe45be4b8 |
|
27-Mar-2013 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: print matched suppressions if print_suppressions=1 flag is provided git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@178159 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/tsan/rtl/tsan_rtl.h
|
8b30c254a63a7421dd81d13dee086a54c4ca134b |
|
25-Mar-2013 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: intercept setjmp/longjmp git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@177858 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/tsan/rtl/tsan_rtl.h
|
4536cb1fa7734133f404acb413589d7a6d314f4a |
|
21-Mar-2013 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: better reporting of thread leaks 1. do not report running threads as leaks 2. aggregate leaked threads by creation stack git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@177647 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/tsan/rtl/tsan_rtl.h
|
0dc47b652dfbe0d61d153eded02bae9487a7b539 |
|
21-Mar-2013 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: better reporting for races on vptr explicitly say "ctor/dtor vs virtual call" git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@177640 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/tsan/rtl/tsan_rtl.h
|
a38e40fde45acccb124f7419ecbe21ef6cfd306b |
|
21-Mar-2013 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: flush symbolizer cache if not symbolized for more than 5 seconds git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@177629 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/tsan/rtl/tsan_rtl.h
|
9743d74426ae43898e4da55e591b09be18f8aa6e |
|
20-Mar-2013 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: move trace header into 0x600000000000 range eliminat thread "dead info" altogether git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@177512 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/tsan/rtl/tsan_rtl.h
|
ce85e03620f64ce7e4cd0598f2e93090f52a9e99 |
|
19-Mar-2013 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: flush dead thread info earlier (when another thread is finished rather than new thread is created) git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@177394 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/tsan/rtl/tsan_rtl.h
|
f51c3860ce0a1ae81d0dc9da27db0693718db18e |
|
18-Mar-2013 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: smaller memory block headers (32b->16b) git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@177312 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/tsan/rtl/tsan_rtl.h
|
7ac33ac529ff93a57419f5ddf71b1fde68428577 |
|
18-Mar-2013 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: mark shadow for thread stack as "don't need" when thread exits git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@177288 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/tsan/rtl/tsan_rtl.h
|
e93e5057023de89f1bad5de609efac39efc5da73 |
|
18-Mar-2013 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: move implementation out of h file git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@177269 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/tsan/rtl/tsan_rtl.h
|
6af642eaf764434ac6f28f242e7f081156bce9e3 |
|
18-Mar-2013 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: fix clang -Wall build Clang does not like classes with virtual functions but w/o virtual dtor. Go does not like libstdc++ (operator delete). git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@177267 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/tsan/rtl/tsan_rtl.h
|
2c5284e0f87e101e177a151fae5f557bcf6f664c |
|
18-Mar-2013 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: use StackDepot for thread creation stacks git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@177261 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/tsan/rtl/tsan_rtl.h
|
2bbd8bec77c2fdb41c5f5b6cb0d83d22bc576650 |
|
15-Mar-2013 |
Alexey Samsonov <samsonov@google.com> |
[TSan] Switch TSan runtime to use ThreadRegistry class from sanitizer_common git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@177154 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/tsan/rtl/tsan_rtl.h
|
eaa0190fc9a510a621d871becce0536950c5468d |
|
13-Feb-2013 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: do not imitate memory write on malloc() (Go) better memory range access functions (put only 1 event to trace) (Go) git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@175056 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/tsan/rtl/tsan_rtl.h
|
5ba301dfe9a39c02b3faeb0fa252473f1d6e742c |
|
06-Feb-2013 |
Alexey Samsonov <samsonov@google.com> |
[TSan] skip multiple internal frames, if necessary git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@174516 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/tsan/rtl/tsan_rtl.h
|
2f588f9d3417aa107ebbbd8830f97501023d3f40 |
|
06-Feb-2013 |
Kostya Serebryany <kcc@google.com> |
[tsan] print error summary line git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@174505 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/tsan/rtl/tsan_rtl.h
|
3285866e45a8521c56ba6209daf3c9f91f844fd3 |
|
01-Feb-2013 |
Dmitry Vyukov <dvyukov@google.com> |
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(). git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@174175 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/tsan/rtl/tsan_rtl.h
|
33a040af0f32bcf2e5ab25fa2c9b6a81d3a59092 |
|
01-Feb-2013 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: flip is_write bit in shadow to is_read this makes calculation of interesting predicates faster git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@174164 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/tsan/rtl/tsan_rtl.h
|
334553ec45d8982df45a6f5e656e068142ecde3f |
|
01-Feb-2013 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: detect races between plain and atomic memory accesses git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@174163 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/tsan/rtl/tsan_rtl.h
|
793e7610934531fa014aa2c0721d7901bdbae548 |
|
29-Jan-2013 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: dump stack on internal assert failure git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@173799 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/tsan/rtl/tsan_rtl.h
|
4e81d0e82a4a327987644a57b6103052a974824f |
|
29-Jan-2013 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: remember when we are inside of symbolizer code (required for inprocess symbolizer) git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@173796 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/tsan/rtl/tsan_rtl.h
|
e5e3a13b43beee99a0d3ec888a0be170a53af934 |
|
24-Jan-2013 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: suppress reports using both stacks git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@173346 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/tsan/rtl/tsan_rtl.h
|
a54aec8ca2e372b1a841d605d53cab5e336aeb03 |
|
27-Dec-2012 |
Kostya Serebryany <kcc@google.com> |
[asan/tsan] when unmapping a chunk of user memory, apply madvise(MADV_DONTNEED) to the corresponding chunk of shadow memory. Also update sanitizer_allocator64_testlib.cc git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@171144 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/tsan/rtl/tsan_rtl.h
|
21cc85db95b8fa85a9ff7a403c8a24e345d73baf |
|
20-Dec-2012 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: java interface implementation skeleton git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@170707 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/tsan/rtl/tsan_rtl.h
|
da3503782901d30bd6e48885055b51b38cf5126c |
|
17-Dec-2012 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: say what thread had created a thread in reports git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@170346 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/tsan/rtl/tsan_rtl.h
|
6535c31c66569df262791f0b56852c496977c977 |
|
13-Dec-2012 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: support MapThreadTrace() on all platforms git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@170113 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/tsan/rtl/tsan_rtl.h
|
214621f7663896987dc509561c762460226c68c2 |
|
12-Dec-2012 |
Kostya Serebryany <kcc@google.com> |
[sanitizer] add OnMap/OnUmap callbacks to the allocator interface git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@169985 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/tsan/rtl/tsan_rtl.h
|
ad9da372f962495b3487685232d09390be841b1c |
|
06-Dec-2012 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: add mutexsets to reports With this change reports say what mutexes the threads hold around the racy memory accesses. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@169493 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/tsan/rtl/tsan_rtl.h
|
72166ca99c2f8898a7a540e60aac3959cbd959bf |
|
05-Dec-2012 |
Kostya Serebryany <kcc@google.com> |
[tsan] get rid of *allocator64* files, moving everything to *allocator* files. This will help with the 32-bit allocator implementation and testing git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@169368 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/tsan/rtl/tsan_rtl.h
|
aecf2e5756c6a0de7c146bef67a6e338c7017d55 |
|
04-Dec-2012 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: output thread names git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@169279 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/tsan/rtl/tsan_rtl.h
|
503a3af431c3c676fe14a1fade8e901bb95fa7a5 |
|
04-Dec-2012 |
Kostya Serebryany <kcc@google.com> |
[tsan] add a compile-time error for 64-bit-only support git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@169275 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/tsan/rtl/tsan_rtl.h
|
82de9426176ac5ca7d36922648b3dbccabd35834 |
|
04-Dec-2012 |
Kostya Serebryany <kcc@google.com> |
[tsan] minor interface refactoring git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@169267 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/tsan/rtl/tsan_rtl.h
|
0415ac00935795a70d87ae662ccad58ea0704537 |
|
04-Dec-2012 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: fix trace handling when trace is reused between threads git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@169259 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/tsan/rtl/tsan_rtl.h
|
c8f0a00ede42f83ac79ff63c347ca8ddcda77155 |
|
30-Nov-2012 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: fix int overflow and several instances where tid is used with ignore git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@169029 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/tsan/rtl/tsan_rtl.h
|
3fb70e333087ffac19517ad6559fcba9e43ac5ca |
|
28-Nov-2012 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: address several review comments git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@168789 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/tsan/rtl/tsan_rtl.h
|
d698edc4f74a17048eef3342a9fa42b3ebba802a |
|
28-Nov-2012 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: dynamic history size introduces history_size parameter that can be used to control trace size at startup git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@168786 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/tsan/rtl/tsan_rtl.h
|
0d35d9d9b1ff686b53918f9fd36797f0911db663 |
|
28-Nov-2012 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: change fast state layout in preparation to dynamic traces git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@168784 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/tsan/rtl/tsan_rtl.h
|
385542a2e83a4f37de4232d6c72097c1b7d6d44b |
|
28-Nov-2012 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: move traces from tls into dedicated storage at fixed address helps to reduce tls size (it's weird to have multi-MB tls) will help with dynamically adjustable trace size git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@168783 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/tsan/rtl/tsan_rtl.h
|
f5d526fc35524db0479828188e47c130ac09a038 |
|
26-Nov-2012 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: explicitly mark symbols referenced from assembly as hidden this allows to build tsan runtime as dynamic library git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@168589 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/tsan/rtl/tsan_rtl.h
|
bd9f4963dd50f2fe66ba47a74776dc2665f84d7d |
|
15-Nov-2012 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: remove unused parameter git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@168060 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/tsan/rtl/tsan_rtl.h
|
ee8ee2437b28ab8bf6f48af15b8b446fb5d55e90 |
|
15-Nov-2012 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: eevn better handling of signals add interceptor for poll() in addition process signals in every atomic op in addition process signals in blocking libc functions git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@168050 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/tsan/rtl/tsan_rtl.h
|
a7bf04e398c79de110d672fbb27d09c6b50e9870 |
|
13-Nov-2012 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: remove unused const git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@167835 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/tsan/rtl/tsan_rtl.h
|
54e0a9a391616bbd2a4f0fd2d01076291274cb98 |
|
07-Nov-2012 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: do not sleep at exit if there are no other threads git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@167533 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/tsan/rtl/tsan_rtl.h
|
538f1ba8cb57cfa02d25f8f922feb00975e0a286 |
|
07-Nov-2012 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: more precise handling of finalizers git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@167530 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/tsan/rtl/tsan_rtl.h
|
a05fcc1e3e045097f2f1a20798cbe038bbb1d6a9 |
|
06-Nov-2012 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: lazily allocate shadow for Go git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@167464 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/tsan/rtl/tsan_rtl.h
|
b1fe3021eca0843e37878d224ee7f32e32f40d99 |
|
02-Nov-2012 |
Alexey Samsonov <samsonov@google.com> |
[TSan] finally remove TsanPrintf in favor of Printf from sanitizer_common git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@167294 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/tsan/rtl/tsan_rtl.h
|
158c6ac3bb46753db217f9c2c73485811a3a1890 |
|
05-Oct-2012 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: cache pc's that cause suppressions (this way we do not need to symbolize the reports) git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@165317 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/tsan/rtl/tsan_rtl.h
|
e0023f74ea88efee329f68391b70f8adc6b21617 |
|
02-Oct-2012 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: fix mac build git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@165004 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/tsan/rtl/tsan_rtl.h
|
7dccf3f92a867f917ad19f9a6b37bcf93e64b35b |
|
02-Oct-2012 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: output tid's in reports git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@164998 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/tsan/rtl/tsan_rtl.h
|
7eff311e3e969ae084aadba7d7812591e34d08ab |
|
27-Sep-2012 |
Alexey Samsonov <samsonov@google.com> |
[TSan] move replacement for new/delete back into tsan_interceptors git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@164764 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/tsan/rtl/tsan_rtl.h
|
4f0ea398bdc99a4a32402057c23bbcc6d19a8eb4 |
|
24-Sep-2012 |
Alexey Samsonov <samsonov@google.com> |
[TSan] Provide replacements for operators new/delete instead of declaring extern C functions with weirdly mangled names (same strategy is used in ASan). git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@164487 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/tsan/rtl/tsan_rtl.h
|
2135d8a7f4ba30fe35ed02d5e6ffd59a95b26219 |
|
13-Sep-2012 |
Alexey Samsonov <samsonov@google.com> |
[TSan] fix a bunch of warnings reported by pedantic gcc git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@163788 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/tsan/rtl/tsan_rtl.h
|
591616d323d73b7ea7cd8fea4eec46cedccda27e |
|
11-Sep-2012 |
Alexey Samsonov <samsonov@google.com> |
[Sanitizer] Get rid of dependency between sanitizer_common and asan/tsan runtimes: implement tool-specific Die and CheckFailed functions via callbacks git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@163603 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/tsan/rtl/tsan_rtl.h
|
41e8153c4a29b28bc7c80d35bc1d43438acdd4e7 |
|
02-Sep-2012 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: insert cfi directives into assembly (not fully working for now, though) git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@163090 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/tsan/rtl/tsan_rtl.h
|
1da1056127d1dbcacdd035eb4149257848f7c4df |
|
01-Sep-2012 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: better diagnostics for mutex misuse git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@163060 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/tsan/rtl/tsan_rtl.h
|
848531192777acecf79747dc7c1ffeedf5c1da9f |
|
31-Aug-2012 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: add "as if synchronized via sleep" feature git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@163006 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/tsan/rtl/tsan_rtl.h
|
ff35f1d82b4f145b3477ef27a7a2e7b63c486988 |
|
30-Aug-2012 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: use stack depot to describe heap blocks git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@162902 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/tsan/rtl/tsan_rtl.h
|
332c62b52b3603be872b28bd3ea5e739aa28cd05 |
|
16-Aug-2012 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: better diagnostics for destroy of a locked mutex + a test git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@162022 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/tsan/rtl/tsan_rtl.h
|
c20e9ba760a93706c9160133cdcce62194f9694f |
|
16-Aug-2012 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: implement RWLOCK annotations git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@162019 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/tsan/rtl/tsan_rtl.h
|
eee7f733f047bbd58b0787e6c492fd1bed375cc0 |
|
16-Aug-2012 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: fix COMPAT shadow mapping for new memory allocator git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@162018 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/tsan/rtl/tsan_rtl.h
|
26af89330051837bab68dcf25cf669c194b4e310 |
|
15-Aug-2012 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: provide function that imitates write to a region but does not detect races git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@161957 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/tsan/rtl/tsan_rtl.h
|
2e87051d136db3150a3ca322d8862f92b0a684bb |
|
15-Aug-2012 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: switch to new allocator git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@161953 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/tsan/rtl/tsan_rtl.h
|
9d150bdb433ddd092073dabd87ba15aa176603a1 |
|
28-Jul-2012 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: add ReleaseStore() function that merely copies vector clock rather than combines two clocks fix clock setup for finalizer goroutine (Go runtime) git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@160918 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/tsan/rtl/tsan_rtl.h
|
8f1104cbf1af615242e14c66d1b3dd9e8437b152 |
|
25-Jul-2012 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: suport for Go finalizers git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@160723 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/tsan/rtl/tsan_rtl.h
|
25d1c799087af5757ab6efc4a77558565fb1744a |
|
16-Jul-2012 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: use dynamic shadow stack for Go git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@160288 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/tsan/rtl/tsan_rtl.h
|
b78caa645f70eff2f037f1f8bb43ca9129dbd8d9 |
|
05-Jul-2012 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: Go language support git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@159754 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/tsan/rtl/tsan_rtl.h
|
1fc03d50a87302689482efa24b045a393097b6c3 |
|
28-Jun-2012 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: fix crashes if signal is caught during thread bootstrap or shutdown git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@159361 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/tsan/rtl/tsan_rtl.h
|
e96366613372e616fc6f2209b81b776f931a2c58 |
|
27-Jun-2012 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: refactor signal handling code (move some definitions out of common header) git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@159266 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/tsan/rtl/tsan_rtl.h
|
9ad7c32720dfa1287f8cfd481e5d583435178cae |
|
22-Jun-2012 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: do not call malloc/free in memory access handling routine. This improves signal-/fork-safety of instrumented programs. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@158988 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/tsan/rtl/tsan_rtl.h
|
7fdcdf5a3a7090ec86d426a815bb42f3d35adf13 |
|
06-Jun-2012 |
Alexey Samsonov <samsonov@google.com> |
[Sanitizer] Remove __attribute__((format)) git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@158070 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/tsan/rtl/tsan_rtl.h
|
e954101f6602ac181a2c3accfbbad0ae51b0bf7c |
|
06-Jun-2012 |
Alexey Samsonov <samsonov@google.com> |
[Sanitizer]: Introduce a common internal printf function. For now, also use tool-specific wrappers TsanPrintf (its output is controlled by TSan flags) and AsanPrintf (which copies its results to the ASan-private buffer). Supported formats: %[z]{d,u,x}, %s, %p. Re-write all format strings in TSan according to this format (this should have no effect on 64-bit platforms). git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@158065 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/tsan/rtl/tsan_rtl.h
|
67a64dd8259fdbd867633b27f54d584f435f1ce6 |
|
06-Jun-2012 |
Alexey Samsonov <samsonov@google.com> |
[TSan] run some renaming as a preparation for factoring out Printf implementation. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@158058 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/tsan/rtl/tsan_rtl.h
|
9edf7508e4ad536d26a202224548081d36eddd70 |
|
06-Jun-2012 |
Alexey Samsonov <samsonov@google.com> |
[Sanitizer] add sanitizer_common.h for routines shared between TSan and ASan runtimes. Use __sanitizer::Die() in TSan. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@158050 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/tsan/rtl/tsan_rtl.h
|
5aa3f227be0a8934dedc0321f6913140fca60a94 |
|
24-May-2012 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: fix compilation with newest clang git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@157391 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/tsan/rtl/tsan_rtl.h
|
adfb65039646774f0f063b538f8fb0aec021f42b |
|
22-May-2012 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: add shadow memory flush + fix few bugs git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@157270 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/tsan/rtl/tsan_rtl.h
|
9d2ffc2ee08216f8fad9b1bd267d1f112e0d2f01 |
|
22-May-2012 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: reduce per-thread memory usage git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@157252 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/tsan/rtl/tsan_rtl.h
|
e784ad46359c898e48d0262f28a1b7b4a512f1d3 |
|
21-May-2012 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: replace CHECK with CHECK_EQ for better diagnostics git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@157181 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/tsan/rtl/tsan_rtl.h
|
d91d06794506f10fb7599a2b835222fba29394e0 |
|
21-May-2012 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: better, more realistic handling of signals git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@157178 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/tsan/rtl/tsan_rtl.h
|
b7b6b1cd9df0c954b1f890fcebf373db984923b3 |
|
17-May-2012 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: remove shutdown code tsan runtime shutdown is problematic for 2 reasons: 1. others crash during shutdown 2. we have to override user exit status (don't know it and can't return from atexit handler) git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@156991 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/tsan/rtl/tsan_rtl.h
|
069ce828e3057819ee34426496ea7080f7cc52f0 |
|
17-May-2012 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: detect accesses to freed memory http://codereview.appspot.com/6214052 git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@156990 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/tsan/rtl/tsan_rtl.h
|
f5820e74ad31eb8352049c880f8d58e286a9b713 |
|
14-May-2012 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: enabled report suppression for signal-unsafe reports git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@156765 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/tsan/rtl/tsan_rtl.h
|
3d6ae1580e5f34f02d24ff0c8bb352a5026c327a |
|
11-May-2012 |
Kostya Serebryany <kcc@google.com> |
[tsan] run more kinds of builds as presubmit test (and fix gcc debug build) git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@156616 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/tsan/rtl/tsan_rtl.h
|
7ac41484ea322e0ea5774df681660269f5dc321e |
|
10-May-2012 |
Kostya Serebryany <kcc@google.com> |
[tsan] First commit of ThreadSanitizer (TSan) run-time library. Algorithm description: http://code.google.com/p/thread-sanitizer/wiki/ThreadSanitizerAlgorithm Status: The tool is known to work on large real-life applications, but still has quite a few rough edges. Nothing is guaranteed yet. The tool works on x86_64 Linux. Support for 64-bit MacOS 10.7+ is planned for late 2012. Support for 32-bit OSes is doable, but problematic and not yet planed. Further commits coming: - tests - makefiles - documentation - clang driver patch The code was previously developed at http://code.google.com/p/data-race-test/source/browse/trunk/v2/ by Dmitry Vyukov and Kostya Serebryany with contributions from Timur Iskhodzhanov, Alexander Potapenko, Alexey Samsonov and Evgeniy Stepanov. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@156542 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/tsan/rtl/tsan_rtl.h
|