Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 20 Jun 2018 16:10:11 +0000 (UTC)
From:      Bryan Drewery <bdrewery@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r335449 - head/lib/clang/libllvm
Message-ID:  <201806201610.w5KGABGb013984@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: bdrewery
Date: Wed Jun 20 16:10:10 2018
New Revision: 335449
URL: https://svnweb.freebsd.org/changeset/base/335449

Log:
  Fix sources needed for lld.
  
  lld always needs these DWARF sources, as well as other default and extra
  tools. XDL seems to be the best fit list.
  
  Remove MK_LLD_IS_LD check from SRCS_MIW which is now reduced to just a
  few files for llvm-objdump.
  
  Sponsored by:	Dell EMC
  Differential Revision:	https://reviews.freebsd.org/D15915

Modified:
  head/lib/clang/libllvm/Makefile

Modified: head/lib/clang/libllvm/Makefile
==============================================================================
--- head/lib/clang/libllvm/Makefile	Wed Jun 20 16:10:07 2018	(r335448)
+++ head/lib/clang/libllvm/Makefile	Wed Jun 20 16:10:10 2018	(r335449)
@@ -371,30 +371,30 @@ SRCS_MIN+=	DebugInfo/CodeView/TypeIndexDiscovery.cpp
 SRCS_MIN+=	DebugInfo/CodeView/TypeRecordMapping.cpp
 SRCS_MIN+=	DebugInfo/CodeView/TypeStreamMerger.cpp
 SRCS_MIN+=	DebugInfo/CodeView/TypeTableCollection.cpp
-SRCS_MIW+=	DebugInfo/DWARF/DWARFAbbreviationDeclaration.cpp
-SRCS_MIW+=	DebugInfo/DWARF/DWARFAcceleratorTable.cpp
-SRCS_MIW+=	DebugInfo/DWARF/DWARFCompileUnit.cpp
-SRCS_MIW+=	DebugInfo/DWARF/DWARFContext.cpp
-SRCS_MIW+=	DebugInfo/DWARF/DWARFDataExtractor.cpp
-SRCS_MIW+=	DebugInfo/DWARF/DWARFDebugAbbrev.cpp
-SRCS_MIW+=	DebugInfo/DWARF/DWARFDebugArangeSet.cpp
-SRCS_MIW+=	DebugInfo/DWARF/DWARFDebugAranges.cpp
-SRCS_MIW+=	DebugInfo/DWARF/DWARFDebugFrame.cpp
-SRCS_MIW+=	DebugInfo/DWARF/DWARFDebugInfoEntry.cpp
-SRCS_MIW+=	DebugInfo/DWARF/DWARFDebugLine.cpp
-SRCS_MIW+=	DebugInfo/DWARF/DWARFDebugLoc.cpp
-SRCS_MIW+=	DebugInfo/DWARF/DWARFDebugMacro.cpp
-SRCS_MIW+=	DebugInfo/DWARF/DWARFDebugPubTable.cpp
-SRCS_MIW+=	DebugInfo/DWARF/DWARFDebugRangeList.cpp
-SRCS_MIW+=	DebugInfo/DWARF/DWARFDie.cpp
-SRCS_MIW+=	DebugInfo/DWARF/DWARFExpression.cpp
-SRCS_MIW+=	DebugInfo/DWARF/DWARFFormValue.cpp
-SRCS_MIW+=	DebugInfo/DWARF/DWARFGdbIndex.cpp
-SRCS_MIW+=	DebugInfo/DWARF/DWARFTypeUnit.cpp
-SRCS_MIW+=	DebugInfo/DWARF/DWARFUnit.cpp
-SRCS_MIW+=	DebugInfo/DWARF/DWARFUnitIndex.cpp
-SRCS_MIW+=	DebugInfo/DWARF/DWARFVerifier.cpp
-SRCS_MIW+=	DebugInfo/DWARF/SyntaxHighlighting.cpp
+SRCS_XDL+=	DebugInfo/DWARF/DWARFAbbreviationDeclaration.cpp
+SRCS_XDL+=	DebugInfo/DWARF/DWARFAcceleratorTable.cpp
+SRCS_XDL+=	DebugInfo/DWARF/DWARFCompileUnit.cpp
+SRCS_XDL+=	DebugInfo/DWARF/DWARFContext.cpp
+SRCS_XDL+=	DebugInfo/DWARF/DWARFDataExtractor.cpp
+SRCS_XDL+=	DebugInfo/DWARF/DWARFDebugAbbrev.cpp
+SRCS_XDL+=	DebugInfo/DWARF/DWARFDebugArangeSet.cpp
+SRCS_XDL+=	DebugInfo/DWARF/DWARFDebugAranges.cpp
+SRCS_XDL+=	DebugInfo/DWARF/DWARFDebugFrame.cpp
+SRCS_XDL+=	DebugInfo/DWARF/DWARFDebugInfoEntry.cpp
+SRCS_XDL+=	DebugInfo/DWARF/DWARFDebugLine.cpp
+SRCS_XDL+=	DebugInfo/DWARF/DWARFDebugLoc.cpp
+SRCS_XDL+=	DebugInfo/DWARF/DWARFDebugMacro.cpp
+SRCS_XDL+=	DebugInfo/DWARF/DWARFDebugPubTable.cpp
+SRCS_XDL+=	DebugInfo/DWARF/DWARFDebugRangeList.cpp
+SRCS_XDL+=	DebugInfo/DWARF/DWARFDie.cpp
+SRCS_XDL+=	DebugInfo/DWARF/DWARFExpression.cpp
+SRCS_XDL+=	DebugInfo/DWARF/DWARFFormValue.cpp
+SRCS_XDL+=	DebugInfo/DWARF/DWARFGdbIndex.cpp
+SRCS_XDL+=	DebugInfo/DWARF/DWARFTypeUnit.cpp
+SRCS_XDL+=	DebugInfo/DWARF/DWARFUnit.cpp
+SRCS_XDL+=	DebugInfo/DWARF/DWARFUnitIndex.cpp
+SRCS_XDL+=	DebugInfo/DWARF/DWARFVerifier.cpp
+SRCS_XDL+=	DebugInfo/DWARF/SyntaxHighlighting.cpp
 SRCS_MIN+=	DebugInfo/MSF/MSFBuilder.cpp
 SRCS_MIN+=	DebugInfo/MSF/MSFCommon.cpp
 SRCS_MIN+=	DebugInfo/MSF/MSFError.cpp
@@ -1275,7 +1275,7 @@ SRCS_EXT+=	Transforms/Vectorize/Vectorize.cpp
 SRCS_EXT+=	XRay/InstrumentationMap.cpp
 
 SRCS_ALL+=	${SRCS_MIN}
-.if !defined(TOOLS_PREFIX) || ${MK_LLD_IS_LD} != "no"
+.if !defined(TOOLS_PREFIX)
 SRCS_ALL+=	${SRCS_MIW}
 .endif
 .if ${MK_CLANG_EXTRAS} != "no"



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201806201610.w5KGABGb013984>