| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
|
|
|
| |
llvm-svn: 227893
|
|
|
|
| |
llvm-svn: 227870
|
|
|
|
| |
llvm-svn: 227852
|
|
|
|
| |
llvm-svn: 227634
|
|
|
|
|
|
|
|
|
| |
TSAN_SHADOW_COUNT is defined to 4 in all environments.
Other values of TSAN_SHADOW_COUNT were never tested and
were broken by recent changes to shadow mapping.
Remove it as there is no reason to fix nor maintain it.
llvm-svn: 226466
|
|
|
|
| |
llvm-svn: 225336
|
|
|
|
| |
llvm-svn: 225111
|
|
|
|
| |
llvm-svn: 223732
|
|
|
|
|
|
|
|
|
|
|
| |
Return a linked list of AddressInfo objects, instead of using an array of
these objects as an output parameter. This simplifies the code in callers
of this function (especially TSan).
Fix a few memory leaks from internal allocator, when the returned
AddressInfo objects were not properly cleared.
llvm-svn: 223145
|
|
|
|
| |
llvm-svn: 222342
|
|
|
|
|
|
|
|
|
|
| |
AddressInfo contains the results of symbolization. Store this object
directly in the symbolized stack, instead of copying data around and
making unnecessary memory allocations.
No functionality change.
llvm-svn: 221294
|
|
|
|
| |
llvm-svn: 221192
|
|
|
|
| |
llvm-svn: 215000
|
|
|
|
| |
llvm-svn: 213382
|
|
|
|
| |
llvm-svn: 211422
|
|
|
|
| |
llvm-svn: 211419
|
|
|
|
|
|
| |
Go calling convention does not support bools (it probably works, but uptrs are safer)
llvm-svn: 210365
|
|
|
|
| |
llvm-svn: 210344
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The new storage (MetaMap) is based on direct shadow (instead of a hashmap + per-block lists).
This solves a number of problems:
- eliminates quadratic behaviour in SyncTab::GetAndLock (https://code.google.com/p/thread-sanitizer/issues/detail?id=26)
- eliminates contention in SyncTab
- eliminates contention in internal allocator during allocation of sync objects
- removes a bunch of ad-hoc code in java interface
- reduces java shadow from 2x to 1/2x
- allows to memorize heap block meta info for Java and Go
- allows to cleanup sync object meta info for Go
- which in turn enabled deadlock detector for Go
llvm-svn: 209810
|
|
|
|
| |
llvm-svn: 209286
|
|
|
|
|
|
| |
Fixes https://code.google.com/p/thread-sanitizer/issues/detail?id=56
llvm-svn: 207114
|
|
|
|
| |
llvm-svn: 204228
|
|
|
|
| |
llvm-svn: 203238
|
|
|
|
| |
llvm-svn: 203121
|
|
|
|
|
|
|
| |
this is required to fix:
https://code.google.com/p/go/issues/detail?id=7460
llvm-svn: 203116
|
|
|
|
|
|
|
|
| |
Introduce DDetector interface between the tool and the DD itself.
It will help to experiment with other DD implementation,
as well as reuse DD in other tools.
llvm-svn: 202485
|
|
|
|
|
|
| |
we don't use assembly files
llvm-svn: 200916
|
|
|
|
| |
llvm-svn: 200915
|
|
|
|
| |
llvm-svn: 200832
|
|
|
|
| |
llvm-svn: 200780
|
|
|
|
|
|
| |
in preparation for https://codereview.appspot.com/55100044
llvm-svn: 200766
|
|
|
|
|
|
| |
in preparation for https://codereview.appspot.com/55100044
llvm-svn: 200750
|
|
|
|
|
|
| |
MemoryMappingLayout
llvm-svn: 198014
|
|
|
|
| |
llvm-svn: 198005
|
|
|
|
|
|
|
|
| |
This is intended to address the following problem.
Episodically we see CHECK-failures when recursive interceptors call back into user code. Effectively we are not "in_rtl" at this point, but it's very complicated and fragile to properly maintain in_rtl property. Instead get rid of it. It was used mostly for sanity CHECKs, which basically never uncover real problems.
Instead introduce ignore_interceptors flag, which is used in very few narrow places to disable recursive interceptors (e.g. during runtime initialization).
llvm-svn: 197979
|
|
|
|
|
|
|
| |
The flag allows to bound maximum process memory consumption (best effort).
If RSS reaches memory_limit_mb, tsan flushes all shadow memory.
llvm-svn: 191913
|
|
|
|
| |
llvm-svn: 191161
|
|
|
|
|
|
|
| |
Say that gorotuine 1 is main goroutine.
Remove excessive new line.
llvm-svn: 188542
|
|
|
|
| |
llvm-svn: 185063
|
|
|
|
|
|
| |
this is how the rest of the codebase is built
llvm-svn: 183738
|
|
|
|
|
|
| |
helps to make range access functions correct and fast
llvm-svn: 183418
|
|
|
|
| |
llvm-svn: 183402
|
|
|
|
| |
llvm-svn: 182582
|
|
|
|
|
|
| |
sanitizer_posix_libcdep.cc.
llvm-svn: 182366
|
|
|
|
|
|
| |
sanitizer_linux_libcdep.cc.
llvm-svn: 182292
|
|
|
|
| |
llvm-svn: 177401
|
|
|
|
| |
llvm-svn: 177260
|
|
|
|
|
|
| |
better memory range access functions (put only 1 event to trace) (Go)
llvm-svn: 175056
|
|
|
|
| |
llvm-svn: 174163
|
|
|
|
|
|
| |
goroutine ids)
llvm-svn: 174047
|