reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced

References

projects/compiler-rt/lib/sanitizer_common/sanitizer_common.cpp
  337   return !atomic_exchange(&in_crash_state, 1, memory_order_relaxed);
projects/compiler-rt/lib/sanitizer_common/sanitizer_common_interceptors.inc
 6112   if (atomic_exchange(&printed, 1, memory_order_relaxed))
projects/compiler-rt/lib/sanitizer_common/sanitizer_linux.cpp
  650   if (atomic_exchange(m, MtxLocked, memory_order_acquire) == MtxUnlocked)
  652   while (atomic_exchange(m, MtxSleeping, memory_order_acquire) != MtxUnlocked) {
  666   u32 v = atomic_exchange(m, MtxUnlocked, memory_order_release);
projects/compiler-rt/lib/sanitizer_common/sanitizer_mutex.h
   35     return atomic_exchange(&state_, 1, memory_order_acquire) == 0;
   56           && atomic_exchange(&state_, 1, memory_order_acquire) == 0)
projects/compiler-rt/lib/tsan/rtl/tsan_external.cpp
   93       (char *)atomic_exchange(header_ptr, (uptr)header, memory_order_seq_cst);
projects/compiler-rt/lib/tsan/rtl/tsan_rtl.cpp
  434       atomic_exchange(&bg_thread, 1, memory_order_relaxed) == 0) {
projects/compiler-rt/lib/ubsan/ubsan_value.h
   60     u32 OldColumn = __sanitizer::atomic_exchange(
projects/compiler-rt/lib/xray/xray_buffer_queue.cpp
  219   if (atomic_exchange(&Finalizing, 1, memory_order_acq_rel))
projects/compiler-rt/lib/xray/xray_profiling.cpp
  155   auto FCT = atomic_exchange(&TLD.FCT, 0, memory_order_acq_rel);
  160   auto Allocators = atomic_exchange(&TLD.Allocators, 0, memory_order_acq_rel);
  172   uptr P = atomic_exchange(&T.FCT, 0, memory_order_acq_rel);
  180   uptr A = atomic_exchange(&T.Allocators, 0, memory_order_acq_rel);
  225   s32 Previous = atomic_exchange(&ProfilerLogFlushStatus,
  431               if (atomic_exchange(&ThreadExitingLatch, 1, memory_order_acq_rel))
  457           if (atomic_exchange(&ThreadExitingLatch, 1, memory_order_acq_rel))
projects/compiler-rt/lib/xray/xray_recursion_guard.h
   39       : Running(R), Valid(!atomic_exchange(&R, 1, memory_order_acq_rel)) {}