summaryrefslogtreecommitdiffstats
path: root/compiler-rt/lib/sanitizer_common/sanitizer_atomic_clang.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
* Reland "[mips][compiler-rt] Provide 64bit atomic add and sub"Simon Dardis2017-12-221-10/+7
| | | | | | | | | | | | | | | | | r318733 introduced a build failure for native MIPS32 systems for xray due to the lack of __sync_fetch_and_add / __syn_fetch_and_sub support. This patch extends the existing support providing atomics so that xray can be successfully built. The initial patch was reverted in r321292, as I suspected it may have caused the buildbot failure. Another patch in the updates the bot fetched caused the test failures which was reverted. Reviewers: atanasyan, dberris Differential Revision: https://reviews.llvm.org/D40385 llvm-svn: 321383
* Revert "[mips][compiler-rt] Provide 64bit atomic add and sub"Simon Dardis2017-12-211-7/+10
| | | | | | | | | | | This reverts commit r321260. It appears to have broken the sanitizer bot sanitizer-ppc64be-linux. http://lab.llvm.org:8011/builders/sanitizer-ppc64be-linux/builds/5029 Reverting to see if the buildbot turns green. llvm-svn: 321292
* [mips][compiler-rt] Provide 64bit atomic add and subSimon Dardis2017-12-211-10/+7
| | | | | | | | | | | | | r318733 introduced a build failure for native MIPS32 systems for xray due to the lack of __sync_fetch_and_add / __syn_fetch_and_sub support. This patch extends the existing support providing atomics so that xray can be successfully built. Reviewers: atanasyan, dberris Differential Revision: https://reviews.llvm.org/D40385 llvm-svn: 321260
* [mips][compiler-rt] Fix build breakage.Simon Dardis2017-06-211-2/+1
| | | | | | | Change some reinterpret_casts to c-style casts due to template instantiation restrictions and build breakage due to missing paranthesises. llvm-svn: 305899
* [scudo] Enabling MIPS support for ScudoSagar Thakur2017-06-191-6/+16
| | | | | | | | | Adding MIPS 32-bit and 64-bit support for Scudo. Reviewed by cryptoad, sdardis. Differential: D31803 llvm-svn: 305682
* asan: fix atomic operations on ARMDmitry Vyukov2014-01-221-53/+18
| | | | | | | | implement correct atomic load/store for ARM add test for atomic load/store http://llvm-reviews.chandlerc.com/D2582 llvm-svn: 199802
* tsan: do not try to use builtin atomic operationsDmitry Vyukov2013-09-211-29/+11
| | | | | | see the comment in code llvm-svn: 191132
* asan/tsan/msan: use builtin atomic operations when availableDmitry Vyukov2013-09-191-2/+31
| | | | | | | this should fix episodic crashes on ARM/PPC x86_32 is still broken llvm-svn: 190991
* [Sanitizer] Add basic test for atomic_compare_exchange implementationAlexey Samsonov2013-03-251-3/+3
| | | | llvm-svn: 177851
* tsan: add the FIXMEDmitry Vyukov2013-01-141-0/+2
| | | | llvm-svn: 172386
* tsan/asan: first try on msvc atomicsDmitry Vyukov2012-06-291-0/+122
llvm-svn: 159443
OpenPOWER on IntegriCloud