From 007d2a6b5af5f2b898204d86558a949076f35c05 Mon Sep 17 00:00:00 2001 From: Michael Lee Date: Tue, 19 Apr 2016 19:47:54 -0700 Subject: [PATCH] Backward compatibility for older versions of clang. Summary: `__attribute__((no_sanitize("address")))` is not valid in clang 3.6 and earlier Reviewed By: skotchvail Differential Revision: D3197412 fb-gh-sync-id: bd555b030fe48268988299dd88b9b7aea54c1a73 fbshipit-source-id: bd555b030fe48268988299dd88b9b7aea54c1a73 --- folly/MicroLock.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/folly/MicroLock.h b/folly/MicroLock.h index 5c509553..15c8d414 100644 --- a/folly/MicroLock.h +++ b/folly/MicroLock.h @@ -23,7 +23,7 @@ #include #if defined(__clang__) -#define NO_SANITIZE_ADDRESS __attribute__((__no_sanitize__("address"))) +#define NO_SANITIZE_ADDRESS __attribute__((no_sanitize_address)) #else #define NO_SANITIZE_ADDRESS #endif -- 2.34.1