summaryrefslogtreecommitdiffstats
path: root/compiler-rt/lib/asan/asan_stats.h
Commit message (Collapse)AuthorAgeFilesLines
* Revert r369472 and r369441Vitaly Buka2019-08-211-1/+1
| | | | | | check-sanitizer does not work on Linux llvm-svn: 369495
* [AArch64] Speed-up leak and address sanitizers on AArch64 for 48-bit VMASebastian Pop2019-08-201-1/+1
| | | | | | | | | | | | | | | | | | This patch fixes https://github.com/google/sanitizers/issues/703 On a Graviton-A1 aarch64 machine with 48-bit VMA, the time spent in LSan and ASan reduced from 2.5s to 0.01s when running clang -fsanitize=leak compiler-rt/test/lsan/TestCases/sanity_check_pure_c.c && time ./a.out clang -fsanitize=address compiler-rt/test/lsan/TestCases/sanity_check_pure_c.c && time ./a.out With this patch, LSan and ASan create both the 32 and 64 allocators and select at run time between the two allocators following a global variable that is initialized at init time to whether the allocator64 can be used in the virtual address space. Differential Revision: https://reviews.llvm.org/D60243 llvm-svn: 369441
* 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
* [ASan] Clean up obsolete stats.Alexey Samsonov2015-06-261-7/+1
| | | | | | | | Remove stats that we no longer collect after the allocator change. Use proper constant SizeClassMap::kNumClasses to fix potential buffer overflow (https://code.google.com/p/address-sanitizer/issues/detail?id=397). llvm-svn: 240816
* [ASan] Clarify that AsanThread objects are allocated only via mmap(). No ↵Alexey Samsonov2013-11-271-2/+2
| | | | | | functionality change. llvm-svn: 195840
* Improve collecting malloc stats in ASanAlexey Samsonov2013-09-021-7/+5
| | | | | | | | | | | | | | | | Summary: This change makes races between updates of thread-local stats and merging all the thread-local stats together less harmful. Reviewers: kcc Reviewed By: kcc CC: dvyukov, llvm-commits Differential Revision: http://llvm-reviews.chandlerc.com/D1572 llvm-svn: 189744
* [ASan] Switch ASan to generic ThreadRegistry from sanitizer_common. Delete ↵Alexey Samsonov2013-03-211-2/+0
| | | | | | ASan-specific AsanThreadRegistry. llvm-svn: 177634
* [ASan] Move malloc stats collection away from AsanThreadRegistry class.Alexey Samsonov2013-03-201-0/+13
| | | | llvm-svn: 177508
* [asan] asan_allocator2: add mmap/munmap statsKostya Serebryany2012-12-191-0/+2
| | | | llvm-svn: 170548
* Give more accurate malloc statistics to malloc_zone_statistics().Alexander Potapenko2012-09-121-0/+8
| | | | | | Fix a warning in macros instantiation. llvm-svn: 163716
* [asan] more renamingKostya Serebryany2012-05-311-21/+21
| | | | llvm-svn: 157746
* AddressSanitizer run-time library. Not yet integrated with the compiler-rt ↵Kostya Serebryany2011-11-301-0/+59
build system, but can be built using the old makefile. See details in README.txt llvm-svn: 145463
OpenPOWER on IntegriCloud