diff options
| author | Dimitry Andric <dim@FreeBSD.org> | 2025-12-21 21:37:57 +0000 |
|---|---|---|
| committer | Dimitry Andric <dim@FreeBSD.org> | 2025-12-22 09:31:40 +0000 |
| commit | cf1eaaf41cefe7e3aef45f6dab862191a3939ed8 (patch) | |
| tree | 6c24da6e295b5b57d9a551fedbc6af47dcef0c89 /contrib/lutok/ssh:/git@gitrepo.FreeBSD.org/(developers-only) | |
| parent | 88b04633c29e3a8fd2ac88febd1aedf409ce6925 (diff) | |
In commit 2e47f35be5dc libllvm, libclang and liblldb were converted into
private shared libraries. This allowed clang, lld, lldb, and other llvm
tools to be linked against these shared libraries, which makes them
smaller and avoids duplication.
However, upstream builds the shared libraries using several visibility
options, which reduces the number of external symbols, and makes the
libraries a bit smaller.
On my test machine:
* libprivatellvm.so goes from 75643 to 34706 symbols (~54% reduction)
* libprivateclang.so goes from 53250 to 33531 symbols (~37% reduction)
* libprivatelldb.so goes from 27242 to 18798 symbols (~31% reduction)
Note: to get the full benefit, a clean build is required. Incremental
builds should still work, but I didn't want to force a full rebuild on
everybody.
MFC after: 1 week
Diffstat (limited to 'contrib/lutok/ssh:/git@gitrepo.FreeBSD.org/(developers-only)')
0 files changed, 0 insertions, 0 deletions
