projects
/
folly.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9b139cb
)
Backward compatibility for older versions of clang.
author
Michael Lee
<mzlee@fb.com>
Wed, 20 Apr 2016 02:47:54 +0000
(19:47 -0700)
committer
Facebook Github Bot 7
<facebook-github-bot-7-bot@fb.com>
Wed, 20 Apr 2016 02:50:24 +0000
(19:50 -0700)
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
patch
|
blob
|
history
diff --git
a/folly/MicroLock.h
b/folly/MicroLock.h
index 5c50955336f6599e2d2cbf6f0154b59f4958077b..15c8d414d69da25937977c8f00b428c0a613c4bb 100644
(file)
--- a/
folly/MicroLock.h
+++ b/
folly/MicroLock.h
@@
-23,7
+23,7
@@
#include <folly/Portability.h>
#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