[libc++abi] Add _LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS
authorShoaib Meenai <smeenai@fb.com>
Mon, 5 Dec 2016 19:42:11 +0000 (19:42 +0000)
committerShoaib Meenai <smeenai@fb.com>
Mon, 5 Dec 2016 19:42:11 +0000 (19:42 +0000)
commit1bc40a8e2d31c7fade4b131a64b3fbd51fa6fc3c
treecc15706aacccd66f7dac59a86f2327cae48a915d
parent07522bb1875491dcb23739a58654bf13afed6a3b
[libc++abi] Add _LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS

It's useful to be able to disable visibility annotations entirely; for
example, if we're building libc++abi static to include in another library,
and we don't want any libc++abi functions getting exported out of that
library. This is a generalization of _LIBCXXABI_DISABLE_DLL_IMPORT_EXPORT.

Differential Revision: https://reviews.llvm.org/D26950

llvm-svn: 288692
libcxxabi/include/__cxxabi_config.h