You copied the Doc URL to your clipboard.

--max_visibility=type linker option

Controls the visibility of all symbol definitions.

--max_visibility= type

Where type can be one of:

default

Default visibility.

protected

Protected visibility.

Usage

Use--max_visibility=protected to limit the visibility of all symbol definitions. Global symbol definitions that normally have default visibility, are given protected visibility when this option is specified.

Default

The default is --max_visibility=default.

Was this page helpful? Yes No