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.)
Details
Details
Diff Detail
Diff Detail
- Repository
- rL LLVM
Event Timeline
Comment Actions
FreeBSD references:
https://reviews.freebsd.org/D17930
https://reviews.freebsd.org/rS343429
Note that in FreeBSD I used < 13 for the version test but all of the prereq changes were made in advance of FreeBSD 12.0.
Comment Actions
Is this testable as a driver test?
clang/lib/Driver/ToolChains/FreeBSD.cpp | ||
---|---|---|
368 ↗ | (On Diff #217201) | Is getOSMAjorVersion a typo? |
clang/test/Driver/debug-options.c | ||
---|---|---|
69 ↗ | (On Diff #218458) | FreeBSD 10 is out of support now, so use 11 as the base case |