summaryrefslogtreecommitdiff
path: root/lib/sanitizer_common/sanitizer_atomic_msvc.h
Commit message (Collapse)AuthorAgeFilesLines
* Remove NOLINTs from compiler-rtVitaly Buka2019-09-111-36/+27
| | | | git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@371687 91177308-0d34-0410-b5e6-96231b3b80d8
* 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
* [asan Win64] Implement atomic_compare_exchange_strong for 8 bitEtienne Bergeron2016-07-061-7/+9
| | | | | | | | | Patch by: Wei Wang Differential Revision: http://reviews.llvm.org/D21950 git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@274634 91177308-0d34-0410-b5e6-96231b3b80d8
* This patch is activating the build of Asan on Windows 64-bits.Etienne Bergeron2016-05-271-4/+7
| | | | | | | | | | | | | | | | | | | | It's fixing compilation errors. The runtime is not yet working. Missing features: OverrideFunction for x64 an equiv function for inline asm (atomic_compare_exchange_strong) shadow memory offset needs to be adjusted RoundUpToInstrBoundary for x64 They will be implemented by subsequent patches. Patch by Wei Wang. Differential revision: http://reviews.llvm.org/D20455 git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@271049 91177308-0d34-0410-b5e6-96231b3b80d8
* Re-apply r241217 with build fixes:Peter Collingbourne2015-07-021-14/+22
| | | | | | | - Disable building of the interceptor library on 64-bit Windows. - Mangle names in /alternatename directive for 32-bit Windows. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@241224 91177308-0d34-0410-b5e6-96231b3b80d8
* Revert r241217, it breaks the build on Windows.Nico Weber2015-07-021-22/+14
| | | | git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@241219 91177308-0d34-0410-b5e6-96231b3b80d8
* ubsan: Port runtime library to (32- and 64-bit) Windows.Peter Collingbourne2015-07-021-14/+22
| | | | | | Differential Revision: http://reviews.llvm.org/D10856 git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@241217 91177308-0d34-0410-b5e6-96231b3b80d8
* [ASan/Win] Unbreak the build after r211216Timur Iskhodzhanov2014-07-071-17/+4
| | | | git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@212465 91177308-0d34-0410-b5e6-96231b3b80d8
* [Sanitizer tests] Define 16- and 64-bit versions of ↵Timur Iskhodzhanov2014-05-131-0/+35
| | | | | | | | atomic_compare_exchange_strong on Windows Reviewed at http://reviews.llvm.org/D3745 git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@208700 91177308-0d34-0410-b5e6-96231b3b80d8
* sanitizer_atomic_msvc.h: add atomic_fetch_{add,sub} overloads for uintptr_tHans Wennborg2014-04-141-0/+29
| | | | | | This should hopefully unbreak the MSVC build after r206178. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@206200 91177308-0d34-0410-b5e6-96231b3b80d8
* tsan: add another missing windows atomic operationDmitry Vyukov2014-03-041-0/+13
| | | | git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@202852 91177308-0d34-0410-b5e6-96231b3b80d8
* tsan: fix windows buildDmitry Vyukov2014-03-041-0/+8
| | | | git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@202831 91177308-0d34-0410-b5e6-96231b3b80d8
* [ASan] Rename a atomic_compare_exchange_strong parameter to avoid a compiler ↵Timur Iskhodzhanov2013-05-231-2/+2
| | | | | | warning git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@182575 91177308-0d34-0410-b5e6-96231b3b80d8
* [Sanitizer] First effort to implement atomic_compare_exchange for 1-byte ↵Alexey Samsonov2013-03-251-3/+24
| | | | | | vars on Windows git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@177854 91177308-0d34-0410-b5e6-96231b3b80d8
* tsan: add the FIXMEDmitry Vyukov2013-01-141-0/+2
| | | | git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@172386 91177308-0d34-0410-b5e6-96231b3b80d8
* [ASan/Win] Satisfy lintTimur Iskhodzhanov2013-01-091-6/+6
| | | | git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@171970 91177308-0d34-0410-b5e6-96231b3b80d8
* [ASan/Win] Unbreak the 32-bit RTL buildTimur Iskhodzhanov2013-01-091-0/+21
| | | | git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@171968 91177308-0d34-0410-b5e6-96231b3b80d8
* [Sanitizer] attempt to fix InterlockedCompareExchangePointer intrinsic on MSVCAlexey Samsonov2012-12-261-2/+3
| | | | git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@171104 91177308-0d34-0410-b5e6-96231b3b80d8
* tsan: fix windows build (2)Dmitry Vyukov2012-08-311-4/+3
| | | | git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@162997 91177308-0d34-0410-b5e6-96231b3b80d8
* tsan: fix windows build (1)Dmitry Vyukov2012-08-311-0/+25
| | | | git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@162996 91177308-0d34-0410-b5e6-96231b3b80d8
* tsan/asan: third try on msvc atomicsDmitry Vyukov2012-06-291-4/+5
| | | | git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@159449 91177308-0d34-0410-b5e6-96231b3b80d8
* tsan/asan: second attemp on msvc atomicsDmitry Vyukov2012-06-291-7/+14
| | | | git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@159447 91177308-0d34-0410-b5e6-96231b3b80d8
* tsan/asan: first try on msvc atomicsDmitry Vyukov2012-06-291-0/+104
git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@159443 91177308-0d34-0410-b5e6-96231b3b80d8