HomePhabricator

clang: default to DWARF 4 for FreeBSD 12.0 and later

Authored by emaste on Sep 3 2019, 9:30 AM.

Description

clang: default to DWARF 4 for FreeBSD 12.0 and later

Older FreeBSD versions included GDB 6.1 and had other tools that were
unable to handle debug information newer than DWARF 2. Those tools have
since been updated. (An old version of GDB is still kept for kernel
crash handling, but the kernel is compiled with an explicit -gdwarf2.)

Reviewed by: dim
Differential Revision: https://reviews.llvm.org/D66760

llvm-svn: 370779

Details

Committed
emasteSep 3 2019, 9:30 AM
Reviewer
dim
Differential Revision
D66760: clang: default to DWARF 4 for FreeBSD 12.0 and later
Parents
rG063aac6cf30b: [test] Remove print statements and verify that the symbol exists
Branches
Unknown
Tags
Unknown