Disable cfi-icall checks for CEF bindings (issue #2472)

This commit is contained in:
Marshall Greenblatt
2018-07-12 10:55:56 -07:00
parent 10c01ff43e
commit 0d12959a50
145 changed files with 1981 additions and 923 deletions

View File

@@ -162,6 +162,16 @@
#define ALLOW_UNUSED_LOCAL(x) false ? (void)x : (void)0
#endif
// Sanitizers annotations.
#if defined(__has_attribute)
#if __has_attribute(no_sanitize)
#define NO_SANITIZE(what) __attribute__((no_sanitize(what)))
#endif
#endif
#if !defined(NO_SANITIZE)
#define NO_SANITIZE(what)
#endif
#endif // !USING_CHROMIUM_INCLUDES
// Annotate a virtual method indicating it must be overriding a virtual method