]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Optionally create full debuginfo for llvm-related executables
authorDimitry Andric <dim@FreeBSD.org>
Sun, 11 Feb 2024 19:02:51 +0000 (20:02 +0100)
committerDimitry Andric <dim@FreeBSD.org>
Fri, 16 Feb 2024 23:15:32 +0000 (00:15 +0100)
commit73ff7384e025033abc98fd5437a48beb8077a90b
tree4cfe3c1e234f1026f2012a0e46f96b73526293b9
parent5b5f7d0e77a9eee73eb5d596f43aef4e1a3674d8
Optionally create full debuginfo for llvm-related executables

Commit de6feefdb7cfd limited the amount of debuginfo generated for clang
and other llvm-related executables. This was done to save disk space and
memory during building, but it makes debugging any of these executables
much harder.

Add a new src.conf(5) setting, WITH_LLVM_FULL_DEBUGINFO, to generate
full debuginfo instead. This is off by default, but could for example be
enabled for release builds or snapshots, so llvm executables are easier
to debug.

Reviewed by: emaste
MFC after: 1 week
Differential Revision: https://reviews.freebsd.org/D43839
lib/clang/Makefile.inc
lib/clang/headers/Makefile
lib/clang/libclang/Makefile
lib/clang/libclangminimal/Makefile
lib/clang/liblldb/Makefile
lib/clang/libllvm/Makefile
lib/clang/libllvmminimal/Makefile
share/man/man5/src.conf.5
share/mk/src.opts.mk
tools/build/options/WITH_LLVM_FULL_DEBUGINFO [new file with mode: 0644]
usr.bin/clang/Makefile.inc