This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
hide private functions with __attribute__((visibility("hidden")))
authorTomasz Konojacki <me@xenu.pl>
Sat, 18 Jun 2022 05:26:58 +0000 (07:26 +0200)
committerxenu <me@xenu.pl>
Sat, 18 Jun 2022 06:51:14 +0000 (08:51 +0200)
commit0351a629e71de127cbfd1b142e9eaa6069deabf5
treed3248e133b1eb3d42bdfa321e9e8d06820628ad4
parent2287d33092e0f6594e38c269503627308460e02e
hide private functions with __attribute__((visibility("hidden")))

This allows us to enforce API boundaries and potentially enables
compiler optimisations.

We've been always hiding non-public symbols on Windows. This commit
brings that to the other platforms.
18 files changed:
Configure
Cross/config.sh-arm-linux
Cross/config.sh-arm-linux-n770
Porting/config.sh
config_h.SH
configure.com
perl.h
plan9/config_sh.sample
pod/perldelta.pod
pp_proto.h
proto.h
regen/embed.pl
regen/opcode.pl
uconfig.h
uconfig.sh
uconfig64.sh
win32/config.gc
win32/config.vc