summaryrefslogtreecommitdiff
path: root/lib/sanitizer_common/sanitizer_stackdepotbase.h
Commit message (Collapse)AuthorAgeFilesLines
* 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. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@351636 91177308-0d34-0410-b5e6-96231b3b80d8
* [sanitizer] Fix Clang-tidy modernize-use-nullptr warnings in ↵Kostya Serebryany2015-09-291-4/+6
| | | | | | lib/sanitizer_common headers, unify closing inclusion guards. Patch by Eugene Zelenko git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@248816 91177308-0d34-0410-b5e6-96231b3b80d8
* [Sanitizer] Return code that calculates hash for stacktrace back to ↵Alexey Samsonov2014-10-271-2/+2
| | | | | | StackDepot implementation git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@220663 91177308-0d34-0410-b5e6-96231b3b80d8
* [msan] Make origin tracking fork-safe.Evgeniy Stepanov2014-09-041-0/+19
| | | | | | | | | | Chained origins make plain memory stores async-signal-unsafe. We already disable it inside signal handlers. This change grabs all origin-related locks before fork() and releases them after fork() to avoid a deadlock in the child process. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@217140 91177308-0d34-0410-b5e6-96231b3b80d8
* [msan] Increase hash table size for chained origins.Evgeniy Stepanov2014-07-071-16/+20
| | | | git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@212448 91177308-0d34-0410-b5e6-96231b3b80d8
* [msan] Chained origins re-design.Evgeniy Stepanov2014-05-211-0/+153
Generalize StackDepot and create a new specialized instance of it to efficiently (i.e. without duplicating stack trace data) store the origin history tree. This reduces memory usage for chained origins roughly by an order of magnitude. Most importantly, this new design allows us to put two limits on stored history data (exposed in MSAN_OPTIONS) that help avoid exponential growth in used memory on certain workloads. See comments in lib/msan/msan_origin.h for more details. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@209284 91177308-0d34-0410-b5e6-96231b3b80d8