[PATCH] D55503: Change llvm call once check for building Swift for PowerPC(ppc64le)
Sarvesh Tamba via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Sun Dec 9 22:32:09 PST 2018
sarveshtamba updated this revision to Diff 177457.
sarveshtamba added a comment.
Herald added subscribers: kristina, krytarowski.
Earlier diff created was using the command "git show HEAD -U999999 > mypatch.patch" as mentioned in "https://llvm.org/docs/Phabricator.html#phabricator-request-review-web".
The updated patch is created using git diff and reflects the correct diff of the changes.
Repository:
rL LLVM
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D55503/new/
https://reviews.llvm.org/D55503
Files:
include/llvm/Support/Threading.h
Index: include/llvm/Support/Threading.h
===================================================================
--- include/llvm/Support/Threading.h
+++ include/llvm/Support/Threading.h
@@ -27,7 +27,7 @@
#define LLVM_THREADING_USE_STD_CALL_ONCE 1
#elif defined(LLVM_ON_UNIX) && \
(defined(_LIBCPP_VERSION) || \
- !(defined(__NetBSD__) || defined(__OpenBSD__) || defined(__ppc__)))
+ !(defined(__NetBSD__) || defined(__OpenBSD__) || defined(__ppc__)) || (defined(__PPC__) && defined(__LITTLE_ENDIAN__)))
// std::call_once from libc++ is used on all Unix platforms. Other
// implementations like libstdc++ are known to have problems on NetBSD,
// OpenBSD and PowerPC.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D55503.177457.patch
Type: text/x-patch
Size: 782 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20181210/adfa3d64/attachment.bin>
More information about the llvm-commits
mailing list