[PATCH] D24600: [libc++] Add _LIBCPP_EXTERN_TEMPLATE_INLINE_VISIBILITY to support GCC ABI compatibility

Eric Fiselier via cfe-commits cfe-commits at lists.llvm.org
Thu Sep 15 17:06:31 PDT 2016


EricWF updated this revision to Diff 71574.
EricWF added a comment.

- Update the patch based on r281673.
- Add doc for `_LIBCPP_EXTERN_TEMPLATE_INLINE_VISIBILITY`
- Move all uses of `_LIBCPP_EXTERN_TEMPLATE_INLINE_VISIBILITY` to the first declaration in order to support `__attribute__((internal_linkage))`. I took the liberty of moving many of the definitions in-line to reduce duplication.




https://reviews.llvm.org/D24600

Files:
  CMakeLists.txt
  docs/DesignDocs/VisibilityMacros.rst
  include/__config
  include/istream
  include/ostream
  include/streambuf
  include/string
  utils/sym_check/sym_diff.py

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D24600.71574.patch
Type: text/x-patch
Size: 30938 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20160916/5701916f/attachment-0001.bin>


More information about the cfe-commits mailing list