Files
node/tools
Joyee Cheung 12f716be0a build: build v8 with -fvisibility=hidden on macOS
V8 should be built with -fvisibility=hidden, otherwise
the resulting binary would contain unnecessary symbols. In
particular, on macOS, this leads to 5000+ weak symbols
resolved at runtime, leading to a startup regression.

On macOS this also reduces the binary size about ~10MB.

It's only enabled on macOS in this patch as gcc can time out
or run out of memory on some machines in the CI with
-fvisibility=hidden.

PR-URL: https://github.com/nodejs/node/pull/56275
Fixes: https://github.com/nodejs/performance/issues/180
Reviewed-By: Juan José Arboleda <soyjuanarbol@gmail.com>
Reviewed-By: Daniel Lemire <daniel@lemire.me>
Reviewed-By: Rafael Gonzaga <rafael.nunu@hotmail.com>
Reviewed-By: Yagiz Nizipli <yagiz@nizipli.com>
Reviewed-By: Geoffrey Booth <webadmin@geoffreybooth.com>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: Michaël Zasso <targos@protonmail.com>
Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
Reviewed-By: Chengzhong Wu <legendecas@gmail.com>
Reviewed-By: Marco Ippolito <marcoippolito54@gmail.com>
2025-01-31 01:16:41 +01:00
..
2024-08-05 11:15:41 -03:00
2024-11-27 11:03:39 -05:00
2025-01-05 13:05:28 -05:00
2024-11-27 01:23:23 -05:00
…
…
…
2024-11-27 01:23:23 -05:00
2024-05-08 09:02:02 +02:00
2024-11-27 01:23:23 -05:00
2024-10-04 10:20:10 +02:00
2024-11-27 11:03:39 -05:00
2024-11-27 11:03:39 -05:00
2024-11-27 01:23:23 -05:00
…
2025-01-05 13:05:27 -05:00
…