History log of /external/compiler-rt/lib/tsan/rtl/tsan_suppressions.cc
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
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_suppressions.cc
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_suppressions.cc
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_suppressions.cc
da506a9ae831f275267ddc9ee74e5474246369b1 03-Sep-2013 Alexey Samsonov <samsonov@google.com> [TSan] fixup for r189791: don't put ; on the newline

git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@189792 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/tsan/rtl/tsan_suppressions.cc
a117492b30509744a2b3e1e84c7b56e9ad76c0c9 03-Sep-2013 Dmitry Vyukov <dvyukov@google.com> tsan: add suppressions for true/false positives in standard libraries


git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@189791 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/tsan/rtl/tsan_suppressions.cc
45c652e3b3068f5a0626977e4506c71cfdba8ad3 07-Aug-2013 Alexander Potapenko <glider@google.com> [TSan] Let the users suppress use-after-free errors using the "race:" suppressions.

If there's a race between a memory access and a free() call in the client program,
it can be reported as a use-after-free (if the access occurs after the free()) or an ordinary race
(if free() occurs after the access).
We've decided to use a single "race:" prefix for both cases instead of introducing a "use-after-free:" one,
because in many cases this allows us to keep a single suppression for both the use-after-free and free-after-use.

This may be misleading if the use-after-free occurs in a non-racy way (e.g. in a single-threaded program).
But normally such bugs shall not be suppressed.



git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@187885 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/tsan/rtl/tsan_suppressions.cc
f2c844564c14e5438494083bf6db304a33673df2 26-Jun-2013 Sergey Matveev <earthdok@google.com> [tsan] Fix build.

git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@184963 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/tsan/rtl/tsan_suppressions.cc
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_suppressions.cc
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_suppressions.cc
24cdfee9776abddcd6c96240e398706667029e0d 29-May-2013 Dmitry Vyukov <dvyukov@google.com> tsan: match "race" suppressions against "race on vptr" reports


git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@182842 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/tsan/rtl/tsan_suppressions.cc
0b694fcab9b2f33bdd6691cbea4e80a5c27191b1 17-May-2013 Peter Collingbourne <peter@pcc.me.uk> [nolibc] Move all platforms to internal_getpid.

Before, we had an unused internal_getpid function for Linux, and a
platform-independent GetPid function. To make the naming conventions
consistent for syscall-like functions, the GetPid syscall wrapper
in sanitizer_posix.cc is moved to sanitizer_mac.cc, and GetPid is
renamed to internal_getpid, bringing the Linux variant into use.

git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@182132 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/tsan/rtl/tsan_suppressions.cc
9578a3ecfc35a264ede1135033398e2a77a6cad6 08-May-2013 Peter Collingbourne <peter@pcc.me.uk> [nolibc] Change internal syscall API to remove reliance on libc's errno.

This change moves to a model where the error value of a system call is
potentially contained in the return value itself rather than being
implicit in errno. The helper function internal_iserror can be used
to extract the error value from a return value. On platforms other
than Linux/x86_64 this still uses errno, but other platforms are free
to port their error handling to this new model.

Differential Revision: http://llvm-reviews.chandlerc.com/D756

git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@181436 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/tsan/rtl/tsan_suppressions.cc
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_suppressions.cc
15190a6f0f086737f2fcffe16a58ed42939ef081 14-Feb-2013 Dmitry Vyukov <dvyukov@google.com> tsan: fix bug in suppression reading (suppressions from file were discarded)


git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@175153 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/tsan/rtl/tsan_suppressions.cc
ee7cc4454421a176d23442382afd9a01d36e7ad4 01-Feb-2013 Alexey Samsonov <samsonov@google.com> [Sanitizer] make internal_open have the same interface as libc version

git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@174187 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/tsan/rtl/tsan_suppressions.cc
c2b9f1c1d54e857e56462e65155381faddf398df 24-Jan-2013 Dmitry Vyukov <dvyukov@google.com> tsan: allow a front-end to provide default suppressions


