summaryrefslogtreecommitdiffstats
path: root/compiler-rt/lib/tsan/go
Commit message (Collapse)AuthorAgeFilesLines
...
* [TSan] Fix remaining bashism in buildgo.sh script.Alexey Samsonov2015-02-021-1/+3
| | | | llvm-svn: 227893
* [TSan] Fix Go sanity check script.Alexey Samsonov2015-02-021-7/+11
| | | | llvm-svn: 227870
* [TSan] Add Go runtime sanity check to CMake build.Alexey Samsonov2015-02-021-7/+27
| | | | llvm-svn: 227852
* [TSan] Fix Go build.Alexey Samsonov2015-01-301-0/+3
| | | | llvm-svn: 227634
* tsan: remove TSAN_SHADOW_COUNTDmitry Vyukov2015-01-192-2/+2
| | | | | | | | | 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
* [TSan] Fix Go build.Alexey Samsonov2015-01-071-7/+0
| | | | llvm-svn: 225336
* Remove TSAN_DEBUG in favor of SANITIZER_DEBUG.Alexey Samsonov2015-01-032-3/+3
| | | | llvm-svn: 225111
* [tsan] remove TSAN_GO in favor of SANITIZER_GOKostya Serebryany2014-12-092-2/+2
| | | | llvm-svn: 223732
* Simplify Symbolizer::SymbolizePC() interface.Alexey Samsonov2014-12-022-7/+9
| | | | | | | | | | | 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
* tsan: fix Go buildDmitry Vyukov2014-11-191-0/+1
| | | | llvm-svn: 222342
* [TSan] Make ReportStack contain __sanitizer::AddressInfo object.Alexey Samsonov2014-11-041-17/+6
| | | | | | | | | | 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
* [TSan} Build Go version with -std=c++11Alexey Samsonov2014-11-031-1/+1
| | | | llvm-svn: 221192
* [TSan] Try to fix Go runtime buildAlexey Samsonov2014-08-061-1/+3
| | | | llvm-svn: 215000
* tsan: expose atomic operations in Go runtimeDmitry Vyukov2014-07-183-1/+10
| | | | llvm-svn: 213382
* tsan: fix windows build scriptDmitry Vyukov2014-06-201-1/+1
| | | | llvm-svn: 211422
* tsan: add Go build script for freebsdDmitry Vyukov2014-06-201-5/+16
| | | | llvm-svn: 211419
* tsan: fix argument passing in Go interfaceDmitry Vyukov2014-06-061-3/+3
| | | | | | Go calling convention does not support bools (it probably works, but uptrs are safer) llvm-svn: 210365
* tsan: allow to build Go runtime with clang + enable SSE3Dmitry Vyukov2014-06-061-5/+7
| | | | llvm-svn: 210344
* tsan: refactor storage of meta information for heap blocks and sync objectsDmitry Vyukov2014-05-292-1/+2
| | | | | | | | | | | | | | | 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
* [tsan] Fix gotsan build.Evgeniy Stepanov2014-05-211-0/+1
| | | | llvm-svn: 209286
* tsan: stop background thread when sandbox is enabledDmitry Vyukov2014-04-241-1/+5
| | | | | | Fixes https://code.google.com/p/thread-sanitizer/issues/detail?id=56 llvm-svn: 207114
* tsan: preliminary support for Go deadlock detectorDmitry Vyukov2014-03-192-2/+20
| | | | llvm-svn: 204228
* Remove sanitizer_linux_libcdep.cc from TSan-Go buildAlexey Samsonov2014-03-071-1/+0
| | | | llvm-svn: 203238
* tsan: update Go windows build script Dmitry Vyukov2014-03-061-1/+1
| | | | llvm-svn: 203121
* tsan: update interface for GoDmitry Vyukov2014-03-062-5/+8
| | | | | | | this is required to fix: https://code.google.com/p/go/issues/detail?id=7460 llvm-svn: 203116
* tsan: refactor deadlock detectorDmitry Vyukov2014-02-281-0/+1
| | | | | | | | 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
* tsan: simplify Go build scriptDmitry Vyukov2014-02-061-4/+1
| | | | | | we don't use assembly files llvm-svn: 200916
* tsan: remove unused functionsDmitry Vyukov2014-02-061-18/+0
| | | | llvm-svn: 200915
* tsan: ensure proper alignment of mmaps on windowsDmitry Vyukov2014-02-051-2/+3
| | | | llvm-svn: 200832
* tsan: add windows native build scriptDmitry Vyukov2014-02-041-0/+4
| | | | llvm-svn: 200780
* tsan: update Go public interfaceDmitry Vyukov2014-02-042-8/+7
| | | | | | in preparation for https://codereview.appspot.com/55100044 llvm-svn: 200766
* tsan: update public Go interfaceDmitry Vyukov2014-02-042-23/+55
| | | | | | in preparation for https://codereview.appspot.com/55100044 llvm-svn: 200750
* [Sanitizer] Remove now unused symbolization functionality from ↵Alexey Samsonov2013-12-251-2/+0
| | | | | | MemoryMappingLayout llvm-svn: 198014
* [TSan] fix Go buildAlexey Samsonov2013-12-251-1/+5
| | | | llvm-svn: 198005
* tsan: remove in_rtl counterDmitry Vyukov2013-12-241-18/+0
| | | | | | | | 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
* tsan: add memory_limit_mb flagDmitry Vyukov2013-10-031-0/+1
| | | | | | | 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
* tsan: remove unneeded ___chkstk_ms function from Go runtimeDmitry Vyukov2013-09-222-36/+2
| | | | llvm-svn: 191161
* tsan: better report formatting for GoDmitry Vyukov2013-08-162-6/+18
| | | | | | | Say that gorotuine 1 is main goroutine. Remove excessive new line. llvm-svn: 188542
* [TSan] try to fix Go buildAlexey Samsonov2013-06-271-0/+1
| | | | llvm-svn: 185063
* tsan: add -Wno-maybe-uninitialized to Go build scriptDmitry Vyukov2013-06-111-1/+1
| | | | | | this is how the rest of the codebase is built llvm-svn: 183738
* tsan: use memory access size for Go after allDmitry Vyukov2013-06-061-2/+4
| | | | | | helps to make range access functions correct and fast llvm-svn: 183418
* tsan: fix darwin Go buildDmitry Vyukov2013-06-061-0/+1
| | | | llvm-svn: 183402
* [TSan] Try to fix the Go-TSan build.Alexander Potapenko2013-05-231-0/+8
| | | | llvm-svn: 182582
* [nolibc] Move libc-dependent sanitizer_posix.cc code to ↵Peter Collingbourne2013-05-211-0/+1
| | | | | | sanitizer_posix_libcdep.cc. llvm-svn: 182366
* [nolibc] Move libc-dependent sanitizer_linux.cc code to ↵Peter Collingbourne2013-05-201-0/+1
| | | | | | sanitizer_linux_libcdep.cc. llvm-svn: 182292
* [sanitizer] More renamed macros.Evgeniy Stepanov2013-03-191-1/+1
| | | | llvm-svn: 177401
* tsan: fix Go buildDmitry Vyukov2013-03-181-1/+2
| | | | llvm-svn: 177260
* tsan: do not imitate memory write on malloc() (Go)Dmitry Vyukov2013-02-131-5/+3
| | | | | | better memory range access functions (put only 1 event to trace) (Go) llvm-svn: 175056
* tsan: detect races between plain and atomic memory accessesDmitry Vyukov2013-02-011-4/+4
| | | | llvm-svn: 174163
* tsan: switch to explicit thread contexts in Go (instead of monotonic ↵Dmitry Vyukov2013-01-312-69/+51
| | | | | | goroutine ids) llvm-svn: 174047
OpenPOWER on IntegriCloud