summaryrefslogtreecommitdiff
path: root/lib/tsan/lit_tests/java_alloc.cc
Commit message (Collapse)AuthorAge
* tsan: ignore interceptors coming from specified librariesDmitry Vyukov2013-10-03
| | | | | | | | | | | | | | | 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
* tsan: ignore all interceptors coming directly from JVMDmitry Vyukov2013-09-21
| | | | git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@191152 91177308-0d34-0410-b5e6-96231b3b80d8
* tsan: work around FileCheck feature that it does not accept empty inputDmitry Vyukov2012-12-24
| | | | git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@171034 91177308-0d34-0410-b5e6-96231b3b80d8
* tsan: more defensive file descriptor verificationDmitry Vyukov2012-12-24
| | | | | | | to prevent assertion failures on code like "write(-1, ...)" git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@171030 91177308-0d34-0410-b5e6-96231b3b80d8
* tsan: add java malloc stress testDmitry Vyukov2012-12-21
git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@170896 91177308-0d34-0410-b5e6-96231b3b80d8