[PATCH] D41601: Ignore the DISPATCH_NOESCAPE if not defined
Yi Kong via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu Dec 28 15:07:23 PST 2017
This revision was automatically updated to reflect the committed changes.
Closed by commit rL321543: Ignore the DISPATCH_NOESCAPE if not defined (authored by kongyi, committed by ).
Changed prior to commit:
https://reviews.llvm.org/D41601?vs=128306&id=128308#toc
Repository:
rL LLVM
https://reviews.llvm.org/D41601
Files:
compiler-rt/trunk/lib/tsan/rtl/tsan_libdispatch_mac.cc
Index: compiler-rt/trunk/lib/tsan/rtl/tsan_libdispatch_mac.cc
===================================================================
--- compiler-rt/trunk/lib/tsan/rtl/tsan_libdispatch_mac.cc
+++ compiler-rt/trunk/lib/tsan/rtl/tsan_libdispatch_mac.cc
@@ -25,6 +25,11 @@
#include <dispatch/dispatch.h>
#include <pthread.h>
+// DISPATCH_NOESCAPE is not defined prior to XCode 8.
+#ifndef DISPATCH_NOESCAPE
+#define DISPATCH_NOESCAPE
+#endif
+
typedef long long_t; // NOLINT
namespace __tsan {
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D41601.128308.patch
Type: text/x-patch
Size: 497 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20171228/89a3fd78/attachment.bin>
More information about the llvm-commits
mailing list