Further reduce diffs between upstream and our version.

This commit is contained in:
Dimitry Andric 2020-01-25 14:43:22 +00:00
parent 19a3930692
commit e5258cefd2

View File

@ -383,8 +383,7 @@ ToolChain::CXXStdlibType FreeBSD::GetDefaultCXXStdlibType() const {
}
unsigned FreeBSD::GetDefaultDwarfVersion() const {
// Default to use DWARF 2 before FreeBSD 13.
if (getTriple().getOSMajorVersion() < 13)
if (getTriple().getOSMajorVersion() < 12)
return 2;
return 4;
}