[asan Win64] Implement atomic_compare_exchange_strong for 8 bit
Details
Details
Diff Detail
Diff Detail
Event Timeline
lib/sanitizer_common/sanitizer_atomic_msvc.h | ||
---|---|---|
195 | I wonder if it worth keeping assembly for 32-bits if intrinsic are working. |
Comment Actions
I'm wondering why this unittest wasn't failing in 64-bits before you fixed the code:
TEST(SanitizerCommon, AtomicCompareExchangeTest) {
Comment Actions
As I get it, the unittests are using the clang version.
Which means there is no coverage for the MSVC atomics operation.
#if defined(__clang__) || defined(__GNUC__) # include "sanitizer_atomic_clang.h" #elif defined(_MSC_VER) # include "sanitizer_atomic_msvc.h" #else # error "Unsupported compiler" #endif
please, align the // NOLINT comment with the previous one