summaryrefslogtreecommitdiffstats
path: root/compiler-rt/lib/tsan/dd/dd_interceptors.cc
Commit message (Collapse)AuthorAgeFilesLines
* compiler-rt: Rename .cc file in lib/tsan/{benchmarks,dd,go} to .cppNico Weber2019-08-011-328/+0
| | | | | | | | | Like r367463, but for tsan/{benchmarks,dd,go}. The files benchmarks aren't referenced in the build anywhere and where added in 2012 with the comment "no Makefiles yet". llvm-svn: 367567
* Update the file headers across all of the LLVM projects in the monorepoChandler Carruth2019-01-191-4/+3
| | | | | | | | | | | | | | | | | to reflect the new license. We understand that people may be surprised that we're moving the header entirely to discuss the new license. We checked this carefully with the Foundation's lawyer and we believe this is the correct approach. Essentially, all code in the project is now made available by the LLVM project under our new license, so you will see that the license headers include that license only. Some of our contributors have contributed code under our old license, and accordingly, we have retained a copy of our old license notice in the top-level files in each project and repository. llvm-svn: 351636
* Refactor MemoryMappingLayout::Next to use a single struct instead of output ↵Francis Ricci2017-07-111-10/+9
| | | | | | | | | | | | | | | | | | | | | | | | | parameters. NFC. Summary: This is the first in a series of patches to refactor sanitizer_procmaps to allow MachO section information to be exposed on darwin. In addition, grouping all segment information in a single struct is cleaner than passing it through a large set of output parameters, and avoids the need for annotations of NULL parameters for unneeded information. The filename string is optional and must be managed and supplied by the calling function. This is to allow the MemoryMappedSegment struct to be stored on the stack without causing overly large stack sizes. Reviewers: alekseyshl, kubamracek, glider Subscribers: emaste, llvm-commits Differential Revision: https://reviews.llvm.org/D35135 llvm-svn: 307688
* [tsan] Switch to InternalAlloc everywhere __libc_malloc is currently usedKuba Brecka2016-06-061-3/+0
| | | | | | | | | | This patch replaces all uses of __libc_malloc and friends with the internal allocator. It seems that the only reason why we have calls to __libc_malloc in the first place was the lack of the internal allocator at the time. Using the internal allocator will also make sure that the system allocator is never used (this is the same behavior as ASan), and we don’t have to worry about working with unknown pointers coming from the system allocator. Differential Revision: http://reviews.llvm.org/D21025 llvm-svn: 271916
* tsan: use attribute instead of compiler flag for tls-model=initial-exec as ↵Dmitry Vyukov2014-03-191-0/+2
| | | | | | asked in comments for r203111 llvm-svn: 204232
* tsan: deadlock detector: add ability to ignore destruction of global mutexesDmitry Vyukov2014-03-181-2/+33
| | | | llvm-svn: 204146
* tsan: lazily initialize deadlock detector runtimeDmitry Vyukov2014-03-181-13/+43
| | | | | | this is necessaary because dlsym can call malloc, which can lock mutexes that we intercept llvm-svn: 204141
* tsan: add missing interceptor for embed symbolizerDmitry Vyukov2014-03-181-0/+18
| | | | llvm-svn: 204124
* tsan: implement new version of standalong deadlock detectorDmitry Vyukov2014-03-051-17/+96
| | | | | | | intercept pthread_cond (it is required to properly track state of mutexes) detect cycles in mutex graph llvm-svn: 202975
* tsan: add interceptors for pthread_spinlock_t and ptread_rwlock_t for ↵Dmitry Vyukov2014-03-051-7/+102
| | | | | | deadlock detector llvm-svn: 202947
* tsan: add dynamic library target for standalone deadlock detectorDmitry Vyukov2014-03-041-0/+10
| | | | | | it's LD_PRELOAD-able llvm-svn: 202843
* tsan: add standalone deadlock detectorDmitry Vyukov2014-02-281-0/+68
llvm-svn: 202505
OpenPOWER on IntegriCloud