Skip to content

Commit f3e3e06

Browse files
committed
ReleaseNotes: libc++ _LIBCPP_HIDE_FROM_ABI_PER_TU
git-svn-id: https://llvm.org/svn/llvm-project/cfe/branches/release_70@341521 91177308-0d34-0410-b5e6-96231b3b80d8
1 parent 958eec8 commit f3e3e06

File tree

1 file changed

+9
-2
lines changed

1 file changed

+9
-2
lines changed

docs/ReleaseNotes.rst

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -390,8 +390,15 @@ The following methods have been added:
390390

391391
- ...
392392

393-
Significant Known Problems
394-
==========================
393+
libc++ Changes
394+
==============
395+
Users that wish to link together translation units built with different
396+
versions of libc++'s headers into the same final linked image should define the
397+
`_LIBCPP_HIDE_FROM_ABI_PER_TU` macro to `1` when building those translation
398+
units. In a future release, not defining `_LIBCPP_HIDE_FROM_ABI_PER_TU` to `1`
399+
and linking translation units built with different versions of libc++'s headers
400+
together may lead to ODR violations and ABI issues.
401+
395402

396403
Additional Information
397404
======================

0 commit comments

Comments
 (0)