[libcxx] r196411 - Give all members of exception types default visibility. Lack of this is causing some illegal code relocations rare and hard to reproduce cases.
Howard Hinnant
hhinnant at apple.com
Wed Dec 4 13:03:24 PST 2013
Author: hhinnant
Date: Wed Dec 4 15:03:23 2013
New Revision: 196411
URL: http://llvm.org/viewvc/llvm-project?rev=196411&view=rev
Log:
Give all members of exception types default visibility. Lack of this is causing some illegal code relocations rare and hard to reproduce cases.
Modified:
libcxx/trunk/include/__config
Modified: libcxx/trunk/include/__config
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/include/__config?rev=196411&r1=196410&r2=196411&view=diff
==============================================================================
--- libcxx/trunk/include/__config (original)
+++ libcxx/trunk/include/__config Wed Dec 4 15:03:23 2013
@@ -194,7 +194,7 @@
#endif
#ifndef _LIBCPP_EXCEPTION_ABI
-#define _LIBCPP_EXCEPTION_ABI _LIBCPP_TYPE_VIS
+#define _LIBCPP_EXCEPTION_ABI __attribute__ ((__visibility__("default")))
#endif
#ifndef _LIBCPP_ALWAYS_INLINE
More information about the cfe-commits
mailing list