[libcxx] r305451 - attempt to fix GCC ToT build failures
Eric Fiselier via cfe-commits
cfe-commits at lists.llvm.org
Wed Jun 14 20:50:02 PDT 2017
Author: ericwf
Date: Wed Jun 14 22:50:02 2017
New Revision: 305451
URL: http://llvm.org/viewvc/llvm-project?rev=305451&view=rev
Log:
attempt to fix GCC ToT build failures
Modified:
libcxx/trunk/include/__config
Modified: libcxx/trunk/include/__config
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/include/__config?rev=305451&r1=305450&r2=305451&view=diff
==============================================================================
--- libcxx/trunk/include/__config (original)
+++ libcxx/trunk/include/__config Wed Jun 14 22:50:02 2017
@@ -292,7 +292,7 @@
# endif
#endif // !defined(_LIBCPP_LITTLE_ENDIAN) || !defined(_LIBCPP_BIG_ENDIAN)
-#if __has_attribute(__no_sanitize__)
+#if __has_attribute(__no_sanitize__) && !defined(_LIBCPP_COMPILER_GCC)
#define _LIBCPP_NO_CFI __attribute__((__no_sanitize__("cfi")))
#else
#define _LIBCPP_NO_CFI
More information about the cfe-commits
mailing list