svn commit: r357118 - projects/clang1000-import/contrib/llvm-project/clang/lib/Driver/ToolChains

Dimitry Andric dim at FreeBSD.org
Sat Jan 25 14:43:23 UTC 2020


Author: dim
Date: Sat Jan 25 14:43:22 2020
New Revision: 357118
URL: https://svnweb.freebsd.org/changeset/base/357118

Log:
  Further reduce diffs between upstream and our version.

Modified:
  projects/clang1000-import/contrib/llvm-project/clang/lib/Driver/ToolChains/FreeBSD.cpp

Modified: projects/clang1000-import/contrib/llvm-project/clang/lib/Driver/ToolChains/FreeBSD.cpp
==============================================================================
--- projects/clang1000-import/contrib/llvm-project/clang/lib/Driver/ToolChains/FreeBSD.cpp	Sat Jan 25 14:39:59 2020	(r357117)
+++ projects/clang1000-import/contrib/llvm-project/clang/lib/Driver/ToolChains/FreeBSD.cpp	Sat Jan 25 14:43:22 2020	(r357118)
@@ -383,8 +383,7 @@ ToolChain::CXXStdlibType FreeBSD::GetDefaultCXXStdlibT
 }
 
 unsigned FreeBSD::GetDefaultDwarfVersion() const {
-  // Default to use DWARF 2 before FreeBSD 13.
-  if (getTriple().getOSMajorVersion() < 13)
+  if (getTriple().getOSMajorVersion() < 12)
     return 2;
   return 4;
 }


More information about the svn-src-projects mailing list