summaryrefslogtreecommitdiffstats
path: root/compiler-rt/lib/sanitizer_common/sanitizer_bitvector.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. llvm-svn: 351636
* Update other SizeEnums to be of type uptr as wellVlad Tsyrklevich2017-12-061-1/+1
| | | | llvm-svn: 319984
* Fix broken windows sanitizer buildbotVlad Tsyrklevich2017-12-061-1/+1
| | | | | | | r319875 caused a sign comparison build failure. Explicitly set the enum's type to be unsigned. llvm-svn: 319977
* Revert "Apply modernize-use-default to compiler-rt."Alexey Samsonov2015-10-301-2/+2
| | | | | | | | | | | | 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. llvm-svn: 251717
* Apply modernize-use-default to compiler-rt.Angel Garcia Gomez2015-10-201-2/+2
| | | | | | | | | | | | 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 llvm-svn: 250823
* Fix MSVS warnings in the sanitizers RTLTimur Iskhodzhanov2014-03-121-2/+4
| | | | llvm-svn: 203661
* Reapply r201910. MSVC gets __func__ defined explicitly, even though itJoerg Sonnenberger2014-02-261-2/+2
| | | | | | can't build anything here. llvm-svn: 202297
* Revert "Replace __FUNCTION__ with __func__, the latter being standard ↵Reid Kleckner2014-02-221-2/+2
| | | | | | | | | | | | 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. llvm-svn: 201916
* Replace __FUNCTION__ with __func__, the latter being standard C99/C++11.Joerg Sonnenberger2014-02-211-2/+2
| | | | llvm-svn: 201910
* [sanitizer] implement node removal in Deadlock graphKostya Serebryany2014-02-171-0/+24
| | | | llvm-svn: 201509
* [sanitizer] add iterators to bit vectors; make bit vector operations use ↵Kostya Serebryany2014-02-141-1/+70
| | | | | | little stack; add common flag 'detect_deadlocks' llvm-svn: 201405
* [sanitizer] replace MostSignificantSetBitIndex with ↵Kostya Serebryany2014-02-131-2/+1
| | | | | | LeastSignificantSetBitIndex in bit vector (to iterate bits in increasing order) llvm-svn: 201339
* [sanitizer] optimize TwoLevelBitVector::intersectsWith, extend tests, fix a ↵Kostya Serebryany2014-02-131-1/+28
| | | | | | check llvm-svn: 201338
* [sanitizer] address some of the dvyukov's comments on previous commitsKostya Serebryany2014-02-131-4/+21
| | | | llvm-svn: 201322
* [sanitizer] findPath for deadlock detectorKostya Serebryany2014-02-131-0/+7
| | | | llvm-svn: 201306
* [sanitizer] more code for deadlock detector, nothing really works yet ↵Kostya Serebryany2014-02-131-0/+8
| | | | | | (except for small unit tests). llvm-svn: 201302
* [sanitizer] added class BVGraph, to be used in a deadlock detector; added ↵Kostya Serebryany2014-02-121-12/+67
| | | | | | more methods to the bit vectors llvm-svn: 201226
* [sanitizer] added a bit vector class to be used in a deadlock detectorKostya Serebryany2014-02-121-0/+143
llvm-svn: 201210
OpenPOWER on IntegriCloud