git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@173345 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/tsan/rtl/tsan_suppressions.cc
6422c32996ec2d65b2ebc77dda36b613dbd1571a 04-Dec-2012 Dmitry Vyukov <dvyukov@google.com> tsan: check if PWD env var is absent
On some programs I see:
failed to open suppressions file '<null>/testing/tsan/v2/tsan.supp'



git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@169230 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/tsan/rtl/tsan_suppressions.cc
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_suppressions.cc
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_suppressions.cc
1dc4cf7e253aefa3ce3bd4a1d349a13647e8b2ea 05-Sep-2012 Alexey Samsonov <samsonov@google.com> [Sanitizer] Remove implicit conversion of InternalScopedBuffer<T> to T*

git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@163197 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/tsan/rtl/tsan_suppressions.cc
14c8bd7250742749e44e306c02a56cf47ad1db82 22-Aug-2012 Alexey Samsonov <samsonov@google.com> [TSan] switch tsan to using InternalScopedBuffer from sanitizer_common

git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@162351 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/tsan/rtl/tsan_suppressions.cc
d51a1a10cba87be50e9ada9fa21337c387edb237 27-Jun-2012 Dmitry Vyukov <dvyukov@google.com> tsan: prevent insertion of unwanted memset/memcpy/memcmp into runtime


git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@159294 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/tsan/rtl/tsan_suppressions.cc
de08c02aa3007a590bfb7d43f31d5b1a0e7d337c 19-Jun-2012 Alexey Samsonov <samsonov@google.com> [Sanitizer] Renaming: SNPrintf -> internal_snprintf (and move it to sanitizer libc)

git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@158710 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/tsan/rtl/tsan_suppressions.cc
0969bcf2c936126b1f6e636b978aade8fc207437 18-Jun-2012 Alexey Samsonov <samsonov@google.com> [Sanitizer] move different wrappers from TSan to common sanitizer runtime

git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@158655 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/tsan/rtl/tsan_suppressions.cc
88207ab15125e2f1e9b3d541b735b2b8aba9b6d9 15-Jun-2012 Alexey Samsonov <samsonov@google.com> [Sanitizer] Use DEFINE_REAL macro in TSan runtime to call libc implementations of functions. Move strchr to sanitizer_libc.

git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@158517 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/tsan/rtl/tsan_suppressions.cc
98c8780c22685af63c57ce5312a9ed730ee3408d 09-Jun-2012 Alexey Samsonov <samsonov@google.com> [TSan] use efficient real_memcpy inside runtime

git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@158260 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/tsan/rtl/tsan_suppressions.cc
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_suppressions.cc
b9a30e0799787a99147e2587ef5ecc8c5f224160 05-Jun-2012 Alexey Samsonov <samsonov@google.com> [Sanitizer] remove using namespace __sanitizer lines

git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@157999 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/tsan/rtl/tsan_suppressions.cc
7f9c5a220b2768a450696bbd157a0e6f2e9ceea3 05-Jun-2012 Alexey Samsonov <samsonov@google.com> [TSan] use __sanitizer::internal_open in TSan run-time

git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@157988 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/tsan/rtl/tsan_suppressions.cc
603c4be006d8c53905d736bf1f19a49f5ce98276 04-Jun-2012 Alexey Samsonov <samsonov@google.com> Remove file-type tags in .cc files in tsan/ and sanitizer_common/

git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@157928 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/tsan/rtl/tsan_suppressions.cc
a13749bd7b3629a3498e765960729a8ade5db7cf 31-May-2012 Dmitry Vyukov <dvyukov@google.com> tsan: fix a typo


git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@157744 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/tsan/rtl/tsan_suppressions.cc
20f60c53c446f42af2b4ebc3b85f6a5042be6904 31-May-2012 Dmitry Vyukov <dvyukov@google.com> tsan: suppress reports against source file names as well


git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@157739 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/tsan/rtl/tsan_suppressions.cc
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_suppressions.cc
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_suppressions.cc