[PATCH] D40545: [sanitizer] add msvc atomic_compare_exchange_strong for sint32_t

comicfans44 via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Nov 29 05:44:16 PST 2017


comicfans44 added a comment.

this is used in x-ray runtime , in xray_fdr_logging.cc  ,such as  line 56:

if (!__sanitizer::atomic_compare_exchange_strong(

  &LogFlushStatus, &Result, XRayLogFlushStatus::XRAY_LOG_FLUSHING,
  __sanitizer::memory_order_release))

currently x-ray didn't compile on windows,but this is a little step to make it build. I'm trying to build xray runtime on windows, some talks here:
http://lists.llvm.org/pipermail/llvm-dev/2017-November/119218.html


Repository:
  rCRT Compiler Runtime

https://reviews.llvm.org/D40545





More information about the llvm-commits mailing list