[PATCH] D13445: [libcxx] Reexport std::bad_array_length symbols from libc++abi on OS X.
Eric Fiselier via cfe-commits
cfe-commits at lists.llvm.org
Mon Oct 5 12:29:34 PDT 2015
EricWF updated this revision to Diff 36540.
EricWF added a comment.
I moved the symbols into `lib/libc++abi2.exp` since we didn't anticipate the need to exclude them.
http://reviews.llvm.org/D13445
Files:
lib/CMakeLists.txt
lib/libc++abi2.exp
Index: lib/libc++abi2.exp
===================================================================
--- lib/libc++abi2.exp
+++ lib/libc++abi2.exp
@@ -290,6 +290,16 @@
__ZTSSt16invalid_argument
__ZTVSt16invalid_argument
+__ZNKSt16bad_array_length4whatEv
+__ZNSt16bad_array_lengthC1Ev
+__ZNSt16bad_array_lengthC2Ev
+__ZNSt16bad_array_lengthD0Ev
+__ZNSt16bad_array_lengthD1Ev
+__ZNSt16bad_array_lengthD2Ev
+__ZTISt16bad_array_length
+__ZTSSt16bad_array_length
+__ZTVSt16bad_array_length
+
__ZTSDi
__ZTSDn
__ZTSDs
Index: lib/CMakeLists.txt
===================================================================
--- lib/CMakeLists.txt
+++ lib/CMakeLists.txt
@@ -107,7 +107,7 @@
"-Wl,-reexport_library,${CMAKE_OSX_SYSROOT}/usr/lib/libc++abi.dylib")
endif()
else()
- set (OSX_RE_EXPORT_LINE "/usr/lib/libc++abi.dylib -Wl,-reexported_symbols_list,${CMAKE_CURRENT_SOURCE_DIR}/libc++abi${LIBCXX_LIBCPPABI_VERSION}.exp")
+ set(OSX_RE_EXPORT_LINE "/usr/lib/libc++abi.dylib -Wl,-reexported_symbols_list,${CMAKE_CURRENT_SOURCE_DIR}/libc++abi${LIBCXX_LIBCPPABI_VERSION}.exp")
endif()
add_link_flags(
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D13445.36540.patch
Type: text/x-patch
Size: 1128 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20151005/d799cce0/attachment.bin>
More information about the cfe-commits
mailing list