Changes between Initial Version and Version 8 of Ticket #57576
- Timestamp:
- May 30, 2020, 1:59:03 PM (4 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #57576
- Property Cc kencu added
- Property Port libcxx added; llvm-devel removed
-
Property
Summary
changed from
llvm 8+ usuability
tolibcxx 8+ usability
-
Ticket #57576 – Description
initial v8 4 4 Starting with LLVM 8.0.0, users that wish to link together translation units built with different versions of libc++’s headers into the same final linked image MUST define the _LIBCPP_HIDE_FROM_ABI_PER_TU macro to 1 when building those translation units. 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. On the flipside, code size improvements should be expected for everyone not defining the macro. 5 5 }}} 6 (https:// libcxx.llvm.org/docs/ReleaseNotes.html#what-s-new-in-libc-8-0-0)6 (https://releases.llvm.org/8.0.0/projects/libcxx/docs/ReleaseNotes.html) 7 7 8 8 I interpret this as "define _LIBCPP_HIDE_FROM_ABI_PER_TU if you want to use the libc++ headers to build code that will link against system libraries".