llvm-project/libcxx/docs/DesignDocs
Eric Fiselier fc26379a84 [libc++] Introduce _LIBCPP_EXTERN_VIS to fix __libcpp_debug_function link errors
Summary: On Windows tests that use `_LIBCPP_ASSERT` fail to link because the assertion handler function isn't correctly exported from the libc++ dylib. This patch fixes the dll import/export issues by introducing a new visibility macro `_LIBCPP_EXTERN_VIS` for use on external variables.

Reviewers: compnerd, smeenai, EricWF

Reviewed By: EricWF

Subscribers: cfe-commits

Differential Revision: https://reviews.llvm.org/D28728

llvm-svn: 292158
2017-01-16 21:01:00 +00:00
..
ABIVersioning.rst Use __config_site when building libc++. Also cleanup ABI versioning doc 2015-10-14 00:22:05 +00:00
CapturingConfigInfo.rst
DebugMode.rst Implement a throwing version of _LIBCPP_ASSERT. 2016-12-28 04:58:52 +00:00
ThreadingSupportAPI.rst [libcxx] Improve design documentation for the external-thread-library 2017-01-16 12:44:08 +00:00
VisibilityMacros.rst [libc++] Introduce _LIBCPP_EXTERN_VIS to fix __libcpp_debug_function link errors 2017-01-16 21:01:00 +00:00