https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113958
--- Comment #3 from Noel Grandin ---
Andrew, the specific application here is a very large (10MLoc) codebase
(LibreOffice), where we have lots of very large classes with tons of methods,
where I want to limit symbol visibility to only the
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113958
--- Comment #2 from Andrew Pinski ---
I am not 100% sure if type_visibility is needed here or in general. You can
also use -fvisibility-inlines-hidden to hide methods that are declared as
inline which I suspect you want really too.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113958
--- Comment #1 from Andrew Pinski ---
You can use visibility on the type even Like:
```
struct __attribute__ ((visibility("default"))) Foo1{
virtual void some_member() = 0;
};
struct __attribute__ ((visibility("default"))) Foo : Foo1 {