[llvm-branch-commits] [cfe-branch] r341521 - ReleaseNotes: libc++ _LIBCPP_HIDE_FROM_ABI_PER_TU

Hans Wennborg via llvm-branch-commits llvm-branch-commits at lists.llvm.org
Thu Sep 6 01:09:39 PDT 2018

Author: hans
Date: Thu Sep  6 01:09:39 2018
New Revision: 341521

URL: http://llvm.org/viewvc/llvm-project?rev=341521&view=rev
ReleaseNotes: libc++ _LIBCPP_HIDE_FROM_ABI_PER_TU


Modified: cfe/branches/release_70/docs/ReleaseNotes.rst
URL: http://llvm.org/viewvc/llvm-project/cfe/branches/release_70/docs/ReleaseNotes.rst?rev=341521&r1=341520&r2=341521&view=diff
--- cfe/branches/release_70/docs/ReleaseNotes.rst (original)
+++ cfe/branches/release_70/docs/ReleaseNotes.rst Thu Sep  6 01:09:39 2018
@@ -390,8 +390,15 @@ The following methods have been added:
 -  ...
-Significant Known Problems
+libc++ Changes
+Users that wish to link together translation units built with different
+versions of libc++'s headers into the same final linked image should define the
+`_LIBCPP_HIDE_FROM_ABI_PER_TU` macro to `1` when building those translation
+units. In a future release, not defining `_LIBCPP_HIDE_FROM_ABI_PER_TU` to `1`
+and linking translation units built with different versions of libc++'s headers
+together may lead to ODR violations and ABI issues.
 Additional Information

More information about the llvm-branch-commits mailing list