summaryrefslogtreecommitdiff
path: root/lib/sanitizer_common/sanitizer_bitvector.h
AgeCommit message (Collapse)Author
2017-12-06Update other SizeEnums to be of type uptr as wellVlad Tsyrklevich
git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@319984 91177308-0d34-0410-b5e6-96231b3b80d8
2017-12-06Fix broken windows sanitizer buildbotVlad Tsyrklevich
r319875 caused a sign comparison build failure. Explicitly set the enum's type to be unsigned. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@319977 91177308-0d34-0410-b5e6-96231b3b80d8
2015-10-30Revert "Apply modernize-use-default to compiler-rt."Alexey Samsonov
This reverts commit r250823. Replacing at least some of empty constructors with "= default" variants is a semantical change which we don't want. E.g. __tsan::ClockBlock contains a union of large arrays, and it's critical for correctness and performance that we don't memset() these arrays in the constructor. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@251717 91177308-0d34-0410-b5e6-96231b3b80d8
2015-10-20Apply modernize-use-default to compiler-rt.Angel Garcia Gomez
Summary: Replace empty bodies of default constructors and destructors with '= default'. Reviewers: klimek, bkramer Subscribers: alexfh, cfe-commits Differential Revision: http://reviews.llvm.org/D13892 git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@250823 91177308-0d34-0410-b5e6-96231b3b80d8
2014-03-12Fix MSVS warnings in the sanitizers RTLTimur Iskhodzhanov
git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@203661 91177308-0d34-0410-b5e6-96231b3b80d8
2014-02-26Reapply r201910. MSVC gets __func__ defined explicitly, even though itJoerg Sonnenberger
can't build anything here. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@202297 91177308-0d34-0410-b5e6-96231b3b80d8
2014-02-22Revert "Replace __FUNCTION__ with __func__, the latter being standard ↵Reid Kleckner
C99/C++11." This reverts commit r201910. While __func__ may be standard in C++11, it was only recently added to MSVC in 2013 CTP, and LLVM supports MSVC 2012. __FUNCTION__ may not be standard, but it's *very* portable. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@201916 91177308-0d34-0410-b5e6-96231b3b80d8
2014-02-21Replace __FUNCTION__ with __func__, the latter being standard C99/C++11.Joerg Sonnenberger
git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@201910 91177308-0d34-0410-b5e6-96231b3b80d8
2014-02-17[sanitizer] implement node removal in Deadlock graphKostya Serebryany
git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@201509 91177308-0d34-0410-b5e6-96231b3b80d8
2014-02-14[sanitizer] add iterators to bit vectors; make bit vector operations use ↵Kostya Serebryany
little stack; add common flag 'detect_deadlocks' git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@201405 91177308-0d34-0410-b5e6-96231b3b80d8
2014-02-13[sanitizer] replace MostSignificantSetBitIndex with ↵Kostya Serebryany
LeastSignificantSetBitIndex in bit vector (to iterate bits in increasing order) git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@201339 91177308-0d34-0410-b5e6-96231b3b80d8
2014-02-13[sanitizer] optimize TwoLevelBitVector::intersectsWith, extend tests, fix a ↵Kostya Serebryany
check git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@201338 91177308-0d34-0410-b5e6-96231b3b80d8
2014-02-13[sanitizer] address some of the dvyukov's comments on previous commitsKostya Serebryany
git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@201322 91177308-0d34-0410-b5e6-96231b3b80d8
2014-02-13[sanitizer] findPath for deadlock detectorKostya Serebryany
git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@201306 91177308-0d34-0410-b5e6-96231b3b80d8
2014-02-13[sanitizer] more code for deadlock detector, nothing really works yet ↵Kostya Serebryany
(except for small unit tests). git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@201302 91177308-0d34-0410-b5e6-96231b3b80d8
2014-02-12[sanitizer] added class BVGraph, to be used in a deadlock detector; added ↵Kostya Serebryany
more methods to the bit vectors git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@201226 91177308-0d34-0410-b5e6-96231b3b80d8
2014-02-12[sanitizer] added a bit vector class to be used in a deadlock detectorKostya Serebryany
git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@201210 91177308-0d34-0410-b5e6-96231b3b80d8