From 689c59828583bf1ca95c874c0f1a4c5f91f68b71 Mon Sep 17 00:00:00 2001 From: Jeremy Huddleston Sequoia 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 --- 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 @@ -25,6 +25,10 @@ #include #include +#ifndef DISPATCH_NOESCAPE +#define DISPATCH_NOESCAPE +#endif + typedef long long_t; // NOLINT namespace __tsan { -- 2.15.1