HomeFreeBSD

Optionally create full debuginfo for llvm-related executables

Description

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

(cherry picked from commit 73ff7384e025033abc98fd5437a48beb8077a90b)

Details

Provenance
dimAuthored on Feb 11 2024, 7:02 PM
Reviewer
emaste
Differential Revision
D43839: Optionally create full debuginfo for llvm-related executables
Parents
rG8b84d2da9aac: rtld: use generated map file to check for some leaks from libc into rtld
Branches
Unknown
Tags
Unknown