2016-09-16 06:27:07 +08:00
|
|
|
========================
|
|
|
|
Symbol Visibility Macros
|
|
|
|
========================
|
|
|
|
|
|
|
|
.. contents::
|
|
|
|
:local:
|
|
|
|
|
|
|
|
Overview
|
|
|
|
========
|
|
|
|
|
|
|
|
Libc++ uses various "visibility" macros in order to provide a stable ABI in
|
|
|
|
both the library and the headers. These macros work by changing the
|
|
|
|
visibility and inlining characteristics of the symbols they are applied to.
|
|
|
|
|
|
|
|
Visibility Macros
|
|
|
|
=================
|
|
|
|
|
|
|
|
**_LIBCPP_HIDDEN**
|
|
|
|
Mark a symbol as hidden so it will not be exported from shared libraries.
|
|
|
|
|
|
|
|
**_LIBCPP_FUNC_VIS**
|
|
|
|
Mark a symbol as being exported by the libc++ library. This attribute must
|
|
|
|
be applied to the declaration of all functions exported by the libc++ dylib.
|
|
|
|
|
2017-01-17 05:01:00 +08:00
|
|
|
**_LIBCPP_EXTERN_VIS**
|
|
|
|
Mark a symbol as being exported by the libc++ library. This attribute may
|
|
|
|
only be applied to objects defined in the libc++ library. On Windows this
|
|
|
|
macro applies `dllimport`/`dllexport` to the symbol. On all other platforms
|
|
|
|
this macro has no effect.
|
|
|
|
|
2016-11-17 06:18:10 +08:00
|
|
|
**_LIBCPP_OVERRIDABLE_FUNC_VIS**
|
|
|
|
Mark a symbol as being exported by the libc++ library, but allow it to be
|
|
|
|
overridden locally. On non-Windows, this is equivalent to `_LIBCPP_FUNC_VIS`.
|
|
|
|
This macro is applied to all `operator new` and `operator delete` overloads.
|
|
|
|
|
|
|
|
**Windows Behavior**: Any symbol marked `dllimport` cannot be overridden
|
|
|
|
locally, since `dllimport` indicates the symbol should be bound to a separate
|
|
|
|
DLL. All `operator new` and `operator delete` overloads are required to be
|
|
|
|
locally overridable, and therefore must not be marked `dllimport`. On Windows,
|
|
|
|
this macro therefore expands to `__declspec(dllexport)` when building the
|
|
|
|
library and has an empty definition otherwise.
|
|
|
|
|
[libc++] Introduce _LIBCPP_HIDE_FROM_ABI to replace _LIBCPP_INLINE_VISIBILITY
Summary:
This commit introduces a new macro, _LIBCPP_HIDE_FROM_ABI, whose goal is to
mark functions that shouldn't be part of libc++'s ABI. It marks the functions
as being hidden for dylib visibility purposes, and as having internal linkage
using Clang's __attribute__((internal_linkage)) when available, and
__always_inline__ otherwise.
It replaces _LIBCPP_INLINE_VISIBILITY, which was always using __always_inline__
to achieve similar goals, but suffered from debuggability and code size problems.
The full proposal, along with more background information, can be found here:
http://lists.llvm.org/pipermail/cfe-dev/2018-July/058419.html
This commit does not rename uses of _LIBCPP_INLINE_VISIBILITY to
_LIBCPP_HIDE_FROM_ABI: this wide reaching but mechanical change can
be done later when we've confirmed we're happy with the new macro.
In the future, it would be nice if we could optionally allow dropping
any internal_linkage or __always_inline__ attribute, which could result
in code size improvements. However, this is currently impossible for
reasons explained here: http://lists.llvm.org/pipermail/cfe-dev/2018-July/058450.html
Reviewers: EricWF, dexonsmith, mclow.lists
Subscribers: christof, dexonsmith, llvm-commits, mclow.lists
Differential Revision: https://reviews.llvm.org/D49240
llvm-svn: 338122
2018-07-27 20:46:03 +08:00
|
|
|
**_LIBCPP_HIDE_FROM_ABI**
|
2018-07-12 07:14:33 +08:00
|
|
|
Mark a function as not being part of the ABI of any final linked image that
|
[libcxx] By default, do not use internal_linkage to hide symbols from the ABI
Summary:
https://reviews.llvm.org/D49240 led to symbol size problems in Chromium, and
we expect this may be the case in other projects built in debug mode too.
Instead, unless users explicitly ask for internal_linkage, we use always_inline
like we used to.
In the future, when we have a solution that allows us to drop always_inline
without falling back on internal_linkage, we can replace always_inline by
that.
Note that this commit introduces a change in contract for existing libc++
users: by default, libc++ used to guarantee that TUs built with different
versions of libc++ could be linked together. With the introduction of the
_LIBCPP_HIDE_FROM_ABI_PER_TU macro, the default behavior is that TUs built
with different libc++ versions are not guaranteed to link. This is a change
in contract but not a change in behavior, since the current implementation
still allows linking TUs built with different libc++ versions together.
Reviewers: EricWF, mclow.lists, dexonsmith, hans, rnk
Subscribers: christof, cfe-commits
Differential Revision: https://reviews.llvm.org/D50652
llvm-svn: 339874
2018-08-16 20:44:28 +08:00
|
|
|
uses it.
|
2016-09-16 06:27:07 +08:00
|
|
|
|
2018-08-06 22:11:50 +08:00
|
|
|
**_LIBCPP_HIDE_FROM_ABI_AFTER_V1**
|
|
|
|
Mark a function as being hidden from the ABI (per `_LIBCPP_HIDE_FROM_ABI`)
|
|
|
|
when libc++ is built with an ABI version after ABI v1. This macro is used to
|
|
|
|
maintain ABI compatibility for symbols that have been historically exported
|
|
|
|
by libc++ in v1 of the ABI, but that we don't want to export in the future.
|
|
|
|
|
|
|
|
This macro works as follows. When we build libc++, we either hide the symbol
|
|
|
|
from the ABI (if the symbol is not part of the ABI in the version we're
|
|
|
|
building), or we leave it included. From user code (i.e. when we're not
|
|
|
|
building libc++), the macro always marks symbols as internal so that programs
|
|
|
|
built using new libc++ headers stop relying on symbols that are removed from
|
|
|
|
the ABI in a future version. Each time we release a new stable version of the
|
|
|
|
ABI, we should create a new _LIBCPP_HIDE_FROM_ABI_AFTER_XXX macro, and we can
|
|
|
|
use it to start removing symbols from the ABI after that stable version.
|
|
|
|
|
[libcxx] By default, do not use internal_linkage to hide symbols from the ABI
Summary:
https://reviews.llvm.org/D49240 led to symbol size problems in Chromium, and
we expect this may be the case in other projects built in debug mode too.
Instead, unless users explicitly ask for internal_linkage, we use always_inline
like we used to.
In the future, when we have a solution that allows us to drop always_inline
without falling back on internal_linkage, we can replace always_inline by
that.
Note that this commit introduces a change in contract for existing libc++
users: by default, libc++ used to guarantee that TUs built with different
versions of libc++ could be linked together. With the introduction of the
_LIBCPP_HIDE_FROM_ABI_PER_TU macro, the default behavior is that TUs built
with different libc++ versions are not guaranteed to link. This is a change
in contract but not a change in behavior, since the current implementation
still allows linking TUs built with different libc++ versions together.
Reviewers: EricWF, mclow.lists, dexonsmith, hans, rnk
Subscribers: christof, cfe-commits
Differential Revision: https://reviews.llvm.org/D50652
llvm-svn: 339874
2018-08-16 20:44:28 +08:00
|
|
|
**_LIBCPP_HIDE_FROM_ABI_PER_TU**
|
|
|
|
This macro controls whether symbols hidden from the ABI with `_LIBCPP_HIDE_FROM_ABI`
|
|
|
|
are local to each translation unit in addition to being local to each final
|
|
|
|
linked image. This macro is defined to either 0 or 1. When it is defined to
|
|
|
|
1, translation units compiled with different versions of libc++ can be linked
|
|
|
|
together, since all non ABI-facing functions are local to each translation unit.
|
|
|
|
This allows static archives built with different versions of libc++ to be linked
|
|
|
|
together. This also means that functions marked with `_LIBCPP_HIDE_FROM_ABI`
|
|
|
|
are not guaranteed to have the same address across translation unit boundaries.
|
|
|
|
|
|
|
|
When the macro is defined to 0, there is no guarantee that translation units
|
|
|
|
compiled with different versions of libc++ can interoperate. However, this
|
|
|
|
leads to code size improvements, since non ABI-facing functions can be
|
|
|
|
deduplicated across translation unit boundaries.
|
|
|
|
|
|
|
|
This macro can be defined by users to control the behavior they want from
|
|
|
|
libc++. The default value of this macro (0 or 1) is controlled by whether
|
|
|
|
`_LIBCPP_HIDE_FROM_ABI_PER_TU_BY_DEFAULT` is defined, which is intended to
|
|
|
|
be used by vendors only (see below).
|
|
|
|
|
|
|
|
**_LIBCPP_HIDE_FROM_ABI_PER_TU_BY_DEFAULT**
|
|
|
|
This macro controls the default value for `_LIBCPP_HIDE_FROM_ABI_PER_TU`.
|
|
|
|
When the macro is defined, per TU ABI insulation is enabled by default, and
|
2018-09-20 16:05:01 +08:00
|
|
|
`_LIBCPP_HIDE_FROM_ABI_PER_TU` is defined to 1 unless overridden by users.
|
[libcxx] By default, do not use internal_linkage to hide symbols from the ABI
Summary:
https://reviews.llvm.org/D49240 led to symbol size problems in Chromium, and
we expect this may be the case in other projects built in debug mode too.
Instead, unless users explicitly ask for internal_linkage, we use always_inline
like we used to.
In the future, when we have a solution that allows us to drop always_inline
without falling back on internal_linkage, we can replace always_inline by
that.
Note that this commit introduces a change in contract for existing libc++
users: by default, libc++ used to guarantee that TUs built with different
versions of libc++ could be linked together. With the introduction of the
_LIBCPP_HIDE_FROM_ABI_PER_TU macro, the default behavior is that TUs built
with different libc++ versions are not guaranteed to link. This is a change
in contract but not a change in behavior, since the current implementation
still allows linking TUs built with different libc++ versions together.
Reviewers: EricWF, mclow.lists, dexonsmith, hans, rnk
Subscribers: christof, cfe-commits
Differential Revision: https://reviews.llvm.org/D50652
llvm-svn: 339874
2018-08-16 20:44:28 +08:00
|
|
|
Otherwise, per TU ABI insulation is disabled by default, and
|
2018-09-20 16:05:01 +08:00
|
|
|
`_LIBCPP_HIDE_FROM_ABI_PER_TU` is defined to 0 unless overridden by users.
|
[libcxx] By default, do not use internal_linkage to hide symbols from the ABI
Summary:
https://reviews.llvm.org/D49240 led to symbol size problems in Chromium, and
we expect this may be the case in other projects built in debug mode too.
Instead, unless users explicitly ask for internal_linkage, we use always_inline
like we used to.
In the future, when we have a solution that allows us to drop always_inline
without falling back on internal_linkage, we can replace always_inline by
that.
Note that this commit introduces a change in contract for existing libc++
users: by default, libc++ used to guarantee that TUs built with different
versions of libc++ could be linked together. With the introduction of the
_LIBCPP_HIDE_FROM_ABI_PER_TU macro, the default behavior is that TUs built
with different libc++ versions are not guaranteed to link. This is a change
in contract but not a change in behavior, since the current implementation
still allows linking TUs built with different libc++ versions together.
Reviewers: EricWF, mclow.lists, dexonsmith, hans, rnk
Subscribers: christof, cfe-commits
Differential Revision: https://reviews.llvm.org/D50652
llvm-svn: 339874
2018-08-16 20:44:28 +08:00
|
|
|
|
|
|
|
This macro is intended for vendors to control whether they want to ship
|
|
|
|
libc++ with per TU ABI insulation enabled by default. Users can always
|
|
|
|
control the behavior they want by defining `_LIBCPP_HIDE_FROM_ABI_PER_TU`
|
|
|
|
appropriately.
|
|
|
|
|
|
|
|
By default, this macro is not defined, which means that per TU ABI insulation
|
2018-09-20 16:05:01 +08:00
|
|
|
is not provided unless explicitly overridden by users.
|
[libcxx] By default, do not use internal_linkage to hide symbols from the ABI
Summary:
https://reviews.llvm.org/D49240 led to symbol size problems in Chromium, and
we expect this may be the case in other projects built in debug mode too.
Instead, unless users explicitly ask for internal_linkage, we use always_inline
like we used to.
In the future, when we have a solution that allows us to drop always_inline
without falling back on internal_linkage, we can replace always_inline by
that.
Note that this commit introduces a change in contract for existing libc++
users: by default, libc++ used to guarantee that TUs built with different
versions of libc++ could be linked together. With the introduction of the
_LIBCPP_HIDE_FROM_ABI_PER_TU macro, the default behavior is that TUs built
with different libc++ versions are not guaranteed to link. This is a change
in contract but not a change in behavior, since the current implementation
still allows linking TUs built with different libc++ versions together.
Reviewers: EricWF, mclow.lists, dexonsmith, hans, rnk
Subscribers: christof, cfe-commits
Differential Revision: https://reviews.llvm.org/D50652
llvm-svn: 339874
2018-08-16 20:44:28 +08:00
|
|
|
|
2016-09-16 06:27:07 +08:00
|
|
|
**_LIBCPP_TYPE_VIS**
|
2017-03-02 11:22:18 +08:00
|
|
|
Mark a type's typeinfo, vtable and members as having default visibility.
|
|
|
|
This attribute cannot be used on class templates.
|
|
|
|
|
|
|
|
**_LIBCPP_TEMPLATE_VIS**
|
2016-09-16 06:27:07 +08:00
|
|
|
Mark a type's typeinfo and vtable as having default visibility.
|
2017-03-02 11:22:18 +08:00
|
|
|
This macro has no effect on the visibility of the type's member functions.
|
2016-09-16 06:27:07 +08:00
|
|
|
|
|
|
|
**GCC Behavior**: GCC does not support Clang's `type_visibility(...)`
|
|
|
|
attribute. With GCC the `visibility(...)` attribute is used and member
|
|
|
|
functions are affected.
|
|
|
|
|
|
|
|
**Windows Behavior**: DLLs do not support dllimport/export on class templates.
|
|
|
|
The macro has an empty definition on this platform.
|
|
|
|
|
|
|
|
|
|
|
|
**_LIBCPP_ENUM_VIS**
|
|
|
|
Mark the typeinfo of an enum as having default visibility. This attribute
|
|
|
|
should be applied to all enum declarations.
|
|
|
|
|
|
|
|
**Windows Behavior**: DLLs do not support importing or exporting enumeration
|
|
|
|
typeinfo. The macro has an empty definition on this platform.
|
|
|
|
|
|
|
|
**GCC Behavior**: GCC un-hides the typeinfo for enumerations by default, even
|
|
|
|
if `-fvisibility=hidden` is specified. Additionally applying a visibility
|
|
|
|
attribute to an enum class results in a warning. The macro has an empty
|
|
|
|
definition with GCC.
|
|
|
|
|
|
|
|
**_LIBCPP_EXTERN_TEMPLATE_TYPE_VIS**
|
|
|
|
Mark the member functions, typeinfo, and vtable of the type named in
|
|
|
|
a `_LIBCPP_EXTERN_TEMPLATE` declaration as being exported by the libc++ library.
|
|
|
|
This attribute must be specified on all extern class template declarations.
|
|
|
|
|
2017-01-05 07:56:00 +08:00
|
|
|
This macro is used to override the `_LIBCPP_TEMPLATE_VIS` attribute
|
2016-09-16 06:27:07 +08:00
|
|
|
specified on the primary template and to export the member functions produced
|
|
|
|
by the explicit instantiation in the dylib.
|
|
|
|
|
|
|
|
**GCC Behavior**: GCC ignores visibility attributes applied the type in
|
|
|
|
extern template declarations and applying an attribute results in a warning.
|
2017-01-05 08:04:37 +08:00
|
|
|
However since `_LIBCPP_TEMPLATE_VIS` is the same as
|
2017-01-05 07:56:00 +08:00
|
|
|
`__attribute__((visibility("default"))` the visibility is already correct.
|
|
|
|
The macro has an empty definition with GCC.
|
2016-09-16 06:27:07 +08:00
|
|
|
|
2016-09-20 02:29:07 +08:00
|
|
|
**Windows Behavior**: `extern template` and `dllexport` are fundamentally
|
2017-07-14 04:47:24 +08:00
|
|
|
incompatible *on a class template* on Windows; the former suppresses
|
2016-09-20 02:29:07 +08:00
|
|
|
instantiation, while the latter forces it. Specifying both on the same
|
2017-07-14 04:47:24 +08:00
|
|
|
declaration makes the class template be instantiated, which is not desirable
|
2016-09-20 02:29:07 +08:00
|
|
|
inside headers. This macro therefore expands to `dllimport` outside of libc++
|
|
|
|
but nothing inside of it (rather than expanding to `dllexport`); instead, the
|
|
|
|
explicit instantiations themselves are marked as exported. Note that this
|
2017-07-14 04:47:24 +08:00
|
|
|
applies *only* to extern *class* templates. Extern *function* templates obey
|
2016-09-20 02:29:07 +08:00
|
|
|
regular import/export semantics, and applying `dllexport` directly to the
|
2017-07-14 05:35:52 +08:00
|
|
|
extern template declaration (i.e. using `_LIBCPP_FUNC_VIS`) is the correct
|
|
|
|
thing to do for them.
|
2016-09-20 02:29:07 +08:00
|
|
|
|
|
|
|
**_LIBCPP_CLASS_TEMPLATE_INSTANTIATION_VIS**
|
|
|
|
Mark the member functions, typeinfo, and vtable of an explicit instantiation
|
|
|
|
of a class template as being exported by the libc++ library. This attribute
|
2017-07-14 06:08:59 +08:00
|
|
|
must be specified on all class template explicit instantiations.
|
2016-09-20 02:29:07 +08:00
|
|
|
|
|
|
|
It is only necessary to mark the explicit instantiation itself (as opposed to
|
|
|
|
the extern template declaration) as exported on Windows, as discussed above.
|
|
|
|
On all other platforms, this macro has an empty definition.
|
|
|
|
|
[libc++] Make _LIBCPP_EXTERN_TEMPLATE_TYPE_VIS export members
When building libc++ with hidden visibility, we want explicit template
instantiations to export members. This is consistent with existing
Windows behavior, and is necessary for clients to be able to link
against a hidden visibility built libc++ without running into lots of
missing symbols.
An unfortunate side effect, however, is that any template methods of a
class with an explicit instantiation will get default visibility when
instantiated, unless the methods are explicitly marked inline or hidden
visibility. This is not desirable for clients of libc++ headers who wish
to control their visibility, and led to PR30642.
Annotate all problematic methods with an explicit visibility specifier
to avoid this. The problematic methods were found by running
https://github.com/smeenai/bad-visibility-finder against the libc++
headers after making the _LIBCPP_EXTERN_TEMPLATE_TYPE_VIS change. The
methods were marked with the new _LIBCPP_METHOD_TEMPLATE_IMPLICIT_INSTANTIATION_VIS
macro, which was created for this purpose.
It should be noted that _LIBCPP_EXTERN_TEMPLATE_TYPE_VIS was originally
intended to expand to default visibility, and was changed to expanding
to default type visibility to fix PR30642. The visibility macro
documentation was not updated accordingly, however, so this change makes
the macro consistent with its documentation again, while explicitly
fixing the methods which resulted in that PR.
Differential Revision: https://reviews.llvm.org/D29157
llvm-svn: 296731
2017-03-02 11:02:50 +08:00
|
|
|
**_LIBCPP_METHOD_TEMPLATE_IMPLICIT_INSTANTIATION_VIS**
|
|
|
|
Mark a symbol as hidden so it will not be exported from shared libraries. This
|
|
|
|
is intended specifically for method templates of either classes marked with
|
|
|
|
`_LIBCPP_TYPE_VIS` or classes with an extern template instantiation
|
|
|
|
declaration marked with `_LIBCPP_EXTERN_TEMPLATE_TYPE_VIS`.
|
|
|
|
|
|
|
|
When building libc++ with hidden visibility, we want explicit template
|
|
|
|
instantiations to export members, which is consistent with existing Windows
|
|
|
|
behavior. We also want classes annotated with `_LIBCPP_TYPE_VIS` to export
|
|
|
|
their members, which is again consistent with existing Windows behavior.
|
|
|
|
Both these changes are necessary for clients to be able to link against a
|
|
|
|
libc++ DSO built with hidden visibility without encountering missing symbols.
|
|
|
|
|
|
|
|
An unfortunate side effect, however, is that method templates of classes
|
|
|
|
either marked `_LIBCPP_TYPE_VIS` or with extern template instantiation
|
|
|
|
declarations marked with `_LIBCPP_EXTERN_TEMPLATE_TYPE_VIS` also get default
|
|
|
|
visibility when instantiated. These methods are often implicitly instantiated
|
|
|
|
inside other libraries which use the libc++ headers, and will therefore end up
|
|
|
|
being exported from those libraries, since those implicit instantiations will
|
|
|
|
receive default visibility. This is not acceptable for libraries that wish to
|
|
|
|
control their visibility, and led to PR30642.
|
|
|
|
|
|
|
|
Consequently, all such problematic method templates are explicitly marked
|
|
|
|
either hidden (via this macro) or inline, so that they don't leak into client
|
|
|
|
libraries. The problematic methods were found by running
|
|
|
|
`bad-visibility-finder <https://github.com/smeenai/bad-visibility-finder>`_
|
|
|
|
against the libc++ headers after making `_LIBCPP_TYPE_VIS` and
|
|
|
|
`_LIBCPP_EXTERN_TEMPLATE_TYPE_VIS` expand to default visibility.
|
|
|
|
|
2016-09-16 06:27:07 +08:00
|
|
|
**_LIBCPP_EXCEPTION_ABI**
|
|
|
|
Mark the member functions, typeinfo, and vtable of the type as being exported
|
|
|
|
by the libc++ library. This macro must be applied to all *exception types*.
|
2016-09-16 10:51:26 +08:00
|
|
|
Exception types should be defined directly in namespace `std` and not the
|
|
|
|
versioning namespace. This allows throwing and catching some exception types
|
|
|
|
between libc++ and libstdc++.
|
2016-09-16 06:27:07 +08:00
|
|
|
|
[libc++] Introduce _LIBCPP_HIDE_FROM_ABI to replace _LIBCPP_INLINE_VISIBILITY
Summary:
This commit introduces a new macro, _LIBCPP_HIDE_FROM_ABI, whose goal is to
mark functions that shouldn't be part of libc++'s ABI. It marks the functions
as being hidden for dylib visibility purposes, and as having internal linkage
using Clang's __attribute__((internal_linkage)) when available, and
__always_inline__ otherwise.
It replaces _LIBCPP_INLINE_VISIBILITY, which was always using __always_inline__
to achieve similar goals, but suffered from debuggability and code size problems.
The full proposal, along with more background information, can be found here:
http://lists.llvm.org/pipermail/cfe-dev/2018-July/058419.html
This commit does not rename uses of _LIBCPP_INLINE_VISIBILITY to
_LIBCPP_HIDE_FROM_ABI: this wide reaching but mechanical change can
be done later when we've confirmed we're happy with the new macro.
In the future, it would be nice if we could optionally allow dropping
any internal_linkage or __always_inline__ attribute, which could result
in code size improvements. However, this is currently impossible for
reasons explained here: http://lists.llvm.org/pipermail/cfe-dev/2018-July/058450.html
Reviewers: EricWF, dexonsmith, mclow.lists
Subscribers: christof, dexonsmith, llvm-commits, mclow.lists
Differential Revision: https://reviews.llvm.org/D49240
llvm-svn: 338122
2018-07-27 20:46:03 +08:00
|
|
|
**_LIBCPP_INTERNAL_LINKAGE**
|
|
|
|
Mark the affected entity as having internal linkage (i.e. the `static`
|
|
|
|
keyword in C). This is only a best effort: when the `internal_linkage`
|
|
|
|
attribute is not available, we fall back to forcing the function to be
|
|
|
|
inlined, which approximates internal linkage since an externally visible
|
|
|
|
symbol is never generated for that function. This is an internal macro
|
|
|
|
used as an implementation detail by other visibility macros. Never mark
|
|
|
|
a function or a class with this macro directly.
|
|
|
|
|
|
|
|
**_LIBCPP_ALWAYS_INLINE**
|
|
|
|
Forces inlining of the function it is applied to. For visibility purposes,
|
|
|
|
this macro is used to make sure that an externally visible symbol is never
|
|
|
|
generated in an object file when the `internal_linkage` attribute is not
|
|
|
|
available. This is an internal macro used by other visibility macros, and
|
|
|
|
it should not be used directly.
|
|
|
|
|
2016-09-16 06:27:07 +08:00
|
|
|
Links
|
|
|
|
=====
|
|
|
|
|
|
|
|
* `[cfe-dev] Visibility in libc++ - 1 <http://lists.llvm.org/pipermail/cfe-dev/2013-July/030610.html>`_
|
|
|
|
* `[cfe-dev] Visibility in libc++ - 2 <http://lists.llvm.org/pipermail/cfe-dev/2013-August/031195.html>`_
|
|
|
|
* `[libcxx] Visibility fixes for Windows <http://lists.llvm.org/pipermail/cfe-commits/Week-of-Mon-20130805/085461.html>`_
|