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
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/projects/clang1000-import/; revision=357118

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;
}