diff options
author | Hans Wennborg <hans@hanshq.net> | 2018-09-06 08:09:39 +0000 |
---|---|---|
committer | Hans Wennborg <hans@hanshq.net> | 2018-09-06 08:09:39 +0000 |
commit | 47bafcf8d03debde902e1f5b3e3dcf7d843908a0 (patch) | |
tree | 19cbdcf991a7fe90a8a8e83c7c410db6292c0df3 | |
parent | f2390ed6bf765b8b63864cada9c8141703adf005 (diff) |
ReleaseNotes: libc++ _LIBCPP_HIDE_FROM_ABI_PER_TU
-rw-r--r-- | clang/docs/ReleaseNotes.rst | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/clang/docs/ReleaseNotes.rst b/clang/docs/ReleaseNotes.rst index c44acc734b1..fc91228786e 100644 --- a/clang/docs/ReleaseNotes.rst +++ b/clang/docs/ReleaseNotes.rst @@ -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 ====================== |