[PATCH] D31381: split

Dean Michael Berris via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sun Mar 26 22:03:16 PDT 2017


dberris created this revision.
Herald added a subscriber: mgorny.

[XRay][compiler-rt] Use sanitizer_common's atomic ops

Instead of std::atomic APIs for atomic operations, we instead use APIs
include with sanitizer_common. This allows us to, at runtime, not have
to depend on potentially dynamically provided implementations of these
atomic operations.

Currently only do this for x86_64.

Fixes http://llvm.org/PR32274.


https://reviews.llvm.org/D31381

Files:
  lib/xray/tests/CMakeLists.txt
  lib/xray/xray_buffer_queue.cc
  lib/xray/xray_buffer_queue.h
  lib/xray/xray_fdr_logging.cc
  lib/xray/xray_fdr_logging_impl.h
  lib/xray/xray_init.cc
  lib/xray/xray_interface.cc
  lib/xray/xray_log_interface.cc

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D31381.93096.patch
Type: text/x-patch
Size: 23212 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170327/0f49f333/attachment.bin>


More information about the llvm-commits mailing list