diff options
author | Jim Huang <jserv@biilabs.io> | 2019-06-23 23:04:43 +0800 |
---|---|---|
committer | Jim Huang <jserv.tw@gmail.com> | 2019-06-25 10:00:22 +0800 |
commit | 256eb9784910b708dc3d583bc1c1cb9d24420797 (patch) | |
tree | 35e39bd961d23d14015dfd6a861bc6b60905ab1c /docs/group__heap.js | |
parent | 91cb4cee8afec59796390cf1c7b809061f1782c5 (diff) |
Avoid unnecessary symbol exposure with ELF-based systems
GCC's default visibility is "public" but can be changed to
"hidden" with the argument "-fvisibility=hidden".
Tested with x86_64 / Ubuntu Linux 18.04 LTS:
[before]
$ nm -g -C libmimalloc.so | grep "T " | wc -l
142
[after]
$ nm -g -C libmimalloc.so | grep "T " | wc -l
93
This patch does not change the build on macOS.
Diffstat (limited to 'docs/group__heap.js')
0 files changed, 0 insertions, 0 deletions