From 689c59828583bf1ca95c874c0f1a4c5f91f68b71 Mon Sep 17 00:00:00 2001
From: Jeremy Huddleston Sequoia <jeremyhu@apple.com>
Date: Wed, 27 Dec 2017 21:19:34 -0800
Subject: [PATCH 2001/2002] tsan: Fix builds against older macOS SDKs that
don't have DISPATCH_NOESCAPE defined
Signed-off-by: Jeremy Huddleston Sequoia <jeremyhu@apple.com>
lib/tsan/rtl/tsan_libdispatch_mac.cc | 4 ++++
1 file changed, 4 insertions(+)
diff --git llvm_master/projects/compiler-rt/lib/tsan/rtl/tsan_libdispatch_mac.cc macports_master/projects/compiler-rt/lib/tsan/rtl/tsan_libdispatch_mac.cc
index 8c759a3be..44ac84022 100644
--- llvm_master/projects/compiler-rt/lib/tsan/rtl/tsan_libdispatch_mac.cc
+++ macports_master/projects/compiler-rt/lib/tsan/rtl/tsan_libdispatch_mac.cc
#include <dispatch/dispatch.h>
+#ifndef DISPATCH_NOESCAPE
+#define DISPATCH_NOESCAPE
typedef long long_t; // NOLINT