[Lldb-commits] [PATCH] D29288: Switch std::call_once to llvm::call_once

Kamil Rytarowski via Phabricator via lldb-commits lldb-commits at lists.llvm.org
Mon Jan 30 10:11:22 PST 2017


krytarowski added a comment.

  namespace llvm {
    namespace sys {
      void MemoryFence();
  
  #ifdef _MSC_VER
      typedef long cas_flag;
  #else
      typedef uint32_t cas_flag;
  #endif
      cas_flag CompareAndSwap(volatile cas_flag* ptr,
                              cas_flag new_value,
                              cas_flag old_value);
    }
  }



- `include/llvm/Support/Atomic.h` of LLVM


Repository:
  rL LLVM

https://reviews.llvm.org/D29288





More information about the lldb-commits mailing list