[PATCH] D34918: [libc++] Avoid atomic built-ins for NO_THREADS build
Weiming Zhao via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Fri Jun 30 16:36:34 PDT 2017
weimingz created this revision.
Herald added a reviewer: EricWF.
On architectures without atomic instructions, the atomic built-ins cannot be lowered. If _LIBCPP_HAS_NO_THREADS is enabled, we should just use regular code.
Repository:
rL LLVM
https://reviews.llvm.org/D34918
Files:
include/__refstring
src/locale.cpp
src/support/runtime/exception_fallback.ipp
src/support/runtime/new_handler_fallback.ipp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D34918.104957.patch
Type: text/x-patch
Size: 3427 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170630/4192c742/attachment.bin>
More information about the llvm-commits
mailing list