summaryrefslogtreecommitdiffstats
path: root/libcxx/include/__config
diff options
context:
space:
mode:
authorHoward Hinnant <hhinnant@apple.com>2013-12-04 21:03:23 +0000
committerHoward Hinnant <hhinnant@apple.com>2013-12-04 21:03:23 +0000
commit395485efc00ed2b45ffe788bcb8217bda7459bf0 (patch)
tree3eebcb93c9835e9179e2845b719299fba077b3be /libcxx/include/__config
parent85a657601b633fdd5c2ce55ca2b87eda9e57cd2d (diff)
downloadbcm5719-llvm-395485efc00ed2b45ffe788bcb8217bda7459bf0.tar.gz
bcm5719-llvm-395485efc00ed2b45ffe788bcb8217bda7459bf0.zip
Give all members of exception types default visibility. Lack of this is causing some illegal code relocations rare and hard to reproduce cases.
llvm-svn: 196411
Diffstat (limited to 'libcxx/include/__config')
-rw-r--r--libcxx/include/__config2
1 files changed, 1 insertions, 1 deletions
diff --git a/libcxx/include/__config b/libcxx/include/__config
index 6a0c4161469..36e3222e9ce 100644
--- a/libcxx/include/__config
+++ b/libcxx/include/__config
@@ -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
OpenPOWER on IntegriCloud