restore hidden visibility by default for Linux builds (#20461)

Summary:
Symbols are given hidden visibility by default on Linux to emulate the behavior on Windows.  This helps developers catch visibility issues in their streamlined Linux dev environment before being surprised, late in the process, by Windows errors.
Pull Request resolved: https://github.com/pytorch/pytorch/pull/20461

Reviewed By: kostmo

Differential Revision: D15410410

Pulled By: dzhulgakov

fbshipit-source-id: 1d684b5a9a80b692966a775c3f1c56b7c72ffc95
This commit is contained in:
Karl Ostmo
2019-05-20 16:45:12 -07:00
committed by Facebook Github Bot
parent be1f83c350
commit 0bfc0eeef7
13 changed files with 41 additions and 16 deletions

View File

@ -1,2 +1,3 @@
vptr:libtorch.so
vptr:libcaffe2.so
bounds:asmjit::Zone::_alloc