No description
Find a file
Dimitry Andric cf1eaaf41c
Some checks are pending
Cross-build Kernel / aarch64 ubuntu-24.04 (clang-18) (push) Waiting to run
Cross-build Kernel / amd64 macos-latest (clang-18) (push) Waiting to run
Cross-build Kernel / aarch64 macos-latest (clang-18) (push) Waiting to run
Cross-build Kernel / amd64 ubuntu-22.04 (clang-15) (push) Waiting to run
Cross-build Kernel / aarch64 ubuntu-22.04 (clang-15) (push) Waiting to run
Cross-build Kernel / amd64 ubuntu-24.04 (clang-18) (push) Waiting to run
Reduce number of external symbols in libllvm, libclang and liblldb
In commit 2e47f35be5 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
2025-12-22 10:31:40 +01:00
.cirrus-ci
.github CI: Use Ubuntu mirrors instead of azure (#18057) 2025-12-16 09:15:18 -08:00
bin Vendor import of blocklist 2025-12-15 (8a4b011) 2025-12-16 01:01:50 +00:00
cddl zfs: unbreak build after 89f729dcc merge 2025-12-08 13:21:26 +01:00
contrib libpcap: fix resource leaks and set error messages 2025-12-21 18:23:28 -08:00
crypto openssh: Don't attempt to connect to unsupported addresses 2025-11-21 07:28:24 +01:00
etc unionfs: Support renaming symbolic links 2025-12-17 23:40:59 +01:00
gnu diff3: Move to own package 2025-10-01 09:23:40 -04:00
include DDT: Add/use zap_lookup_length_uint64_by_dnode() 2025-12-15 14:38:34 -08:00
kerberos5 heimdal-kadmin: Add support for the -f dump option 2025-10-05 09:18:35 -07:00
krb5 krb5: Remove extraneous exports file 2025-12-18 10:16:39 -08:00
lib Reduce number of external symbols in libllvm, libclang and liblldb 2025-12-22 10:31:40 +01:00
libexec rtld: silence clang's unterminated-string-initialization warning 2025-12-16 12:21:45 -08:00
release release: Include comms/usbmuxd to DVD to ensure ipheth(4) works 2025-12-06 07:57:48 +08:00
rescue zfs: world changes after 89f729dcc merge 2025-12-07 23:09:12 +01:00
sbin libpfctl: export a get states variant that takes a pfctl_handle 2025-12-21 18:33:06 +01:00
secure libcrypto: Install tests in the tests package 2025-11-05 21:17:31 +00:00
share usr.bin: Remove intrinsic utilities 2025-12-19 18:15:40 +01:00
stand kboot: Explicitly use host:/proc 2025-12-10 12:03:47 -07:00
sys ipfw: fix bpf tap point lookup 2025-12-21 18:23:14 -08:00
targets usr.bin: Remove intrinsic utilities 2025-12-19 18:15:40 +01:00
tests ifconfig: Fix the -L flag when using netlink 2025-12-19 14:11:20 +00:00
tools cdefs.h: Introduce __nonstring attribute 2025-12-16 12:21:45 -08:00
usr.bin usr.bin: Remove intrinsic utilities 2025-12-19 18:15:40 +01:00
usr.sbin fwget: Add Navi 33 support 2025-12-20 19:49:51 +01:00
.arcconfig
.arclint
.cirrus.yml .cirrus.yml: Add persistent worker 2025-12-17 19:55:42 +01:00
.clang-format clang-format: Minor tweaks 2024-04-30 17:33:43 -04:00
.clean_build_epoch build: introduce the notion of a build epoch 2025-08-14 23:43:42 -05:00
.git-blame-ignore-revs git-blame-ignore-revs: sys/bus.h style(9) fixes 2025-09-12 12:55:53 +08:00
.gitattributes Remove SVN related Git attributes 2023-12-26 10:28:28 -07:00
.gitignore src.sys.mk: Support src.conf in SRCTOP 2025-09-10 18:58:30 +02:00
.mailmap mailmap: add my Raptor Engineering address 2025-12-03 08:58:33 -06:00
CONTRIBUTING.md CONTRIBUTING: Tweak the language 2025-08-08 11:16:13 -06:00
COPYRIGHT copyright: Happy New Year 2025 2025-01-01 00:04:28 +00:00
LOCKS Update LOCKS for Git 2023-12-26 10:28:25 -07:00
MAINTAINERS MAINTAINERS: Add myself to ufshci 2025-10-23 03:14:22 +00:00
Makefile Makefile: Force DISTDIR=/ for (update-)packages 2025-10-08 04:22:32 +01:00
Makefile.inc1 zfs: world changes after 89f729dcc merge 2025-12-07 23:09:12 +01:00
Makefile.libcompat Makefile.libcompat: Use same PATH for _lc_build-tools as _build-tools 2025-08-22 21:46:15 +01:00
Makefile.sys.inc Remove $FreeBSD$: one-line sh pattern 2023-08-16 11:55:03 -06:00
ObsoleteFiles.inc usr.bin: Remove intrinsic utilities 2025-12-19 18:15:40 +01:00
README.md Update README.md to add pointer to release page. 2024-05-09 20:40:46 -06:00
RELNOTES RELNOTES: Add entries from this week's scan of the commit logs 2025-12-14 15:46:51 +00:00
UPDATING cam: Reduce overly long timeout values for initial device probing 2025-12-11 12:07:17 -07:00

FreeBSD Source:

This is the top level of the FreeBSD source directory.

FreeBSD is an operating system used to power modern servers, desktops, and embedded platforms. A large community has continually developed it for more than thirty years. Its advanced networking, security, and storage features have made FreeBSD the platform of choice for many of the busiest web sites and most pervasive embedded networking and storage devices.

For copyright information, please see the file COPYRIGHT in this directory. Additional copyright information also exists for some sources in this tree - please see the specific source directories for more information.

The Makefile in this directory supports a number of targets for building components (or all) of the FreeBSD source tree. See build(7), config(8), FreeBSD handbook on building userland, and Handbook for kernels for more information, including setting make(1) variables.

For information on the CPU architectures and platforms supported by FreeBSD, see the FreeBSD website's Platforms page.

For official FreeBSD bootable images, see the release page.

Source Roadmap:

Directory Description
bin System/user commands.
cddl Various commands and libraries under the Common Development and Distribution License.
contrib Packages contributed by 3rd parties.
crypto Cryptography stuff (see crypto/README).
etc Template files for /etc.
gnu Commands and libraries under the GNU General Public License (GPL) or Lesser General Public License (LGPL). Please see gnu/COPYING and gnu/COPYING.LIB for more information.
include System include files.
kerberos5 Kerberos5 (Heimdal) package.
lib System libraries.
libexec System daemons.
release Release building Makefile & associated tools.
rescue Build system for statically linked /rescue utilities.
sbin System commands.
secure Cryptographic libraries and commands.
share Shared resources.
stand Boot loader sources.
sys Kernel sources (see sys/README.md).
targets Support for experimental DIRDEPS_BUILD
tests Regression tests which can be run by Kyua. See tests/README for additional information.
tools Utilities for regression testing and miscellaneous tasks.
usr.bin User commands.
usr.sbin System administration commands.

For information on synchronizing your source tree with one or more of the FreeBSD Project's development branches, please see FreeBSD Handbook.