summaryrefslogtreecommitdiff
path: root/lib/sanitizer_common/sanitizer_atomic_msvc.h
AgeCommit message (Collapse)Author
2016-07-06[asan Win64] Implement atomic_compare_exchange_strong for 8 bitEtienne Bergeron
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
2016-05-27This patch is activating the build of Asan on Windows 64-bits.Etienne Bergeron
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
2015-07-02Re-apply r241217 with build fixes:Peter Collingbourne
- 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
2015-07-02Revert r241217, it breaks the build on Windows.Nico Weber
git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@241219 91177308-0d34-0410-b5e6-96231b3b80d8
2015-07-02ubsan: Port runtime library to (32- and 64-bit) Windows.Peter Collingbourne
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
2014-07-07[ASan/Win] Unbreak the build after r211216Timur Iskhodzhanov
git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@212465 91177308-0d34-0410-b5e6-96231b3b80d8
2014-05-13[Sanitizer tests] Define 16- and 64-bit versions of ↵Timur Iskhodzhanov
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
2014-04-14sanitizer_atomic_msvc.h: add atomic_fetch_{add,sub} overloads for uintptr_tHans Wennborg
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
2014-03-04tsan: add another missing windows atomic operationDmitry Vyukov
git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@202852 91177308-0d34-0410-b5e6-96231b3b80d8
2014-03-04tsan: fix windows buildDmitry Vyukov
git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@202831 91177308-0d34-0410-b5e6-96231b3b80d8
2013-05-23[ASan] Rename a atomic_compare_exchange_strong parameter to avoid a compiler ↵Timur Iskhodzhanov
warning git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@182575 91177308-0d34-0410-b5e6-96231b3b80d8
2013-03-25[Sanitizer] First effort to implement atomic_compare_exchange for 1-byte ↵Alexey Samsonov
vars on Windows git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@177854 91177308-0d34-0410-b5e6-96231b3b80d8
2013-01-14tsan: add the FIXMEDmitry Vyukov
git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@172386 91177308-0d34-0410-b5e6-96231b3b80d8
2013-01-09[ASan/Win] Satisfy lintTimur Iskhodzhanov
git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@171970 91177308-0d34-0410-b5e6-96231b3b80d8
2013-01-09[ASan/Win] Unbreak the 32-bit RTL buildTimur Iskhodzhanov
git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@171968 91177308-0d34-0410-b5e6-96231b3b80d8
2012-12-26[Sanitizer] attempt to fix InterlockedCompareExchangePointer intrinsic on MSVCAlexey Samsonov
git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@171104 91177308-0d34-0410-b5e6-96231b3b80d8
2012-08-31tsan: fix windows build (2)Dmitry Vyukov
git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@162997 91177308-0d34-0410-b5e6-96231b3b80d8
2012-08-31tsan: fix windows build (1)Dmitry Vyukov
git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@162996 91177308-0d34-0410-b5e6-96231b3b80d8
2012-06-29tsan/asan: third try on msvc atomicsDmitry Vyukov
git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@159449 91177308-0d34-0410-b5e6-96231b3b80d8
2012-06-29tsan/asan: second attemp on msvc atomicsDmitry Vyukov
git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@159447 91177308-0d34-0410-b5e6-96231b3b80d8
2012-06-29tsan/asan: first try on msvc atomicsDmitry Vyukov
git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@159443 91177308-0d34-0410-b5e6-96231b3b80d8