Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | tsan: switch to new memory_order constants (ABI compatible) | Dmitry Vyukov | 2012-11-09 | 2 | -13/+34 | |
| | | | | llvm-svn: 167614 | |||||
* | tsan: add __tsan_atomicX_compare_exchange_val() function | Dmitry Vyukov | 2012-11-09 | 2 | -0/+39 | |
| | | | | | | It's easier to call from compiler module. llvm-svn: 167611 | |||||
* | tsan: add range access functions for Go | Dmitry Vyukov | 2012-11-08 | 1 | -0/+12 | |
| | | | | llvm-svn: 167580 | |||||
* | tsan: change TSAN_OPTIONS->GORACE in build script as well | Dmitry Vyukov | 2012-11-08 | 1 | -1/+1 | |
| | | | | llvm-svn: 167578 | |||||
* | tsan: use GORACE env for options for Go | Dmitry Vyukov | 2012-11-08 | 4 | -3/+9 | |
| | | | | llvm-svn: 167575 | |||||
* | tsan: do not sleep at exit if there are no other threads | Dmitry Vyukov | 2012-11-07 | 4 | -1/+21 | |
| | | | | llvm-svn: 167533 | |||||
* | tsan: add flag to suppress all reports (useful for benchmarking) | Dmitry Vyukov | 2012-11-07 | 4 | -1/+13 | |
| | | | | llvm-svn: 167532 | |||||
* | tsan: more precise handling of finalizers | Dmitry Vyukov | 2012-11-07 | 6 | -23/+17 | |
| | | | | llvm-svn: 167530 | |||||
* | tsan: slightly relax requirements for lazy shadow memory (can overlap and ↵ | Dmitry Vyukov | 2012-11-06 | 2 | -10/+2 | |
| | | | | | | | | may not be properly aligned) it's problematic on windows where allocation granularity is much larger than page size llvm-svn: 167466 | |||||
* | tsan: lazily allocate shadow for Go | Dmitry Vyukov | 2012-11-06 | 9 | -33/+32 | |
| | | | | llvm-svn: 167464 | |||||
* | tsan: fix compiler warning | Dmitry Vyukov | 2012-11-06 | 1 | -1/+1 | |
| | | | | llvm-svn: 167458 | |||||
* | tsan: windows platform support | Dmitry Vyukov | 2012-11-06 | 1 | -0/+82 | |
| | | | | llvm-svn: 167457 | |||||
* | tsan: update script to support windows | Dmitry Vyukov | 2012-11-06 | 1 | -22/+23 | |
| | | | | llvm-svn: 167456 | |||||
* | tsan: add shadow mapping for windows | Dmitry Vyukov | 2012-11-06 | 1 | -2/+6 | |
| | | | | llvm-svn: 167455 | |||||
* | tsan: add missing function for windows | Dmitry Vyukov | 2012-11-06 | 1 | -0/+34 | |
| | | | | llvm-svn: 167454 | |||||
* | tsan: fix constant types | Dmitry Vyukov | 2012-11-06 | 1 | -4/+4 | |
| | | | | llvm-svn: 167453 | |||||
* | tsan: don't release disabled clocks | Dmitry Vyukov | 2012-11-06 | 2 | -1/+8 | |
| | | | | llvm-svn: 167451 | |||||
* | tsan: fix Go build | Dmitry Vyukov | 2012-11-06 | 1 | -1/+0 | |
| | | | | llvm-svn: 167446 | |||||
* | Update compiler-rt tests to match flag renaming/deprecation in Clang. | Richard Smith | 2012-11-06 | 2 | -3/+3 | |
| | | | | llvm-svn: 167434 | |||||
* | [Sanitizer] move unit test for Printf from tsan to sanitizer_common | Alexey Samsonov | 2012-11-02 | 2 | -107/+0 | |
| | | | | llvm-svn: 167296 | |||||
* | [TSan] finally remove TsanPrintf in favor of Printf from sanitizer_common | Alexey Samsonov | 2012-11-02 | 16 | -149/+109 | |
| | | | | llvm-svn: 167294 | |||||
* | [Sanitizer] Use kStderrFd constant instead of hardcoded 2 | Alexey Samsonov | 2012-11-02 | 1 | -1/+1 | |
| | | | | llvm-svn: 167291 | |||||
* | Flag -ccc-clang-cxx was removed in r166986, remove it from compiler-rt lit ↵ | Alexey Samsonov | 2012-10-30 | 1 | -1/+1 | |
| | | | | | | configs llvm-svn: 167010 | |||||
* | tsan: better message about found races for Go ThreadSanitizer | Dmitry Vyukov | 2012-10-07 | 1 | -0/+4 | |
| | | | | llvm-svn: 165376 | |||||
* | tsan: cache pc's that cause suppressions (this way we do not need to ↵ | Dmitry Vyukov | 2012-10-05 | 9 | -28/+62 | |
| | | | | | | symbolize the reports) llvm-svn: 165317 | |||||
* | tsan for Go: support mallocs before __tsan_init() (required to support cgo code) | Dmitry Vyukov | 2012-10-04 | 1 | -1/+3 | |
| | | | | llvm-svn: 165229 | |||||
* | tsan: add atomic_fetch_sub() and atomic_signal_fence() functions | Dmitry Vyukov | 2012-10-04 | 3 | -0/+41 | |
| | | | | llvm-svn: 165218 | |||||
* | tsan: prepare for migration to new memory_order enum values (ABI compatible) | Dmitry Vyukov | 2012-10-03 | 2 | -16/+37 | |
| | | | | llvm-svn: 165106 | |||||
* | tsan: fix mac build | Dmitry Vyukov | 2012-10-02 | 4 | -5/+5 | |
| | | | | llvm-svn: 165004 | |||||
* | tsan: wait for pending reports before exit | Dmitry Vyukov | 2012-10-02 | 1 | -0/+4 | |
| | | | | llvm-svn: 164999 | |||||
* | tsan: output tid's in reports | Dmitry Vyukov | 2012-10-02 | 11 | -9/+14 | |
| | | | | llvm-svn: 164998 | |||||
* | tsan: run output tests in parallel | Dmitry Vyukov | 2012-10-02 | 1 | -2/+4 | |
| | | | | llvm-svn: 164997 | |||||
* | Quick fix data/bss detection in TSan. | Evgeniy Stepanov | 2012-09-27 | 1 | -1/+4 | |
| | | | | | | | The old way breaks when a module's bss is adjacent to the [heap] vm area. Both ways are not very reliable, though. llvm-svn: 164772 | |||||
* | [TSan] move replacement for new/delete back into tsan_interceptors | Alexey Samsonov | 2012-09-27 | 5 | -76/+46 | |
| | | | | llvm-svn: 164764 | |||||
* | [TSan] fork external symbolizer before starting internal threads | Alexey Samsonov | 2012-09-25 | 1 | -3/+3 | |
| | | | | llvm-svn: 164600 | |||||
* | [TSan] one more attempt to fix sleep_sync test: call sleep in the spawned ↵ | Alexey Samsonov | 2012-09-24 | 1 | -7/+6 | |
| | | | | | | thread so that sleep-synchronization will be detected even if child thread is started late. llvm-svn: 164488 | |||||
* | [TSan] Provide replacements for operators new/delete instead of declaring ↵ | Alexey Samsonov | 2012-09-24 | 8 | -178/+181 | |
| | | | | | | extern C functions with weirdly mangled names (same strategy is used in ASan). llvm-svn: 164487 | |||||
* | [TSan] increase sleep time in test to ensure correct event ordering | Alexey Samsonov | 2012-09-24 | 1 | -2/+1 | |
| | | | | llvm-svn: 164483 | |||||
* | [CMake][tsan] Compile .S files for tsan as C instead of CXX. | Michael J. Spencer | 2012-09-21 | 1 | -1/+1 | |
| | | | | | | Using CXX breaks if you add -stdlib=libc++ to CMAKE_CXX_FLAGS. llvm-svn: 164422 | |||||
* | tsan: fix gcc4.2.1 warning | Dmitry Vyukov | 2012-09-19 | 1 | -1/+1 | |
| | | | | llvm-svn: 164200 | |||||
* | tsan: fix Go build | Dmitry Vyukov | 2012-09-19 | 3 | -2/+5 | |
| | | | | llvm-svn: 164198 | |||||
* | [TSan] s/uintptr_t/intptr_t in TSan test and enforce stack size limit in one ↵ | Alexey Samsonov | 2012-09-18 | 2 | -1/+3 | |
| | | | | | | of TSan output tests that somewhy fails otherwise llvm-svn: 164116 | |||||
* | [TSan] fix a typo in test dependencies. Silence few remaining pedantic gcc ↵ | Alexey Samsonov | 2012-09-18 | 4 | -6/+12 | |
| | | | | | | warnings in TSan tests. llvm-svn: 164115 | |||||
* | [TSan] port all output tests to lit and move them to lit_tests directory. ↵ | Alexey Samsonov | 2012-09-18 | 37 | -37/+193 | |
| | | | | | | This makes 'make check-tsan' command test both unit and output TSan tests. Old custom makefiles for running TSan tests are still functional as well. llvm-svn: 164110 | |||||
* | [TSan] move: rtl_tests->tests/rtl unit_tests->tests/unit to make a single ↵ | Alexey Samsonov | 2012-09-17 | 28 | -29/+78 | |
| | | | | | | root for gtest-based tests. Support running these tests from lit via check-tsan command. llvm-svn: 164022 | |||||
* | [TSan] If we detect an unlimited stack, try to re-exec with limited stack | Alexey Samsonov | 2012-09-17 | 1 | -0/+11 | |
| | | | | llvm-svn: 164021 | |||||
* | tsan: increase internal memory block limit 1GB->4GB | Dmitry Vyukov | 2012-09-17 | 1 | -1/+1 | |
| | | | | llvm-svn: 164011 | |||||
* | [TSan] support building TSan unittests in CMake | Alexey Samsonov | 2012-09-13 | 3 | -0/+59 | |
| | | | | llvm-svn: 163797 | |||||
* | [TSan] fix a typo in CMakeLists | Alexey Samsonov | 2012-09-13 | 1 | -1/+1 | |
| | | | | llvm-svn: 163796 | |||||
* | [TSan] Use interface attribute for weak functions that may be overriden by user | Alexey Samsonov | 2012-09-13 | 2 | -0/+2 | |
| | | | | llvm-svn: 163795 |