aboutsummaryrefslogtreecommitdiff
path: root/sbin/ipf/ipmon/ssh:/git@gitrepo.FreeBSD.org/src.git
diff options
context:
space:
mode:
authorDimitry Andric <dim@FreeBSD.org>2025-12-21 21:37:57 +0000
committerDimitry Andric <dim@FreeBSD.org>2025-12-22 09:31:40 +0000
commitcf1eaaf41cefe7e3aef45f6dab862191a3939ed8 (patch)
tree6c24da6e295b5b57d9a551fedbc6af47dcef0c89 /sbin/ipf/ipmon/ssh:/git@gitrepo.FreeBSD.org/src.git
parent88b04633c29e3a8fd2ac88febd1aedf409ce6925 (diff)
Reduce number of external symbols in libllvm, libclang and liblldbHEADmain
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 'sbin/ipf/ipmon/ssh:/git@gitrepo.FreeBSD.org/src.git')
0 files changed, 0 insertions, 0 deletions