summaryrefslogtreecommitdiffstats
path: root/compiler-rt/lib/lsan/lsan_linux.cc
Commit message (Collapse)AuthorAgeFilesLines
* compiler-rt: Rename .cc file in lib/lsan to .cppNico Weber2019-08-011-32/+0
| | | | | | Like r367463, but for lsan. llvm-svn: 367561
* Add NetBSD LSan supportKamil Rytarowski2019-07-111-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | Summary: Combine few relatively small changes into one: - implement internal_ptrace() and internal_clone() for NetBSD - add support for stoptheworld based on the ptrace(2) API - define COMPILER_RT_HAS_LSAN for NetBSD - enable tests for NetBSD/amd64 Inspired by the original implementation by Christos Zoulas in netbsd/src for GCC. The implementation is in theory CPU independent through well defined macros across all NetBSD ports, however only the x86_64 version was tested. Reviewers: mgorny, dvyukov, vitalybuka, joerg, jfb Reviewed By: vitalybuka Subscribers: dexonsmith, jfb, srhines, kubamracek, llvm-commits, christos Tags: #llvm Differential Revision: https://reviews.llvm.org/D64057 llvm-svn: 365735
* 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
* Implement standalone lsan interceptors for OS XFrancis Ricci2017-04-111-0/+2
| | | | | | | | | | | | | | Summary: Mimicks the existing tsan and asan implementations of Darwin interception. Reviewers: kubamracek, kcc, glider Subscribers: llvm-commits, mgorny Differential Revision: https://reviews.llvm.org/D31889 llvm-svn: 299979
* Move current thread data out of lsan_common on linuxFrancis Ricci2017-03-291-0/+4
| | | | | | | | | | | | | | Summary: Now that we have a platform-specific non-common lsan file, use it to store non-common lsan data. Reviewers: kubamracek Subscribers: llvm-commits Differential Revision: https://reviews.llvm.org/D31472 llvm-svn: 299032
* Fix missing sanitizer platform includeFrancis Ricci2017-03-271-1/+2
| | | | llvm-svn: 298884
* Fix comment in lsan_linux.ccFrancis Ricci2017-03-271-1/+1
| | | | llvm-svn: 298879
* Move lsan allocator cache from lsan_common_linux to lsan_linuxFrancis Ricci2017-03-271-0/+26
Having this function in common seems to trigger a lot of unrelated test failures. Given that this isn't really common code anyway, move this to a new linux-specific lsan file. llvm-svn: 298878
OpenPOWER on IntegriCloud