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")))
authorH.Merijn Brand <perl5@tux.freedom.nl>
Thu, 25 Aug 2022 14:49:59 +0000 (16:49 +0200)
committerH.Merijn Brand <perl5@tux.freedom.nl>
Thu, 25 Aug 2022 14:49:59 +0000 (16:49 +0200)
commit3978b74e3b527e8625aa5b5d3a1fb6f014ab0ef9
tree55ac249224f528f61dcd949fef045cf8e45adb91
parent5ca7fae2ebeeb939d061978dd3d7619b0f2a874c
hide private functions with __attribute__((visibility("hidden")))

Backport of 0351a629e71de127cbfd1b142e9eaa6069deabf5

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.
U/modified/d_attribut.U