diff options
author | Mark Mitchell <mark@codesourcery.com> | 2004-09-01 03:45:30 +0000 |
---|---|---|
committer | Mark Mitchell <mmitchel@gcc.gnu.org> | 2004-09-01 03:45:30 +0000 |
commit | 505970fc3324e2a0c00f5d82d66f62bae133e282 (patch) | |
tree | ec2aef636de8abf10479855a1221a1b908fabff6 /gcc/doc/tm.texi | |
parent | be8fff8104f223a0eaa5ea36f385982d09d9731e (diff) | |
download | gcc-505970fc3324e2a0c00f5d82d66f62bae133e282.zip gcc-505970fc3324e2a0c00f5d82d66f62bae133e282.tar.gz gcc-505970fc3324e2a0c00f5d82d66f62bae133e282.tar.bz2 |
target-def.h (TARGET_CXX): Add TARGET_CXX_EXPORT_CLASS_DATA.
* target-def.h (TARGET_CXX): Add TARGET_CXX_EXPORT_CLASS_DATA.
* target.h (cxx): Add export_class_data.
* config/arm/arm.c (arm_cxx_export_class_data): New function.
(TARGET_CXX_EXPORT_CLASS_DATA): Use it.
* testsuite/g++.dg/ext/visibility/arm1.C: New test.
* cp-tree.h (DECL_CONSTRUCTION_VTABLE_P): New macro.
* class.c (build_ctor_vtbl_group): Set DECL_CONSTRUCTION_VTABLE_P.
* decl2.c (determine_visibility): Honor
TARGET_CXX_EXPORT_CLASS_DATA.
* g++.dg/ext/visibility/arm1.C: New test.
From-SVN: r86867
Diffstat (limited to 'gcc/doc/tm.texi')
-rw-r--r-- | gcc/doc/tm.texi | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/gcc/doc/tm.texi b/gcc/doc/tm.texi index d1e59cf..bba444c 100644 --- a/gcc/doc/tm.texi +++ b/gcc/doc/tm.texi @@ -8538,6 +8538,14 @@ some variants of the ABI, an inline function can never be the key method. The default is to return @code{true}. @end deftypefn +@deftypefn {Target Hook} bool TARGET_CXX_EXPORT_CLASS_DATA (void) +If this hook returns false (the default), then virtual tables and RTTI +data structures will have the ELF visibility of their containing +class. If this hook returns true, then these data structures will +have ELF ``default'' visibility, independently of the visibility of +the containing class. +@end deftypefn + @node Misc @section Miscellaneous Parameters @cindex parameters, miscellaneous |