HomeFreeBSD

clang: default to DWARF 4 as of FreeBSD 13

Description

clang: default to DWARF 4 as of FreeBSD 13

FreeBSD previously defaulted to DWARF 2 because several tools (gdb,
ctfconvert, etc.) did not support later versions. These have either
been fixed or are deprecated.

Note that gdb 6 still exists but has been moved out of $PATH into
/usr/libexec and is intended only for use by crashinfo(8). The kernel
build sets the DWARF version explicitly via -gdwarf2, so this should
have no effect there.

PR: 234887 [exp-run]
Reviewed by: markj
Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D17930

Details

Provenance
emasteAuthored on
Reviewer
markj
Differential Revision
D17930: clang: default to DWARF 4 as of FreeBSD 12
Parents
rS343428: Fix a bug in the restart window computation of TCP New Reno
Branches
Unknown
Tags
Unknown