summaryrefslogtreecommitdiffstats
path: root/compiler-rt/lib/tsan/dd/dd_rtl.cc
Commit message (Collapse)AuthorAgeFilesLines
* compiler-rt: Rename .cc file in lib/tsan/{benchmarks,dd,go} to .cppNico Weber2019-08-011-158/+0
| | | | | | | | | Like r367463, but for tsan/{benchmarks,dd,go}. The files benchmarks aren't referenced in the build anywhere and where added in 2012 with the comment "no Makefiles yet". llvm-svn: 367567
* Improve error message when '=' is missing in {ASAN,...}_OPTIONS.Vitaly Buka2019-06-151-1/+1
| | | | | | | | | | | | | | | | | | Summary: It's handling isses as described here: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89832 Patch by Martin Liška. Reviewers: kcc, vitalybuka Reviewed By: vitalybuka Subscribers: cryptoad, kubamracek Differential Revision: https://reviews.llvm.org/D59876 llvm-svn: 363480
* 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
* [Sanitizer] Change InitializeFlags() signatures. NFC.Alexey Samsonov2015-02-121-4/+4
| | | | | | | These functions are always used to initialize singleton flags(), as well as other global data (common_flags()). llvm-svn: 228894
* [asan] Allow changing verbosity in activation flags.Evgeniy Stepanov2015-01-201-0/+1
| | | | | | | This change removes some debug output in asan_flags.cc that was reading the verbosity level before all the flags were parsed. llvm-svn: 226566
* [sanitizer] Flag parser rewrite.Evgeniy Stepanov2015-01-151-2/+5
| | | | | | | The new parser is a lot stricter about syntax, reports unrecognized flags, and will make it easier to implemented some of the planned features. llvm-svn: 226169
* Revert "Revert r224736: "[Sanitizer] Make CommonFlags immutable after ↵Alexey Samsonov2015-01-021-3/+7
| | | | | | | | | | | | | | | | initialization."" Fix test failures by introducing CommonFlags::CopyFrom() to make sure compiler doesn't insert memcpy() calls into runtime code. Original commit message: Protect CommonFlags singleton by adding const qualifier to common_flags() accessor. The only ways to modify the flags are SetCommonFlagsDefaults(), ParseCommonFlagsFromString() and OverrideCommonFlags() functions, which are only supposed to be called during initialization. llvm-svn: 225088
* Revert r224736: "[Sanitizer] Make CommonFlags immutable after initialization."Chandler Carruth2015-01-021-6/+3
| | | | | | | | | | We've got some internal users that either aren't compatible with this or have found a bug with it. Either way, this is an isolated cleanup and so I'm reverting it to un-block folks while we investigate. Alexey and I will be working on fixing everything up so this can be re-committed soon. Sorry for the noise and any inconvenience. llvm-svn: 225079
* [Sanitizer] Make CommonFlags immutable after initialization.Alexey Samsonov2014-12-221-3/+6
| | | | | | | | | | | | | | | | | | | Summary: Protect CommonFlags singleton by adding const qualifier to common_flags() accessor. The only ways to modify the flags are SetCommonFlagsDefaults(), ParseCommonFlagsFromString() and OverrideCommonFlags() functions, which are only supposed to be called during initialization. Test Plan: regression test suite Reviewers: kcc, eugenis, glider Subscribers: llvm-commits Differential Revision: http://reviews.llvm.org/D6741 llvm-svn: 224736
* [Sanitizer] Refactor CommonFlags interface. NFC.Alexey Samsonov2014-12-191-2/+2
| | | | | | | | | | Add CommonFlags::SetDefaults() and CommonFlags::ParseFromString(), so that this object can be easily tested. Enforce that ParseCommonFlagsFromString() and SetCommonFlagsDefaults() work only with singleton CommonFlags, shared across all sanitizer runtimes. llvm-svn: 224617
* [DD] Don't store the second copy of CommonFlags inside DDFlags.Alexey Samsonov2014-12-101-7/+4
| | | | llvm-svn: 223909
* Change StackDepot interface to use StackTrace more extensivelyAlexey Samsonov2014-10-261-4/+4
| | | | llvm-svn: 220637
* Fixup deadlock sanitizer after r220635Alexey Samsonov2014-10-261-4/+3
| | | | llvm-svn: 220636
* tsan: serialize report printing in standalone deadlock detectorDmitry Vyukov2014-04-111-1/+1
| | | | | | otherwise reports get intermixed llvm-svn: 206043
* [libsanitizer] Introduce flag descriptions.Alexander Potapenko2014-03-201-1/+1
| | | | | | | | | Extend ParseFlag to accept the |description| parameter, add dummy values for all existing flags. As the flags are parsed their descriptions are stored in a global linked list. The tool can later call __sanitizer::PrintFlagDescriptions() to dump all the flag names and their descriptions. Add the 'help' flag and make ASan, TSan and MSan print the flags if 'help' is set to 1. llvm-svn: 204339
* tsan: deadlock detector: add deadlock detector flagsDmitry Vyukov2014-03-181-6/+25
| | | | | | the first flags is to enable printing of the second stack per edge llvm-svn: 204150
* tsan: deadlock detector: print 2 stacks per deadlock edgeDmitry Vyukov2014-03-181-0/+4
| | | | llvm-svn: 204149
* [sanitizer] fix the deadlock detector buildKostya Serebryany2014-03-171-1/+1
| | | | llvm-svn: 204044
* tsan: better error message wording in deadlock reportsDmitry Vyukov2014-03-061-1/+1
| | | | llvm-svn: 203109
* tsan: implement new version of standalong deadlock detectorDmitry Vyukov2014-03-051-36/+66
| | | | | | | intercept pthread_cond (it is required to properly track state of mutexes) detect cycles in mutex graph llvm-svn: 202975
* tsan: add dynamic library target for standalone deadlock detectorDmitry Vyukov2014-03-041-3/+0
| | | | | | it's LD_PRELOAD-able llvm-svn: 202843
* tsan: add concurrent hashmap for standalone deadlock detectorDmitry Vyukov2014-03-041-48/+25
| | | | llvm-svn: 202826
* tsan: add standalone deadlock detectorDmitry Vyukov2014-02-281-0/+128
llvm-svn: 202505
OpenPOWER on IntegriCloud