[PATCH] D26949: [libc++abi] Clean up visibility

Shoaib Meenai via cfe-commits cfe-commits at lists.llvm.org
Mon Nov 21 17:21:30 PST 2016


smeenai created this revision.
smeenai added reviewers: compnerd, EricWF, howard.hinnant, mclow.lists.
smeenai added a subscriber: cfe-commits.

Use the libc++abi visibility macros instead of pragmas or using
visibility attributes directly. Clean up redundant attributes on
definitions (where the declarations already have visibility attributes
applied, from either libc++ or libc++abi headers).

No functional change. Tested by building on Linux before and after this
change and verifying that the list of exported symbols is identical.


https://reviews.llvm.org/D26949

Files:
  src/abort_message.cpp
  src/abort_message.h
  src/cxa_exception.cpp
  src/cxa_exception.hpp
  src/cxa_handlers.cpp
  src/cxa_handlers.hpp
  src/cxa_new_delete.cpp
  src/cxa_noexception.cpp
  src/cxa_unexpected.cpp
  src/fallback_malloc.cpp
  src/fallback_malloc.h
  src/private_typeinfo.cpp
  src/private_typeinfo.h
  src/stdlib_exception.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D26949.78807.patch
Type: text/x-patch
Size: 15672 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20161122/c49b6dad/attachment.bin>


More information about the cfe-commits mailing list