Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 26 Aug 2016 22:44:22 +0000 (UTC)
From:      Dimitry Andric <dim@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-projects@freebsd.org
Subject:   svn commit: r304867 - in projects/clang390-import: . lib/clang lib/clang/headers lib/clang/include lib/clang/include/clang/AST lib/clang/include/clang/Basic lib/clang/include/clang/Driver lib/clang...
Message-ID:  <201608262244.u7QMiMj9033748@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: dim
Date: Fri Aug 26 22:44:22 2016
New Revision: 304867
URL: https://svnweb.freebsd.org/changeset/base/304867

Log:
  Completely revamp the way llvm, clang and lldb are built.
  
  * Bootstrap llvm-tblgen and clang-tblgen with a minimal llvm static
    library, that has no other dependencies.
  * Roll up all separate llvm libraries into one big static libllvm.
  * Similar for all separate clang and lldb static libraries.
  * For all these libraries, generate their .inc files only once.
  * Link all llvm tools (including extra) against the big libllvm.
  * Link clang and clang-format against the big libllvm and libclang.
  * Link lldb against the big libllvm, libclang and liblldb.
  
  N.B.: This is work in progress, some details may still be missing.
  
  It also heavily depends on bsd.*.mk's support for SRCS and DPSRCS with
  relative pathnames, which apparently does not always work as expected.
  For building llvm, clang and lldb though, it seems to work just fine.
  
  The main idea behind this restructuring is maintainability and build
  peformance.  The previous large number of very small libraries, each
  with their own generated files and dependencies was slow to traverse
  and hard to understand.
  
  Possible future improvements:
  * Only build certain targets, e.g. for most regular users having just
    one target will be fine.  This will shave off some build time.
  * Building the big llvm, clang and lldb libraries as shared (private)
    libraries.
  * Adding other components from the LLVM project, such as lld.

Added:
  projects/clang390-import/lib/clang/headers/
  projects/clang390-import/lib/clang/headers/Makefile   (contents, props changed)
  projects/clang390-import/lib/clang/libclang/
  projects/clang390-import/lib/clang/libclang/Makefile   (contents, props changed)
  projects/clang390-import/lib/clang/libllvm/
  projects/clang390-import/lib/clang/libllvm/Makefile   (contents, props changed)
  projects/clang390-import/lib/clang/libllvmminimal/
  projects/clang390-import/lib/clang/libllvmminimal/Makefile   (contents, props changed)
  projects/clang390-import/lib/clang/llvm.build.mk   (contents, props changed)
  projects/clang390-import/usr.bin/clang/Makefile.inc   (contents, props changed)
  projects/clang390-import/usr.bin/clang/llvm.prog.mk   (contents, props changed)
Deleted:
  projects/clang390-import/lib/clang/clang.lib.mk
  projects/clang390-import/lib/clang/include/AArch64GenAsmMatcher.inc
  projects/clang390-import/lib/clang/include/AArch64GenAsmWriter.inc
  projects/clang390-import/lib/clang/include/AArch64GenAsmWriter1.inc
  projects/clang390-import/lib/clang/include/AArch64GenCallingConv.inc
  projects/clang390-import/lib/clang/include/AArch64GenDAGISel.inc
  projects/clang390-import/lib/clang/include/AArch64GenDisassemblerTables.inc
  projects/clang390-import/lib/clang/include/AArch64GenFastISel.inc
  projects/clang390-import/lib/clang/include/AArch64GenInstrInfo.inc
  projects/clang390-import/lib/clang/include/AArch64GenMCCodeEmitter.inc
  projects/clang390-import/lib/clang/include/AArch64GenMCPseudoLowering.inc
  projects/clang390-import/lib/clang/include/AArch64GenRegisterInfo.inc
  projects/clang390-import/lib/clang/include/AArch64GenSubtargetInfo.inc
  projects/clang390-import/lib/clang/include/AArch64GenSystemOperands.inc
  projects/clang390-import/lib/clang/include/ARMGenAsmMatcher.inc
  projects/clang390-import/lib/clang/include/ARMGenAsmWriter.inc
  projects/clang390-import/lib/clang/include/ARMGenCallingConv.inc
  projects/clang390-import/lib/clang/include/ARMGenCodeEmitter.inc
  projects/clang390-import/lib/clang/include/ARMGenDAGISel.inc
  projects/clang390-import/lib/clang/include/ARMGenDisassemblerTables.inc
  projects/clang390-import/lib/clang/include/ARMGenFastISel.inc
  projects/clang390-import/lib/clang/include/ARMGenInstrInfo.inc
  projects/clang390-import/lib/clang/include/ARMGenMCCodeEmitter.inc
  projects/clang390-import/lib/clang/include/ARMGenMCPseudoLowering.inc
  projects/clang390-import/lib/clang/include/ARMGenRegisterInfo.inc
  projects/clang390-import/lib/clang/include/ARMGenSubtargetInfo.inc
  projects/clang390-import/lib/clang/include/AttributesCompatFunc.inc
  projects/clang390-import/lib/clang/include/Makefile
  projects/clang390-import/lib/clang/include/Makefile.depend
  projects/clang390-import/lib/clang/include/MipsGenAsmMatcher.inc
  projects/clang390-import/lib/clang/include/MipsGenAsmWriter.inc
  projects/clang390-import/lib/clang/include/MipsGenCallingConv.inc
  projects/clang390-import/lib/clang/include/MipsGenCodeEmitter.inc
  projects/clang390-import/lib/clang/include/MipsGenDAGISel.inc
  projects/clang390-import/lib/clang/include/MipsGenDisassemblerTables.inc
  projects/clang390-import/lib/clang/include/MipsGenFastISel.inc
  projects/clang390-import/lib/clang/include/MipsGenInstrInfo.inc
  projects/clang390-import/lib/clang/include/MipsGenMCCodeEmitter.inc
  projects/clang390-import/lib/clang/include/MipsGenMCPseudoLowering.inc
  projects/clang390-import/lib/clang/include/MipsGenRegisterInfo.inc
  projects/clang390-import/lib/clang/include/MipsGenSubtargetInfo.inc
  projects/clang390-import/lib/clang/include/PPCGenAsmMatcher.inc
  projects/clang390-import/lib/clang/include/PPCGenAsmWriter.inc
  projects/clang390-import/lib/clang/include/PPCGenCallingConv.inc
  projects/clang390-import/lib/clang/include/PPCGenCodeEmitter.inc
  projects/clang390-import/lib/clang/include/PPCGenDAGISel.inc
  projects/clang390-import/lib/clang/include/PPCGenDisassemblerTables.inc
  projects/clang390-import/lib/clang/include/PPCGenFastISel.inc
  projects/clang390-import/lib/clang/include/PPCGenInstrInfo.inc
  projects/clang390-import/lib/clang/include/PPCGenMCCodeEmitter.inc
  projects/clang390-import/lib/clang/include/PPCGenRegisterInfo.inc
  projects/clang390-import/lib/clang/include/PPCGenSubtargetInfo.inc
  projects/clang390-import/lib/clang/include/SparcGenAsmMatcher.inc
  projects/clang390-import/lib/clang/include/SparcGenAsmWriter.inc
  projects/clang390-import/lib/clang/include/SparcGenCallingConv.inc
  projects/clang390-import/lib/clang/include/SparcGenCodeEmitter.inc
  projects/clang390-import/lib/clang/include/SparcGenDAGISel.inc
  projects/clang390-import/lib/clang/include/SparcGenDisassemblerTables.inc
  projects/clang390-import/lib/clang/include/SparcGenInstrInfo.inc
  projects/clang390-import/lib/clang/include/SparcGenMCCodeEmitter.inc
  projects/clang390-import/lib/clang/include/SparcGenRegisterInfo.inc
  projects/clang390-import/lib/clang/include/SparcGenSubtargetInfo.inc
  projects/clang390-import/lib/clang/include/X86GenAsmMatcher.inc
  projects/clang390-import/lib/clang/include/X86GenAsmWriter.inc
  projects/clang390-import/lib/clang/include/X86GenAsmWriter1.inc
  projects/clang390-import/lib/clang/include/X86GenCallingConv.inc
  projects/clang390-import/lib/clang/include/X86GenDAGISel.inc
  projects/clang390-import/lib/clang/include/X86GenDisassemblerTables.inc
  projects/clang390-import/lib/clang/include/X86GenFastISel.inc
  projects/clang390-import/lib/clang/include/X86GenInstrInfo.inc
  projects/clang390-import/lib/clang/include/X86GenRegisterInfo.inc
  projects/clang390-import/lib/clang/include/X86GenSubtargetInfo.inc
  projects/clang390-import/lib/clang/include/clang/AST/
  projects/clang390-import/lib/clang/include/clang/Basic/AttrHasAttributeImpl.inc
  projects/clang390-import/lib/clang/include/clang/Basic/AttrList.inc
  projects/clang390-import/lib/clang/include/clang/Basic/DiagnosticASTKinds.inc
  projects/clang390-import/lib/clang/include/clang/Basic/DiagnosticAnalysisKinds.inc
  projects/clang390-import/lib/clang/include/clang/Basic/DiagnosticCommentKinds.inc
  projects/clang390-import/lib/clang/include/clang/Basic/DiagnosticCommonKinds.inc
  projects/clang390-import/lib/clang/include/clang/Basic/DiagnosticDriverKinds.inc
  projects/clang390-import/lib/clang/include/clang/Basic/DiagnosticFrontendKinds.inc
  projects/clang390-import/lib/clang/include/clang/Basic/DiagnosticGroups.inc
  projects/clang390-import/lib/clang/include/clang/Basic/DiagnosticIndexName.inc
  projects/clang390-import/lib/clang/include/clang/Basic/DiagnosticLexKinds.inc
  projects/clang390-import/lib/clang/include/clang/Basic/DiagnosticParseKinds.inc
  projects/clang390-import/lib/clang/include/clang/Basic/DiagnosticSemaKinds.inc
  projects/clang390-import/lib/clang/include/clang/Basic/DiagnosticSerializationKinds.inc
  projects/clang390-import/lib/clang/include/clang/Basic/arm_neon.inc
  projects/clang390-import/lib/clang/include/clang/Driver/
  projects/clang390-import/lib/clang/include/clang/Parse/
  projects/clang390-import/lib/clang/include/clang/Sema/
  projects/clang390-import/lib/clang/include/clang/Serialization/
  projects/clang390-import/lib/clang/include/clang/StaticAnalyzer/
  projects/clang390-import/lib/clang/include/llvm/IR/
  projects/clang390-import/lib/clang/libclanganalysis/
  projects/clang390-import/lib/clang/libclangarcmigrate/
  projects/clang390-import/lib/clang/libclangast/
  projects/clang390-import/lib/clang/libclangastmatchers/
  projects/clang390-import/lib/clang/libclangbasic/
  projects/clang390-import/lib/clang/libclangcodegen/
  projects/clang390-import/lib/clang/libclangdriver/
  projects/clang390-import/lib/clang/libclangdynamicastmatchers/
  projects/clang390-import/lib/clang/libclangedit/
  projects/clang390-import/lib/clang/libclangformat/
  projects/clang390-import/lib/clang/libclangfrontend/
  projects/clang390-import/lib/clang/libclangfrontendtool/
  projects/clang390-import/lib/clang/libclangindex/
  projects/clang390-import/lib/clang/libclanglex/
  projects/clang390-import/lib/clang/libclangparse/
  projects/clang390-import/lib/clang/libclangrewrite/
  projects/clang390-import/lib/clang/libclangrewritefrontend/
  projects/clang390-import/lib/clang/libclangsema/
  projects/clang390-import/lib/clang/libclangserialization/
  projects/clang390-import/lib/clang/libclangstaticanalyzercheckers/
  projects/clang390-import/lib/clang/libclangstaticanalyzercore/
  projects/clang390-import/lib/clang/libclangstaticanalyzerfrontend/
  projects/clang390-import/lib/clang/libclangtooling/
  projects/clang390-import/lib/clang/libclangtoolingcore/
  projects/clang390-import/lib/clang/liblldb/Makefile.depend
  projects/clang390-import/lib/clang/liblldbAPI/
  projects/clang390-import/lib/clang/liblldbBreakpoint/
  projects/clang390-import/lib/clang/liblldbCommands/
  projects/clang390-import/lib/clang/liblldbCore/
  projects/clang390-import/lib/clang/liblldbDataFormatters/
  projects/clang390-import/lib/clang/liblldbExpression/
  projects/clang390-import/lib/clang/liblldbHostCommon/
  projects/clang390-import/lib/clang/liblldbHostFreeBSD/
  projects/clang390-import/lib/clang/liblldbHostPOSIX/
  projects/clang390-import/lib/clang/liblldbInitialization/
  projects/clang390-import/lib/clang/liblldbInterpreter/
  projects/clang390-import/lib/clang/liblldbPluginABISysV_arm/
  projects/clang390-import/lib/clang/liblldbPluginABISysV_arm64/
  projects/clang390-import/lib/clang/liblldbPluginABISysV_i386/
  projects/clang390-import/lib/clang/liblldbPluginABISysV_mips/
  projects/clang390-import/lib/clang/liblldbPluginABISysV_mips64/
  projects/clang390-import/lib/clang/liblldbPluginABISysV_ppc/
  projects/clang390-import/lib/clang/liblldbPluginABISysV_ppc64/
  projects/clang390-import/lib/clang/liblldbPluginABISysV_x86_64/
  projects/clang390-import/lib/clang/liblldbPluginCPlusPlusLanguage/
  projects/clang390-import/lib/clang/liblldbPluginCXXItaniumABI/
  projects/clang390-import/lib/clang/liblldbPluginDisassemblerLLVM/
  projects/clang390-import/lib/clang/liblldbPluginDynamicLoaderPosixDYLD/
  projects/clang390-import/lib/clang/liblldbPluginDynamicLoaderStatic/
  projects/clang390-import/lib/clang/liblldbPluginExpressionParserClang/
  projects/clang390-import/lib/clang/liblldbPluginExpressionParserGo/
  projects/clang390-import/lib/clang/liblldbPluginInstructionARM/
  projects/clang390-import/lib/clang/liblldbPluginInstructionARM64/
  projects/clang390-import/lib/clang/liblldbPluginInstructionMIPS/
  projects/clang390-import/lib/clang/liblldbPluginInstructionMIPS64/
  projects/clang390-import/lib/clang/liblldbPluginInstrumentationRuntimeAddressSanitizer/
  projects/clang390-import/lib/clang/liblldbPluginJITLoaderGDB/
  projects/clang390-import/lib/clang/liblldbPluginMemoryHistoryASan/
  projects/clang390-import/lib/clang/liblldbPluginObjCLanguage/
  projects/clang390-import/lib/clang/liblldbPluginObjectContainerBSDArchive/
  projects/clang390-import/lib/clang/liblldbPluginObjectFileELF/
  projects/clang390-import/lib/clang/liblldbPluginObjectFileJIT/
  projects/clang390-import/lib/clang/liblldbPluginPlatformFreeBSD/
  projects/clang390-import/lib/clang/liblldbPluginPlatformGDB/
  projects/clang390-import/lib/clang/liblldbPluginProcessElfCore/
  projects/clang390-import/lib/clang/liblldbPluginProcessFreeBSD/
  projects/clang390-import/lib/clang/liblldbPluginProcessGDBRemote/
  projects/clang390-import/lib/clang/liblldbPluginProcessPOSIX/
  projects/clang390-import/lib/clang/liblldbPluginProcessUtility/
  projects/clang390-import/lib/clang/liblldbPluginScriptInterpreterNone/
  projects/clang390-import/lib/clang/liblldbPluginSymbolFileDWARF/
  projects/clang390-import/lib/clang/liblldbPluginSymbolFilePDB/
  projects/clang390-import/lib/clang/liblldbPluginSymbolFileSymtab/
  projects/clang390-import/lib/clang/liblldbPluginSymbolVendorELF/
  projects/clang390-import/lib/clang/liblldbPluginUnwindAssemblyInstEmulation/
  projects/clang390-import/lib/clang/liblldbPluginUnwindAssemblyX86/
  projects/clang390-import/lib/clang/liblldbSymbol/
  projects/clang390-import/lib/clang/liblldbTarget/
  projects/clang390-import/lib/clang/liblldbUtility/
  projects/clang390-import/lib/clang/libllvmaarch64asmparser/
  projects/clang390-import/lib/clang/libllvmaarch64asmprinter/
  projects/clang390-import/lib/clang/libllvmaarch64codegen/
  projects/clang390-import/lib/clang/libllvmaarch64desc/
  projects/clang390-import/lib/clang/libllvmaarch64disassembler/
  projects/clang390-import/lib/clang/libllvmaarch64info/
  projects/clang390-import/lib/clang/libllvmaarch64utils/
  projects/clang390-import/lib/clang/libllvmanalysis/
  projects/clang390-import/lib/clang/libllvmarmasmparser/
  projects/clang390-import/lib/clang/libllvmarmasmprinter/
  projects/clang390-import/lib/clang/libllvmarmcodegen/
  projects/clang390-import/lib/clang/libllvmarmdesc/
  projects/clang390-import/lib/clang/libllvmarmdisassembler/
  projects/clang390-import/lib/clang/libllvmarminfo/
  projects/clang390-import/lib/clang/libllvmasmparser/
  projects/clang390-import/lib/clang/libllvmasmprinter/
  projects/clang390-import/lib/clang/libllvmbitreader/
  projects/clang390-import/lib/clang/libllvmbitwriter/
  projects/clang390-import/lib/clang/libllvmcodegen/
  projects/clang390-import/lib/clang/libllvmcore/
  projects/clang390-import/lib/clang/libllvmcoverage/
  projects/clang390-import/lib/clang/libllvmdebuginfocodeview/
  projects/clang390-import/lib/clang/libllvmdebuginfodwarf/
  projects/clang390-import/lib/clang/libllvmdebuginfopdb/
  projects/clang390-import/lib/clang/libllvmexecutionengine/
  projects/clang390-import/lib/clang/libllvmglobalisel/
  projects/clang390-import/lib/clang/libllvminstcombine/
  projects/clang390-import/lib/clang/libllvminstrumentation/
  projects/clang390-import/lib/clang/libllvminterpreter/
  projects/clang390-import/lib/clang/libllvmipo/
  projects/clang390-import/lib/clang/libllvmirreader/
  projects/clang390-import/lib/clang/libllvmlibdriver/
  projects/clang390-import/lib/clang/libllvmlineeditor/
  projects/clang390-import/lib/clang/libllvmlinker/
  projects/clang390-import/lib/clang/libllvmlto/
  projects/clang390-import/lib/clang/libllvmmc/
  projects/clang390-import/lib/clang/libllvmmcdisassembler/
  projects/clang390-import/lib/clang/libllvmmcjit/
  projects/clang390-import/lib/clang/libllvmmcparser/
  projects/clang390-import/lib/clang/libllvmmipsasmparser/
  projects/clang390-import/lib/clang/libllvmmipsasmprinter/
  projects/clang390-import/lib/clang/libllvmmipscodegen/
  projects/clang390-import/lib/clang/libllvmmipsdesc/
  projects/clang390-import/lib/clang/libllvmmipsdisassembler/
  projects/clang390-import/lib/clang/libllvmmipsinfo/
  projects/clang390-import/lib/clang/libllvmmirparser/
  projects/clang390-import/lib/clang/libllvmobjcarcopts/
  projects/clang390-import/lib/clang/libllvmobject/
  projects/clang390-import/lib/clang/libllvmobjectyaml/
  projects/clang390-import/lib/clang/libllvmoption/
  projects/clang390-import/lib/clang/libllvmorcjit/
  projects/clang390-import/lib/clang/libllvmpasses/
  projects/clang390-import/lib/clang/libllvmpowerpcasmparser/
  projects/clang390-import/lib/clang/libllvmpowerpcasmprinter/
  projects/clang390-import/lib/clang/libllvmpowerpccodegen/
  projects/clang390-import/lib/clang/libllvmpowerpcdesc/
  projects/clang390-import/lib/clang/libllvmpowerpcdisassembler/
  projects/clang390-import/lib/clang/libllvmpowerpcinfo/
  projects/clang390-import/lib/clang/libllvmprofiledata/
  projects/clang390-import/lib/clang/libllvmruntimedyld/
  projects/clang390-import/lib/clang/libllvmscalaropts/
  projects/clang390-import/lib/clang/libllvmselectiondag/
  projects/clang390-import/lib/clang/libllvmsparcasmparser/
  projects/clang390-import/lib/clang/libllvmsparcasmprinter/
  projects/clang390-import/lib/clang/libllvmsparccodegen/
  projects/clang390-import/lib/clang/libllvmsparcdesc/
  projects/clang390-import/lib/clang/libllvmsparcdisassembler/
  projects/clang390-import/lib/clang/libllvmsparcinfo/
  projects/clang390-import/lib/clang/libllvmsupport/
  projects/clang390-import/lib/clang/libllvmsymbolize/
  projects/clang390-import/lib/clang/libllvmtablegen/
  projects/clang390-import/lib/clang/libllvmtarget/
  projects/clang390-import/lib/clang/libllvmtransformutils/
  projects/clang390-import/lib/clang/libllvmvectorize/
  projects/clang390-import/lib/clang/libllvmx86asmparser/
  projects/clang390-import/lib/clang/libllvmx86asmprinter/
  projects/clang390-import/lib/clang/libllvmx86codegen/
  projects/clang390-import/lib/clang/libllvmx86desc/
  projects/clang390-import/lib/clang/libllvmx86disassembler/
  projects/clang390-import/lib/clang/libllvmx86info/
  projects/clang390-import/lib/clang/libllvmx86utils/
  projects/clang390-import/lib/clang/lldb.lib.mk
  projects/clang390-import/usr.bin/clang/bugpoint/Makefile.depend
  projects/clang390-import/usr.bin/clang/clang-format/Makefile.depend
  projects/clang390-import/usr.bin/clang/clang-tblgen/Makefile.depend
  projects/clang390-import/usr.bin/clang/clang/Makefile.depend
  projects/clang390-import/usr.bin/clang/llc/Makefile.depend
  projects/clang390-import/usr.bin/clang/lldb/Makefile.depend
  projects/clang390-import/usr.bin/clang/lli/Makefile.depend
  projects/clang390-import/usr.bin/clang/llvm-ar/Makefile.depend
  projects/clang390-import/usr.bin/clang/llvm-as/Makefile.depend
  projects/clang390-import/usr.bin/clang/llvm-bcanalyzer/Makefile.depend
  projects/clang390-import/usr.bin/clang/llvm-cov/Makefile.depend
  projects/clang390-import/usr.bin/clang/llvm-cxxdump/Makefile.depend
  projects/clang390-import/usr.bin/clang/llvm-diff/Makefile.depend
  projects/clang390-import/usr.bin/clang/llvm-dis/Makefile.depend
  projects/clang390-import/usr.bin/clang/llvm-dwarfdump/Makefile.depend
  projects/clang390-import/usr.bin/clang/llvm-extract/Makefile.depend
  projects/clang390-import/usr.bin/clang/llvm-link/Makefile.depend
  projects/clang390-import/usr.bin/clang/llvm-lto/Makefile.depend
  projects/clang390-import/usr.bin/clang/llvm-mc/Makefile.depend
  projects/clang390-import/usr.bin/clang/llvm-nm/Makefile.depend
  projects/clang390-import/usr.bin/clang/llvm-objdump/Makefile.depend
  projects/clang390-import/usr.bin/clang/llvm-pdbdump/Makefile.depend
  projects/clang390-import/usr.bin/clang/llvm-profdata/Makefile.depend
  projects/clang390-import/usr.bin/clang/llvm-rtdyld/Makefile.depend
  projects/clang390-import/usr.bin/clang/llvm-symbolizer/Makefile.depend
  projects/clang390-import/usr.bin/clang/llvm-tblgen/Makefile.depend
  projects/clang390-import/usr.bin/clang/opt/Makefile.depend
Modified:
  projects/clang390-import/Makefile.inc1
  projects/clang390-import/lib/clang/Makefile
  projects/clang390-import/lib/clang/clang.build.mk
  projects/clang390-import/lib/clang/liblldb/Makefile
  projects/clang390-import/usr.bin/clang/Makefile
  projects/clang390-import/usr.bin/clang/bugpoint/Makefile
  projects/clang390-import/usr.bin/clang/clang-format/Makefile
  projects/clang390-import/usr.bin/clang/clang-tblgen/Makefile
  projects/clang390-import/usr.bin/clang/clang.prog.mk
  projects/clang390-import/usr.bin/clang/clang/Makefile
  projects/clang390-import/usr.bin/clang/llc/Makefile
  projects/clang390-import/usr.bin/clang/lldb/Makefile
  projects/clang390-import/usr.bin/clang/lli/Makefile
  projects/clang390-import/usr.bin/clang/llvm-ar/Makefile
  projects/clang390-import/usr.bin/clang/llvm-as/Makefile
  projects/clang390-import/usr.bin/clang/llvm-bcanalyzer/Makefile
  projects/clang390-import/usr.bin/clang/llvm-cov/Makefile
  projects/clang390-import/usr.bin/clang/llvm-cxxdump/Makefile
  projects/clang390-import/usr.bin/clang/llvm-diff/Makefile
  projects/clang390-import/usr.bin/clang/llvm-dis/Makefile
  projects/clang390-import/usr.bin/clang/llvm-dwarfdump/Makefile
  projects/clang390-import/usr.bin/clang/llvm-extract/Makefile
  projects/clang390-import/usr.bin/clang/llvm-link/Makefile
  projects/clang390-import/usr.bin/clang/llvm-lto/Makefile
  projects/clang390-import/usr.bin/clang/llvm-mc/Makefile
  projects/clang390-import/usr.bin/clang/llvm-nm/Makefile
  projects/clang390-import/usr.bin/clang/llvm-objdump/Makefile
  projects/clang390-import/usr.bin/clang/llvm-pdbdump/Makefile
  projects/clang390-import/usr.bin/clang/llvm-profdata/Makefile
  projects/clang390-import/usr.bin/clang/llvm-rtdyld/Makefile
  projects/clang390-import/usr.bin/clang/llvm-symbolizer/Makefile
  projects/clang390-import/usr.bin/clang/llvm-tblgen/Makefile
  projects/clang390-import/usr.bin/clang/opt/Makefile

Modified: projects/clang390-import/Makefile.inc1
==============================================================================
--- projects/clang390-import/Makefile.inc1	Fri Aug 26 22:02:37 2016	(r304866)
+++ projects/clang390-import/Makefile.inc1	Fri Aug 26 22:44:22 2016	(r304867)
@@ -1652,13 +1652,12 @@ _gensnmptree=	usr.sbin/bsnmpd/gensnmptre
 # the bootstrap compiler, or as the part of the normal build.
 .if ${MK_CLANG_BOOTSTRAP} != "no" || ${MK_CLANG} != "no"
 _clang_tblgen= \
-	lib/clang/libllvmsupport \
-	lib/clang/libllvmtablegen \
+	lib/clang/libllvmminimal \
 	usr.bin/clang/llvm-tblgen \
 	usr.bin/clang/clang-tblgen
 
-${_bt}-usr.bin/clang/clang-tblgen: ${_bt}-lib/clang/libllvmtablegen ${_bt}-lib/clang/libllvmsupport
-${_bt}-usr.bin/clang/llvm-tblgen: ${_bt}-lib/clang/libllvmtablegen ${_bt}-lib/clang/libllvmsupport
+${_bt}-usr.bin/clang/clang-tblgen: ${_bt}-lib/clang/libllvmminimal
+${_bt}-usr.bin/clang/llvm-tblgen: ${_bt}-lib/clang/libllvmminimal
 .endif
 
 # Default to building the GPL DTC, but build the BSDL one if users explicitly

Modified: projects/clang390-import/lib/clang/Makefile
==============================================================================
--- projects/clang390-import/lib/clang/Makefile	Fri Aug 26 22:02:37 2016	(r304866)
+++ projects/clang390-import/lib/clang/Makefile	Fri Aug 26 22:44:22 2016	(r304867)
@@ -2,192 +2,12 @@
 
 .include <src.opts.mk>
 
-.if !make(install)
-.if ${MK_CLANG_FULL} != "no"
-_libclangstaticanalyzer= \
-	libclangstaticanalyzercheckers \
-	libclangstaticanalyzercore \
-	libclangstaticanalyzerfrontend
-_libclangarcmigrate= \
-	libclangarcmigrate
-.endif # MK_CLANG_FULL
-
-SUBDIR=	libclanganalysis \
-	${_libclangarcmigrate} \
-	libclangast \
-	libclangastmatchers \
-	libclangbasic \
-	libclangcodegen \
-	libclangdriver \
-	libclangdynamicastmatchers \
-	libclangedit \
-	libclangfrontend \
-	libclangfrontendtool \
-	libclangindex \
-	libclanglex \
-	libclangparse \
-	libclangrewrite \
-	libclangrewritefrontend \
-	libclangsema \
-	libclangserialization \
-	${_libclangstaticanalyzer} \
-	libclangtooling \
-	\
-	libllvmanalysis \
-	libllvmasmparser \
-	libllvmasmprinter \
-	libllvmbitreader \
-	libllvmbitwriter \
-	libllvmcodegen \
-	libllvmcore \
-	libllvmcoverage \
-	libllvmdebuginfocodeview \
-	libllvmglobalisel \
-	libllvminstcombine \
-	libllvminstrumentation \
-	libllvmipo \
-	libllvmirreader \
-	libllvmlineeditor \
-	libllvmlinker \
-	libllvmmc \
-	libllvmmcdisassembler \
-	libllvmmcparser \
-	libllvmobjcarcopts \
-	libllvmobject \
-	libllvmobjectyaml \
-	libllvmoption \
-	libllvmprofiledata \
-	libllvmscalaropts \
-	libllvmselectiondag \
-	libllvmsupport \
-	libllvmtablegen \
-	libllvmtarget \
-	libllvmtransformutils \
-	libllvmvectorize \
-	\
-	libllvmaarch64asmparser \
-	libllvmaarch64asmprinter \
-	libllvmaarch64codegen \
-	libllvmaarch64desc \
-	libllvmaarch64disassembler \
-	libllvmaarch64info \
-	libllvmaarch64utils \
-	libllvmarmasmparser \
-	libllvmarmasmprinter \
-	libllvmarmcodegen \
-	libllvmarmdesc \
-	libllvmarmdisassembler \
-	libllvmarminfo \
-	libllvmmipsasmparser \
-	libllvmmipsasmprinter \
-	libllvmmipscodegen \
-	libllvmmipsdesc \
-	libllvmmipsinfo \
-	libllvmpowerpcasmparser \
-	libllvmpowerpcasmprinter \
-	libllvmpowerpccodegen \
-	libllvmpowerpcdesc \
-	libllvmpowerpcdisassembler \
-	libllvmpowerpcinfo \
-	libllvmsparcasmparser \
-	libllvmsparcasmprinter \
-	libllvmsparccodegen \
-	libllvmsparcdesc \
-	libllvmsparcinfo \
-	libllvmx86asmparser \
-	libllvmx86asmprinter \
-	libllvmx86codegen \
-	libllvmx86desc \
-	libllvmx86info \
-	libllvmx86utils
-
-.if ${MK_CLANG_EXTRAS} != "no"
-SUBDIR+=libclangformat \
-	libclangtoolingcore \
-	libllvmdebuginfodwarf \
-	libllvmdebuginfopdb \
-	libllvmlibdriver \
-	libllvmlto \
-	libllvmmirparser \
-	libllvmorcjit \
-	libllvmpasses \
-	libllvmsymbolize
-.endif # MK_CLANG_EXTRAS
-	
-.if ${MK_CLANG_EXTRAS} != "no" || ${MK_LLDB} != "no"
-SUBDIR+=libllvmexecutionengine \
-	libllvminterpreter \
-	libllvmmcjit \
-	libllvmmipsdisassembler \
-	libllvmruntimedyld \
-	libllvmsparcdisassembler \
-	libllvmx86disassembler
-.endif # MK_CLANG_EXTRAS | LLDB
-
+# These have to be built in order.
+SUBDIR=		libllvm
+SUBDIR+=	libclang
 .if ${MK_LLDB} != "no"
-SUBDIR+=liblldb \
-	\
-	liblldbAPI \
-	liblldbBreakpoint \
-	liblldbCommands \
-	liblldbCore \
-	liblldbDataFormatters \
-	liblldbExpression \
-	liblldbHostCommon \
-	liblldbHostFreeBSD \
-	liblldbHostPOSIX \
-	liblldbInitialization \
-	liblldbInterpreter \
-	liblldbSymbol \
-	liblldbTarget \
-	liblldbUtility \
-	\
-	liblldbPluginABISysV_arm \
-	liblldbPluginABISysV_arm64 \
-	liblldbPluginABISysV_i386 \
-	liblldbPluginABISysV_mips \
-	liblldbPluginABISysV_mips64 \
-	liblldbPluginABISysV_ppc \
-	liblldbPluginABISysV_ppc64 \
-	liblldbPluginABISysV_x86_64 \
-	liblldbPluginCPlusPlusLanguage \
-	liblldbPluginCXXItaniumABI \
-	liblldbPluginDisassemblerLLVM \
-	liblldbPluginDynamicLoaderStatic \
-	liblldbPluginDynamicLoaderPosixDYLD \
-	liblldbPluginExpressionParserClang \
-	liblldbPluginExpressionParserGo \
-	liblldbPluginInstructionARM \
-	liblldbPluginInstructionARM64 \
-	liblldbPluginInstructionMIPS \
-	liblldbPluginInstructionMIPS64 \
-	liblldbPluginInstrumentationRuntimeAddressSanitizer \
-	liblldbPluginJITLoaderGDB \
-	liblldbPluginMemoryHistoryASan \
-	liblldbPluginObjCLanguage \
-	liblldbPluginObjectContainerBSDArchive \
-	liblldbPluginObjectFileELF \
-	liblldbPluginObjectFileJIT \
-	liblldbPluginPlatformFreeBSD \
-	liblldbPluginPlatformGDB \
-	liblldbPluginProcessElfCore \
-	liblldbPluginProcessFreeBSD \
-	liblldbPluginProcessGDBRemote \
-	liblldbPluginProcessPOSIX \
-	liblldbPluginProcessUtility \
-	liblldbPluginScriptInterpreterNone \
-	liblldbPluginSymbolFileDWARF \
-	liblldbPluginSymbolFilePDB \
-	liblldbPluginSymbolFileSymtab \
-	liblldbPluginSymbolVendorELF \
-	liblldbPluginUnwindAssemblyInstEmulation \
-	liblldbPluginUnwindAssemblyX86
-.endif # MK_LLDB
-
-.endif # !make(install)
-
-SUBDIR+= include
-
-SUBDIR_PARALLEL=
+SUBDIR+=	liblldb
+.endif
+SUBDIR+=	headers
 
 .include <bsd.subdir.mk>

Modified: projects/clang390-import/lib/clang/clang.build.mk
==============================================================================
--- projects/clang390-import/lib/clang/clang.build.mk	Fri Aug 26 22:02:37 2016	(r304866)
+++ projects/clang390-import/lib/clang/clang.build.mk	Fri Aug 26 22:44:22 2016	(r304867)
@@ -2,258 +2,23 @@
 
 .include <src.opts.mk>
 
-CLANG_SRCS=	${LLVM_SRCS}/tools/clang
-
-CFLAGS+=	-I${LLVM_SRCS}/include -I${CLANG_SRCS}/include \
-		-I${LLVM_SRCS}/${SRCDIR} ${INCDIR:C/^/-I${LLVM_SRCS}\//} -I. \
-		-I${LLVM_SRCS}/../../lib/clang/include \
-		-DLLVM_ON_UNIX -DLLVM_ON_FREEBSD \
-		-D__STDC_LIMIT_MACROS -D__STDC_CONSTANT_MACROS #-DNDEBUG
-
-.if ${MK_CLANG_FULL} != "no"
-CFLAGS+=	-DCLANG_ENABLE_ARCMT \
-		-DCLANG_ENABLE_STATIC_ANALYZER
-.endif # MK_CLANG_FULL
-
-# LLVM is not strict aliasing safe as of 12/31/2011
-CFLAGS+=	-fno-strict-aliasing
-
-TARGET_ARCH?=	${MACHINE_ARCH}
-BUILD_ARCH?=	${MACHINE_ARCH}
-
-# Armv6 uses hard float abi, unless the CPUTYPE has soft in it.
-# arm (for armv4 and armv5 CPUs) always uses the soft float ABI.
-# For all other targets, we stick with 'unknown'.
-.if ${TARGET_ARCH:Marmv6*} && (!defined(CPUTYPE) || ${CPUTYPE:M*soft*} == "")
-TARGET_ABI=	gnueabihf
-.elif ${TARGET_ARCH:Marm*}
-TARGET_ABI=	gnueabi
-.else
-TARGET_ABI=	unknown
+.ifndef LLVM_SRCS
+.error Please define LLVM_SRCS before including this file
 .endif
 
-TARGET_TRIPLE?=	${TARGET_ARCH:C/amd64/x86_64/:C/arm64/aarch64/}-${TARGET_ABI}-freebsd12.0
-BUILD_TRIPLE?=	${BUILD_ARCH:C/amd64/x86_64/:C/arm64/aarch64/}-unknown-freebsd12.0
-CFLAGS+=	-DLLVM_DEFAULT_TARGET_TRIPLE=\"${TARGET_TRIPLE}\" \
-		-DLLVM_HOST_TRIPLE=\"${BUILD_TRIPLE}\" \
-		-DDEFAULT_SYSROOT=\"${TOOLS_PREFIX}\"
-CXXFLAGS+=	-std=c++11 -fno-exceptions -fno-rtti
-CXXFLAGS.clang+= -stdlib=libc++
-
-.PATH:	${LLVM_SRCS}/${SRCDIR}
-
-LLVM_TBLGEN?=	llvm-tblgen
-CLANG_TBLGEN?=	clang-tblgen
-
-Attributes.inc.h: ${LLVM_SRCS}/include/llvm/IR/Attributes.td
-	${LLVM_TBLGEN} -gen-attrs \
-	    -I ${LLVM_SRCS}/include -d ${.TARGET:C/\.h$/.d/} -o ${.TARGET} \
-	    ${LLVM_SRCS}/include/llvm/IR/Attributes.td
-
-AttributesCompatFunc.inc.h: ${LLVM_SRCS}/lib/IR/AttributesCompatFunc.td
-	${LLVM_TBLGEN} -gen-attrs \
-	    -I ${LLVM_SRCS}/include -d ${.TARGET:C/\.h$/.d/} -o ${.TARGET} \
-	    ${LLVM_SRCS}/lib/IR/AttributesCompatFunc.td
-
-Intrinsics.inc.h: ${LLVM_SRCS}/include/llvm/IR/Intrinsics.td
-	${LLVM_TBLGEN} -gen-intrinsic \
-	    -I ${LLVM_SRCS}/include -d ${.TARGET:C/\.h$/.d/} -o ${.TARGET} \
-	    ${LLVM_SRCS}/include/llvm/IR/Intrinsics.td
-
-.for arch in \
-	AArch64/AArch64 ARM/ARM Mips/Mips PowerPC/PPC Sparc/Sparc X86/X86
-. for hdr in \
-	AsmMatcher/-gen-asm-matcher \
-	AsmWriter1/-gen-asm-writer,-asmwriternum=1 \
-	AsmWriter/-gen-asm-writer \
-	CallingConv/-gen-callingconv \
-	CodeEmitter/-gen-emitter \
-	DAGISel/-gen-dag-isel \
-	DisassemblerTables/-gen-disassembler \
-	FastISel/-gen-fast-isel \
-	InstrInfo/-gen-instr-info \
-	MCCodeEmitter/-gen-emitter \
-	MCPseudoLowering/-gen-pseudo-lowering \
-	RegisterInfo/-gen-register-info \
-	SubtargetInfo/-gen-subtarget \
-	SystemOperands/-gen-searchable-tables
-${arch:T}Gen${hdr:H:C/$/.inc.h/}: ${LLVM_SRCS}/lib/Target/${arch:H}/${arch:T}.td
-	${LLVM_TBLGEN} ${hdr:T:C/,/ /g} \
-	    -I ${LLVM_SRCS}/include -I ${LLVM_SRCS}/lib/Target/${arch:H} \
-	    -d ${.TARGET:C/\.h$/.d/} -o ${.TARGET} \
-	    ${LLVM_SRCS}/lib/Target/${arch:H}/${arch:T}.td
-. endfor
-.endfor
-
-Attrs.inc.h: ${CLANG_SRCS}/include/clang/Basic/Attr.td
-	${CLANG_TBLGEN} -gen-clang-attr-classes \
-	    -I ${CLANG_SRCS}/include -d ${.TARGET:C/\.h$/.d/} -o ${.TARGET} \
-	    ${CLANG_SRCS}/include/clang/Basic/Attr.td
-
-AttrDump.inc.h: ${CLANG_SRCS}/include/clang/Basic/Attr.td
-	${CLANG_TBLGEN} -gen-clang-attr-dump \
-	    -I ${CLANG_SRCS}/include -d ${.TARGET:C/\.h$/.d/} -o ${.TARGET} \
-	    ${CLANG_SRCS}/include/clang/Basic/Attr.td
-
-AttrHasAttributeImpl.inc.h: ${CLANG_SRCS}/include/clang/Basic/Attr.td
-	${CLANG_TBLGEN} -gen-clang-attr-has-attribute-impl \
-	    -I ${CLANG_SRCS}/include -d ${.TARGET:C/\.h$/.d/} -o ${.TARGET} \
-	    ${CLANG_SRCS}/include/clang/Basic/Attr.td
-
-AttrImpl.inc.h: ${CLANG_SRCS}/include/clang/Basic/Attr.td
-	${CLANG_TBLGEN} -gen-clang-attr-impl \
-	    -I ${CLANG_SRCS}/include -d ${.TARGET:C/\.h$/.d/} -o ${.TARGET} \
-	    ${CLANG_SRCS}/include/clang/Basic/Attr.td
-
-AttrList.inc.h: ${CLANG_SRCS}/include/clang/Basic/Attr.td
-	${CLANG_TBLGEN} -gen-clang-attr-list \
-	    -I ${CLANG_SRCS}/include -d ${.TARGET:C/\.h$/.d/} -o ${.TARGET} \
-	    ${CLANG_SRCS}/include/clang/Basic/Attr.td
-
-AttrParsedAttrImpl.inc.h: ${CLANG_SRCS}/include/clang/Basic/Attr.td
-	${CLANG_TBLGEN} -gen-clang-attr-parsed-attr-impl \
-	    -I ${CLANG_SRCS}/include -d ${.TARGET:C/\.h$/.d/} -o ${.TARGET} \
-	    ${CLANG_SRCS}/include/clang/Basic/Attr.td
-
-AttrParsedAttrKinds.inc.h: ${CLANG_SRCS}/include/clang/Basic/Attr.td
-	${CLANG_TBLGEN} -gen-clang-attr-parsed-attr-kinds \
-	    -I ${CLANG_SRCS}/include -d ${.TARGET:C/\.h$/.d/} -o ${.TARGET} \
-	    ${CLANG_SRCS}/include/clang/Basic/Attr.td
-
-AttrParsedAttrList.inc.h: ${CLANG_SRCS}/include/clang/Basic/Attr.td
-	${CLANG_TBLGEN} -gen-clang-attr-parsed-attr-list \
-	    -I ${CLANG_SRCS}/include -d ${.TARGET:C/\.h$/.d/} -o ${.TARGET} \
-	    ${CLANG_SRCS}/include/clang/Basic/Attr.td
-
-AttrParserStringSwitches.inc.h: ${CLANG_SRCS}/include/clang/Basic/Attr.td
-	${CLANG_TBLGEN} -gen-clang-attr-parser-string-switches \
-	    -I ${CLANG_SRCS}/include -d ${.TARGET:C/\.h$/.d/} -o ${.TARGET} \
-	    ${CLANG_SRCS}/include/clang/Basic/Attr.td
-
-AttrPCHRead.inc.h: ${CLANG_SRCS}/include/clang/Basic/Attr.td
-	${CLANG_TBLGEN} -gen-clang-attr-pch-read \
-	    -I ${CLANG_SRCS}/include -d ${.TARGET:C/\.h$/.d/} -o ${.TARGET} \
-	    ${CLANG_SRCS}/include/clang/Basic/Attr.td
-
-AttrPCHWrite.inc.h: ${CLANG_SRCS}/include/clang/Basic/Attr.td
-	${CLANG_TBLGEN} -gen-clang-attr-pch-write \
-	    -I ${CLANG_SRCS}/include -d ${.TARGET:C/\.h$/.d/} -o ${.TARGET} \
-	    ${CLANG_SRCS}/include/clang/Basic/Attr.td
-
-AttrSpellingListIndex.inc.h: ${CLANG_SRCS}/include/clang/Basic/Attr.td
-	${CLANG_TBLGEN} -gen-clang-attr-spelling-index \
-	    -I ${CLANG_SRCS}/include -d ${.TARGET:C/\.h$/.d/} -o ${.TARGET} \
-	    ${CLANG_SRCS}/include/clang/Basic/Attr.td
-
-AttrTemplateInstantiate.inc.h: ${CLANG_SRCS}/include/clang/Basic/Attr.td
-	${CLANG_TBLGEN} -gen-clang-attr-template-instantiate \
-	    -I ${CLANG_SRCS}/include -d ${.TARGET:C/\.h$/.d/} -o ${.TARGET} \
-	    ${CLANG_SRCS}/include/clang/Basic/Attr.td
-
-AttrVisitor.inc.h: ${CLANG_SRCS}/include/clang/Basic/Attr.td
-	${CLANG_TBLGEN} -gen-clang-attr-ast-visitor \
-	    -I ${CLANG_SRCS}/include -d ${.TARGET:C/\.h$/.d/} -o ${.TARGET} \
-	    ${CLANG_SRCS}/include/clang/Basic/Attr.td
-
-CommentCommandInfo.inc.h: ${CLANG_SRCS}/include/clang/AST/CommentCommands.td
-	${CLANG_TBLGEN} -gen-clang-comment-command-info \
-	    -d ${.TARGET:C/\.h$/.d/} -o ${.TARGET} \
-	    ${CLANG_SRCS}/include/clang/AST/CommentCommands.td
-
-CommentCommandList.inc.h: ${CLANG_SRCS}/include/clang/AST/CommentCommands.td
-	${CLANG_TBLGEN} -gen-clang-comment-command-list \
-	    -d ${.TARGET:C/\.h$/.d/} -o ${.TARGET} \
-	    ${CLANG_SRCS}/include/clang/AST/CommentCommands.td
-
-CommentHTMLNamedCharacterReferences.inc.h: \
-	${CLANG_SRCS}/include/clang/AST/CommentHTMLNamedCharacterReferences.td
-	${CLANG_TBLGEN} -gen-clang-comment-html-named-character-references \
-	    -d ${.TARGET:C/\.h$/.d/} -o ${.TARGET} \
-	    ${CLANG_SRCS}/include/clang/AST/CommentHTMLNamedCharacterReferences.td
-
-CommentHTMLTags.inc.h: ${CLANG_SRCS}/include/clang/AST/CommentHTMLTags.td
-	${CLANG_TBLGEN} -gen-clang-comment-html-tags \
-	    -d ${.TARGET:C/\.h$/.d/} -o ${.TARGET} \
-	    ${CLANG_SRCS}/include/clang/AST/CommentHTMLTags.td
-
-CommentHTMLTagsProperties.inc.h: \
-	${CLANG_SRCS}/include/clang/AST/CommentHTMLTags.td
-	${CLANG_TBLGEN} -gen-clang-comment-html-tags-properties \
-	    -d ${.TARGET:C/\.h$/.d/} -o ${.TARGET} \
-	    ${CLANG_SRCS}/include/clang/AST/CommentHTMLTags.td
-
-CommentNodes.inc.h: ${CLANG_SRCS}/include/clang/Basic/CommentNodes.td
-	${CLANG_TBLGEN} -gen-clang-comment-nodes \
-	    -d ${.TARGET:C/\.h$/.d/} -o ${.TARGET} \
-	    ${CLANG_SRCS}/include/clang/Basic/CommentNodes.td
-
-DeclNodes.inc.h: ${CLANG_SRCS}/include/clang/Basic/DeclNodes.td
-	${CLANG_TBLGEN} -gen-clang-decl-nodes \
-	    -d ${.TARGET:C/\.h$/.d/} -o ${.TARGET} \
-	    ${CLANG_SRCS}/include/clang/Basic/DeclNodes.td
-
-StmtNodes.inc.h: ${CLANG_SRCS}/include/clang/Basic/StmtNodes.td
-	${CLANG_TBLGEN} -gen-clang-stmt-nodes \
-	    -d ${.TARGET:C/\.h$/.d/} -o ${.TARGET} \
-	    ${CLANG_SRCS}/include/clang/Basic/StmtNodes.td
-
-arm_neon.h: ${CLANG_SRCS}/include/clang/Basic/arm_neon.td
-	${CLANG_TBLGEN} -gen-arm-neon \
-	    -d ${.TARGET:C/\.h$/.d/} -o ${.TARGET} \
-	    ${CLANG_SRCS}/include/clang/Basic/arm_neon.td
-
-arm_neon.inc.h: ${CLANG_SRCS}/include/clang/Basic/arm_neon.td
-	${CLANG_TBLGEN} -gen-arm-neon-sema \
-	    -d ${.TARGET:C/\.h$/.d/} -o ${.TARGET} \
-	    ${CLANG_SRCS}/include/clang/Basic/arm_neon.td
-
-DiagnosticGroups.inc.h: ${CLANG_SRCS}/include/clang/Basic/Diagnostic.td
-	${CLANG_TBLGEN} -gen-clang-diag-groups \
-	    -I ${CLANG_SRCS}/include/clang/Basic -d ${.TARGET:C/\.h$/.d/} \
-	    -o ${.TARGET} ${CLANG_SRCS}/include/clang/Basic/Diagnostic.td
-
-DiagnosticIndexName.inc.h: ${CLANG_SRCS}/include/clang/Basic/Diagnostic.td
-	${CLANG_TBLGEN} -gen-clang-diags-index-name \
-	    -I ${CLANG_SRCS}/include/clang/Basic -d ${.TARGET:C/\.h$/.d/} \
-	    -o ${.TARGET} ${CLANG_SRCS}/include/clang/Basic/Diagnostic.td
-
-.for hdr in AST Analysis Comment Common Driver Frontend Lex Parse Sema Serialization
-Diagnostic${hdr}Kinds.inc.h: ${CLANG_SRCS}/include/clang/Basic/Diagnostic.td
-	${CLANG_TBLGEN} -gen-clang-diags-defs -clang-component=${hdr} \
-	    -I ${CLANG_SRCS}/include/clang/Basic -d ${.TARGET:C/\.h$/.d/} \
-	    -o ${.TARGET} ${CLANG_SRCS}/include/clang/Basic/Diagnostic.td
-.endfor
+.ifndef CLANG_SRCS
+.error Please define CLANG_SRCS before including this file
+.endif
 
-# XXX: Atrocious hack, need to clean this up later
-.if ${LIB:U} == llvmlibdriver
-Options.inc.h: ${LLVM_SRCS}/lib/LibDriver/Options.td
-	${LLVM_TBLGEN} -gen-opt-parser-defs \
-	    -I ${LLVM_SRCS}/include \
-	    -d ${.TARGET:C/\.h$/.d/} -o ${.TARGET} \
-	    ${LLVM_SRCS}/lib/LibDriver/Options.td
-.elif ${LIB:U} == clangdriver || ${LIB:U} == clangfrontend || \
-    ${LIB:U} == clangfrontendtool || ${PROG_CXX:U} == clang
-Options.inc.h: ${CLANG_SRCS}/include/clang/Driver/Options.td
-	${LLVM_TBLGEN} -gen-opt-parser-defs \
-	    -I ${LLVM_SRCS}/include -I ${CLANG_SRCS}/include/clang/Driver \
-	    -d ${.TARGET:C/\.h$/.d/} -o ${.TARGET} \
-	    ${CLANG_SRCS}/include/clang/Driver/Options.td
+.ifndef SRCDIR
+.error Please define SRCDIR before including this file
 .endif
 
-Checkers.inc.h: ${CLANG_SRCS}/include/clang/StaticAnalyzer/Checkers/Checkers.td
-	${CLANG_TBLGEN} -gen-clang-sa-checkers \
-	    -I ${CLANG_SRCS}/include -d ${.TARGET:C/\.h$/.d/} -o ${.TARGET} \
-	    ${CLANG_SRCS}/include/clang/StaticAnalyzer/Checkers/Checkers.td
+CFLAGS+=	-I${CLANG_SRCS}/include
 
-.for dep in ${TGHDRS:C/$/.inc.d/}
-. if ${MAKE_VERSION} < 20160220
-.  if !make(depend)
-.   sinclude "${dep}"
-.  endif
-. else
-.   dinclude "${dep}"
-. endif
-.endfor
+.if ${MK_CLANG_FULL} != "no"
+CFLAGS+=	-DCLANG_ENABLE_ARCMT
+CFLAGS+=	-DCLANG_ENABLE_STATIC_ANALYZER
+.endif
 
-SRCS+=		${TGHDRS:C/$/.inc.h/}
-CLEANFILES+=	${TGHDRS:C/$/.inc.h/} ${TGHDRS:C/$/.inc.d/}
+.include "llvm.build.mk"

Added: projects/clang390-import/lib/clang/headers/Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ projects/clang390-import/lib/clang/headers/Makefile	Fri Aug 26 22:44:22 2016	(r304867)
@@ -0,0 +1,91 @@
+# $FreeBSD$
+
+.include "../clang.pre.mk"
+
+.PATH:		${CLANG_SRCS}/lib/Headers
+
+INCSDIR=	${LIBDIR}/clang/3.9.0/include
+
+GENINCS+=	arm_neon.h
+
+INCS+=		__clang_cuda_cmath.h
+INCS+=		__clang_cuda_intrinsics.h
+INCS+=		__clang_cuda_math_forward_declares.h
+INCS+=		__clang_cuda_runtime_wrapper.h
+INCS+=		__stddef_max_align_t.h
+INCS+=		__wmmintrin_aes.h
+INCS+=		__wmmintrin_pclmul.h
+INCS+=		adxintrin.h
+INCS+=		altivec.h
+INCS+=		ammintrin.h
+INCS+=		arm_acle.h
+INCS+=		avx2intrin.h
+INCS+=		avx512bwintrin.h
+INCS+=		avx512cdintrin.h
+INCS+=		avx512dqintrin.h
+INCS+=		avx512erintrin.h
+INCS+=		avx512fintrin.h
+INCS+=		avx512ifmaintrin.h
+INCS+=		avx512ifmavlintrin.h
+INCS+=		avx512pfintrin.h
+INCS+=		avx512vbmiintrin.h
+INCS+=		avx512vbmivlintrin.h
+INCS+=		avx512vlbwintrin.h
+INCS+=		avx512vlcdintrin.h
+INCS+=		avx512vldqintrin.h
+INCS+=		avx512vlintrin.h
+INCS+=		avxintrin.h
+INCS+=		bmi2intrin.h
+INCS+=		bmiintrin.h
+INCS+=		clflushoptintrin.h
+INCS+=		cpuid.h
+INCS+=		cuda_builtin_vars.h
+INCS+=		emmintrin.h
+INCS+=		f16cintrin.h
+INCS+=		fma4intrin.h
+INCS+=		fmaintrin.h
+INCS+=		fxsrintrin.h
+INCS+=		htmintrin.h
+INCS+=		htmxlintrin.h
+INCS+=		ia32intrin.h
+INCS+=		immintrin.h
+INCS+=		lzcntintrin.h
+INCS+=		mm3dnow.h
+INCS+=		mm_malloc.h
+INCS+=		mmintrin.h
+INCS+=		module.modulemap
+INCS+=		mwaitxintrin.h
+INCS+=		nmmintrin.h
+INCS+=		opencl-c.h
+INCS+=		pkuintrin.h
+INCS+=		pmmintrin.h
+INCS+=		popcntintrin.h
+INCS+=		prfchwintrin.h
+INCS+=		rdseedintrin.h
+INCS+=		rtmintrin.h
+INCS+=		s390intrin.h
+INCS+=		shaintrin.h
+INCS+=		smmintrin.h
+INCS+=		tbmintrin.h
+INCS+=		tmmintrin.h
+INCS+=		vadefs.h
+INCS+=		vecintrin.h
+INCS+=		wmmintrin.h
+INCS+=		x86intrin.h
+INCS+=		xmmintrin.h
+INCS+=		xopintrin.h
+INCS+=		xsavecintrin.h
+INCS+=		xsaveintrin.h
+INCS+=		xsaveoptintrin.h
+INCS+=		xsavesintrin.h
+INCS+=		xtestintrin.h
+INCS+=		${GENINCS}
+
+arm_neon.h: ${CLANG_SRCS}/include/clang/Basic/arm_neon.td
+	${CLANG_TBLGEN} -gen-arm-neon \
+	    -d ${.TARGET:C/$/.d/} -o ${.TARGET} \
+	    ${CLANG_SRCS}/include/clang/Basic/arm_neon.td
+
+CLEANFILES=	${GENINCS} ${GENINCS:C/$/.d/}
+
+.include <bsd.prog.mk>

Added: projects/clang390-import/lib/clang/libclang/Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ projects/clang390-import/lib/clang/libclang/Makefile	Fri Aug 26 22:44:22 2016	(r304867)
@@ -0,0 +1,725 @@
+# $FreeBSD$
+
+.include <src.opts.mk>
+.include "../clang.pre.mk"
+
+LIB=		clang
+
+CFLAGS+=	-I${.OBJDIR}
+CFLAGS+=	-I${.OBJDIR}/../../../lib/clang/libllvm
+
+# Ensure FREEBSD_CC_VERSION is defined for Basic/Targets.cpp
+CFLAGS.Targets.cpp+= -include ../freebsd_cc_version.h
+
+# Work around GCC bug 67888
+.if ${COMPILER_TYPE} == "gcc"
+CXXFLAGS.Module.cpp+= -fpermissive
+.endif
+
+SRCDIR=		tools/clang/lib
+
+SRCS_FUL+=	ARCMigrate/ARCMT.cpp
+SRCS_FUL+=	ARCMigrate/ARCMTActions.cpp
+SRCS_FUL+=	ARCMigrate/FileRemapper.cpp
+SRCS_FUL+=	ARCMigrate/ObjCMT.cpp
+SRCS_FUL+=	ARCMigrate/PlistReporter.cpp
+SRCS_FUL+=	ARCMigrate/TransAPIUses.cpp
+SRCS_FUL+=	ARCMigrate/TransARCAssign.cpp
+SRCS_FUL+=	ARCMigrate/TransAutoreleasePool.cpp
+SRCS_FUL+=	ARCMigrate/TransBlockObjCVariable.cpp
+SRCS_FUL+=	ARCMigrate/TransEmptyStatementsAndDealloc.cpp
+SRCS_FUL+=	ARCMigrate/TransGCAttrs.cpp
+SRCS_FUL+=	ARCMigrate/TransGCCalls.cpp
+SRCS_FUL+=	ARCMigrate/TransProperties.cpp
+SRCS_FUL+=	ARCMigrate/TransProtectedScope.cpp
+SRCS_FUL+=	ARCMigrate/TransRetainReleaseDealloc.cpp
+SRCS_FUL+=	ARCMigrate/TransUnbridgedCasts.cpp
+SRCS_FUL+=	ARCMigrate/TransUnusedInitDelegate.cpp
+SRCS_FUL+=	ARCMigrate/TransZeroOutPropsInDealloc.cpp
+SRCS_FUL+=	ARCMigrate/TransformActions.cpp
+SRCS_FUL+=	ARCMigrate/Transforms.cpp
+SRCS_MIN+=	AST/APValue.cpp
+SRCS_MIN+=	AST/ASTConsumer.cpp
+SRCS_MIN+=	AST/ASTContext.cpp
+SRCS_MIN+=	AST/ASTDiagnostic.cpp
+SRCS_MIN+=	AST/ASTDumper.cpp
+SRCS_MIN+=	AST/ASTImporter.cpp
+SRCS_MIN+=	AST/ASTTypeTraits.cpp
+SRCS_MIN+=	AST/AttrImpl.cpp
+SRCS_MIN+=	AST/CXXInheritance.cpp
+SRCS_MIN+=	AST/Comment.cpp
+SRCS_MIN+=	AST/CommentBriefParser.cpp
+SRCS_MIN+=	AST/CommentCommandTraits.cpp
+SRCS_MIN+=	AST/CommentLexer.cpp
+SRCS_MIN+=	AST/CommentParser.cpp
+SRCS_MIN+=	AST/CommentSema.cpp
+SRCS_MIN+=	AST/Decl.cpp
+SRCS_MIN+=	AST/DeclBase.cpp
+SRCS_MIN+=	AST/DeclCXX.cpp
+SRCS_MIN+=	AST/DeclFriend.cpp
+SRCS_MIN+=	AST/DeclGroup.cpp
+SRCS_MIN+=	AST/DeclObjC.cpp
+SRCS_MIN+=	AST/DeclOpenMP.cpp
+SRCS_MIN+=	AST/DeclPrinter.cpp
+SRCS_MIN+=	AST/DeclTemplate.cpp
+SRCS_MIN+=	AST/DeclarationName.cpp
+SRCS_MIN+=	AST/Expr.cpp
+SRCS_MIN+=	AST/ExprCXX.cpp
+SRCS_MIN+=	AST/ExprClassification.cpp
+SRCS_MIN+=	AST/ExprConstant.cpp
+SRCS_MIN+=	AST/ExprObjC.cpp
+SRCS_MIN+=	AST/ExternalASTSource.cpp
+SRCS_MIN+=	AST/InheritViz.cpp
+SRCS_MIN+=	AST/ItaniumCXXABI.cpp
+SRCS_MIN+=	AST/ItaniumMangle.cpp
+SRCS_MIN+=	AST/Mangle.cpp
+SRCS_MIN+=	AST/MicrosoftCXXABI.cpp
+SRCS_MIN+=	AST/MicrosoftMangle.cpp
+SRCS_MIN+=	AST/NSAPI.cpp
+SRCS_MIN+=	AST/NestedNameSpecifier.cpp
+SRCS_MIN+=	AST/OpenMPClause.cpp
+SRCS_MIN+=	AST/ParentMap.cpp
+SRCS_MIN+=	AST/RawCommentList.cpp
+SRCS_MIN+=	AST/RecordLayout.cpp
+SRCS_MIN+=	AST/RecordLayoutBuilder.cpp
+SRCS_MIN+=	AST/SelectorLocationsKind.cpp
+SRCS_MIN+=	AST/Stmt.cpp
+SRCS_MIN+=	AST/StmtCXX.cpp
+SRCS_MIN+=	AST/StmtIterator.cpp
+SRCS_MIN+=	AST/StmtObjC.cpp
+SRCS_MIN+=	AST/StmtOpenMP.cpp
+SRCS_MIN+=	AST/StmtPrinter.cpp
+SRCS_MIN+=	AST/StmtProfile.cpp
+SRCS_MIN+=	AST/StmtViz.cpp
+SRCS_MIN+=	AST/TemplateBase.cpp
+SRCS_MIN+=	AST/TemplateName.cpp
+SRCS_MIN+=	AST/Type.cpp
+SRCS_MIN+=	AST/TypeLoc.cpp
+SRCS_MIN+=	AST/TypePrinter.cpp
+SRCS_MIN+=	AST/VTTBuilder.cpp
+SRCS_MIN+=	AST/VTableBuilder.cpp
+SRCS_MIN+=	ASTMatchers/ASTMatchFinder.cpp
+SRCS_MIN+=	ASTMatchers/ASTMatchersInternal.cpp
+SRCS_MIN+=	ASTMatchers/Dynamic/Diagnostics.cpp
+SRCS_MIN+=	ASTMatchers/Dynamic/Registry.cpp
+SRCS_MIN+=	Analysis/AnalysisDeclContext.cpp
+SRCS_MIN+=	Analysis/BodyFarm.cpp
+SRCS_MIN+=	Analysis/CFG.cpp
+SRCS_MIN+=	Analysis/CFGReachabilityAnalysis.cpp
+SRCS_MIN+=	Analysis/CFGStmtMap.cpp
+SRCS_FUL+=	Analysis/CallGraph.cpp
+SRCS_MIN+=	Analysis/CocoaConventions.cpp
+SRCS_FUL+=	Analysis/CodeInjector.cpp
+SRCS_MIN+=	Analysis/Consumed.cpp
+SRCS_FUL+=	Analysis/Dominators.cpp
+SRCS_MIN+=	Analysis/FormatString.cpp
+SRCS_MIN+=	Analysis/LiveVariables.cpp
+SRCS_MIN+=	Analysis/ObjCNoReturn.cpp
+SRCS_MIN+=	Analysis/PostOrderCFGView.cpp
+SRCS_MIN+=	Analysis/PrintfFormatString.cpp
+SRCS_FUL+=	Analysis/ProgramPoint.cpp
+SRCS_MIN+=	Analysis/PseudoConstantAnalysis.cpp
+SRCS_MIN+=	Analysis/ReachableCode.cpp
+SRCS_MIN+=	Analysis/ScanfFormatString.cpp
+SRCS_MIN+=	Analysis/ThreadSafety.cpp
+SRCS_MIN+=	Analysis/ThreadSafetyCommon.cpp
+SRCS_MIN+=	Analysis/ThreadSafetyTIL.cpp
+SRCS_MIN+=	Analysis/UninitializedValues.cpp
+SRCS_MIN+=	Basic/Attributes.cpp
+SRCS_MIN+=	Basic/Builtins.cpp
+SRCS_MIN+=	Basic/CharInfo.cpp
+SRCS_MIN+=	Basic/Cuda.cpp
+SRCS_MIN+=	Basic/Diagnostic.cpp
+SRCS_MIN+=	Basic/DiagnosticIDs.cpp
+SRCS_MIN+=	Basic/DiagnosticOptions.cpp
+SRCS_MIN+=	Basic/FileManager.cpp
+SRCS_MIN+=	Basic/FileSystemStatCache.cpp
+SRCS_MIN+=	Basic/IdentifierTable.cpp
+SRCS_MIN+=	Basic/LangOptions.cpp
+SRCS_MIN+=	Basic/Module.cpp
+SRCS_MIN+=	Basic/ObjCRuntime.cpp
+SRCS_MIN+=	Basic/OpenMPKinds.cpp
+SRCS_MIN+=	Basic/OperatorPrecedence.cpp
+SRCS_MIN+=	Basic/SanitizerBlacklist.cpp
+SRCS_MIN+=	Basic/Sanitizers.cpp
+SRCS_MIN+=	Basic/SourceLocation.cpp
+SRCS_MIN+=	Basic/SourceManager.cpp
+SRCS_MIN+=	Basic/TargetInfo.cpp
+SRCS_MIN+=	Basic/Targets.cpp
+SRCS_MIN+=	Basic/TokenKinds.cpp
+SRCS_MIN+=	Basic/Version.cpp
+SRCS_MIN+=	Basic/VersionTuple.cpp
+SRCS_MIN+=	Basic/VirtualFileSystem.cpp
+SRCS_MIN+=	Basic/Warnings.cpp
+SRCS_MIN+=	CodeGen/BackendUtil.cpp
+SRCS_MIN+=	CodeGen/CGAtomic.cpp
+SRCS_MIN+=	CodeGen/CGBlocks.cpp
+SRCS_MIN+=	CodeGen/CGBuiltin.cpp
+SRCS_MIN+=	CodeGen/CGCUDABuiltin.cpp
+SRCS_MIN+=	CodeGen/CGCUDANV.cpp
+SRCS_MIN+=	CodeGen/CGCUDARuntime.cpp
+SRCS_MIN+=	CodeGen/CGCXX.cpp
+SRCS_MIN+=	CodeGen/CGCXXABI.cpp
+SRCS_MIN+=	CodeGen/CGCall.cpp
+SRCS_MIN+=	CodeGen/CGClass.cpp
+SRCS_MIN+=	CodeGen/CGCleanup.cpp
+SRCS_MIN+=	CodeGen/CGDebugInfo.cpp
+SRCS_MIN+=	CodeGen/CGDecl.cpp
+SRCS_MIN+=	CodeGen/CGDeclCXX.cpp
+SRCS_MIN+=	CodeGen/CGException.cpp
+SRCS_MIN+=	CodeGen/CGExpr.cpp
+SRCS_MIN+=	CodeGen/CGExprAgg.cpp
+SRCS_MIN+=	CodeGen/CGExprCXX.cpp
+SRCS_MIN+=	CodeGen/CGExprComplex.cpp
+SRCS_MIN+=	CodeGen/CGExprConstant.cpp
+SRCS_MIN+=	CodeGen/CGExprScalar.cpp
+SRCS_MIN+=	CodeGen/CGLoopInfo.cpp
+SRCS_MIN+=	CodeGen/CGObjC.cpp
+SRCS_MIN+=	CodeGen/CGObjCGNU.cpp
+SRCS_MIN+=	CodeGen/CGObjCMac.cpp
+SRCS_MIN+=	CodeGen/CGObjCRuntime.cpp
+SRCS_MIN+=	CodeGen/CGOpenCLRuntime.cpp
+SRCS_MIN+=	CodeGen/CGOpenMPRuntime.cpp
+SRCS_MIN+=	CodeGen/CGOpenMPRuntimeNVPTX.cpp
+SRCS_MIN+=	CodeGen/CGRecordLayoutBuilder.cpp
+SRCS_MIN+=	CodeGen/CGStmt.cpp
+SRCS_MIN+=	CodeGen/CGStmtOpenMP.cpp
+SRCS_MIN+=	CodeGen/CGVTT.cpp
+SRCS_MIN+=	CodeGen/CGVTables.cpp
+SRCS_MIN+=	CodeGen/CodeGenAction.cpp
+SRCS_MIN+=	CodeGen/CodeGenFunction.cpp
+SRCS_MIN+=	CodeGen/CodeGenModule.cpp
+SRCS_MIN+=	CodeGen/CodeGenPGO.cpp
+SRCS_MIN+=	CodeGen/CodeGenTBAA.cpp
+SRCS_MIN+=	CodeGen/CodeGenTypes.cpp
+SRCS_MIN+=	CodeGen/CoverageMappingGen.cpp
+SRCS_MIN+=	CodeGen/ItaniumCXXABI.cpp
+SRCS_MIN+=	CodeGen/MicrosoftCXXABI.cpp
+SRCS_MIN+=	CodeGen/ModuleBuilder.cpp
+SRCS_MIN+=	CodeGen/ObjectFilePCHContainerOperations.cpp
+SRCS_MIN+=	CodeGen/SanitizerMetadata.cpp
+SRCS_MIN+=	CodeGen/SwiftCallingConv.cpp
+SRCS_MIN+=	CodeGen/TargetInfo.cpp
+SRCS_MIN+=	Driver/Action.cpp
+SRCS_MIN+=	Driver/Compilation.cpp
+SRCS_MIN+=	Driver/CrossWindowsToolChain.cpp
+SRCS_MIN+=	Driver/Driver.cpp
+SRCS_MIN+=	Driver/DriverOptions.cpp
+SRCS_MIN+=	Driver/Job.cpp
+SRCS_MIN+=	Driver/MSVCToolChain.cpp
+SRCS_MIN+=	Driver/MinGWToolChain.cpp
+SRCS_MIN+=	Driver/Multilib.cpp
+SRCS_MIN+=	Driver/Phases.cpp
+SRCS_MIN+=	Driver/SanitizerArgs.cpp
+SRCS_MIN+=	Driver/Tool.cpp
+SRCS_MIN+=	Driver/ToolChain.cpp
+SRCS_MIN+=	Driver/ToolChains.cpp
+SRCS_MIN+=	Driver/Tools.cpp
+SRCS_MIN+=	Driver/Types.cpp
+SRCS_MIN+=	Edit/Commit.cpp
+SRCS_MIN+=	Edit/EditedSource.cpp
+SRCS_MIN+=	Edit/RewriteObjCFoundationAPI.cpp
+SRCS_EXT+=	Format/AffectedRangeManager.cpp
+SRCS_EXT+=	Format/BreakableToken.cpp
+SRCS_EXT+=	Format/ContinuationIndenter.cpp
+SRCS_EXT+=	Format/Format.cpp
+SRCS_EXT+=	Format/FormatToken.cpp
+SRCS_EXT+=	Format/FormatTokenLexer.cpp
+SRCS_EXT+=	Format/SortJavaScriptImports.cpp
+SRCS_EXT+=	Format/TokenAnalyzer.cpp
+SRCS_EXT+=	Format/TokenAnnotator.cpp
+SRCS_EXT+=	Format/UnwrappedLineFormatter.cpp
+SRCS_EXT+=	Format/UnwrappedLineParser.cpp
+SRCS_EXT+=	Format/WhitespaceManager.cpp
+SRCS_MIN+=	Frontend/ASTConsumers.cpp
+SRCS_MIN+=	Frontend/ASTMerge.cpp
+SRCS_MIN+=	Frontend/ASTUnit.cpp
+SRCS_MIN+=	Frontend/CacheTokens.cpp
+SRCS_MIN+=	Frontend/ChainedDiagnosticConsumer.cpp
+SRCS_MIN+=	Frontend/ChainedIncludesSource.cpp
+SRCS_MIN+=	Frontend/CodeGenOptions.cpp
+SRCS_MIN+=	Frontend/CompilerInstance.cpp
+SRCS_MIN+=	Frontend/CompilerInvocation.cpp
+SRCS_MIN+=	Frontend/CreateInvocationFromCommandLine.cpp
+SRCS_MIN+=	Frontend/DependencyFile.cpp
+SRCS_MIN+=	Frontend/DependencyGraph.cpp
+SRCS_MIN+=	Frontend/DiagnosticRenderer.cpp
+SRCS_MIN+=	Frontend/FrontendAction.cpp
+SRCS_MIN+=	Frontend/FrontendActions.cpp
+SRCS_MIN+=	Frontend/FrontendOptions.cpp
+SRCS_MIN+=	Frontend/HeaderIncludeGen.cpp
+SRCS_MIN+=	Frontend/InitHeaderSearch.cpp
+SRCS_MIN+=	Frontend/InitPreprocessor.cpp
+SRCS_MIN+=	Frontend/LangStandards.cpp
+SRCS_MIN+=	Frontend/LayoutOverrideSource.cpp
+SRCS_MIN+=	Frontend/LogDiagnosticPrinter.cpp
+SRCS_MIN+=	Frontend/ModuleDependencyCollector.cpp
+SRCS_MIN+=	Frontend/MultiplexConsumer.cpp
+SRCS_MIN+=	Frontend/PCHContainerOperations.cpp
+SRCS_MIN+=	Frontend/PrintPreprocessedOutput.cpp
+SRCS_MIN+=	Frontend/Rewrite/FixItRewriter.cpp
+SRCS_MIN+=	Frontend/Rewrite/FrontendActions.cpp
+SRCS_MIN+=	Frontend/Rewrite/HTMLPrint.cpp
+SRCS_MIN+=	Frontend/Rewrite/InclusionRewriter.cpp
+SRCS_MIN+=	Frontend/Rewrite/RewriteMacros.cpp
+SRCS_MIN+=	Frontend/Rewrite/RewriteTest.cpp
+SRCS_MIN+=	Frontend/SerializedDiagnosticPrinter.cpp
+SRCS_MIN+=	Frontend/SerializedDiagnosticReader.cpp
+SRCS_MIN+=	Frontend/TestModuleFileExtension.cpp
+SRCS_MIN+=	Frontend/TextDiagnostic.cpp
+SRCS_MIN+=	Frontend/TextDiagnosticBuffer.cpp
+SRCS_MIN+=	Frontend/TextDiagnosticPrinter.cpp
+SRCS_MIN+=	Frontend/VerifyDiagnosticConsumer.cpp
+SRCS_MIN+=	FrontendTool/ExecuteCompilerInvocation.cpp
+SRCS_MIN+=	Index/CodegenNameGenerator.cpp
+SRCS_MIN+=	Index/CommentToXML.cpp
+SRCS_MIN+=	Index/IndexBody.cpp
+SRCS_MIN+=	Index/IndexDecl.cpp
+SRCS_MIN+=	Index/IndexSymbol.cpp
+SRCS_MIN+=	Index/IndexTypeSourceInfo.cpp
+SRCS_MIN+=	Index/IndexingAction.cpp
+SRCS_MIN+=	Index/IndexingContext.cpp
+SRCS_MIN+=	Index/USRGeneration.cpp
+SRCS_MIN+=	Lex/HeaderMap.cpp
+SRCS_MIN+=	Lex/HeaderSearch.cpp
+SRCS_MIN+=	Lex/Lexer.cpp
+SRCS_MIN+=	Lex/LiteralSupport.cpp
+SRCS_MIN+=	Lex/MacroArgs.cpp
+SRCS_MIN+=	Lex/MacroInfo.cpp
+SRCS_MIN+=	Lex/ModuleMap.cpp
+SRCS_MIN+=	Lex/PPCaching.cpp
+SRCS_MIN+=	Lex/PPCallbacks.cpp
+SRCS_MIN+=	Lex/PPConditionalDirectiveRecord.cpp
+SRCS_MIN+=	Lex/PPDirectives.cpp
+SRCS_MIN+=	Lex/PPExpressions.cpp
+SRCS_MIN+=	Lex/PPLexerChange.cpp
+SRCS_MIN+=	Lex/PPMacroExpansion.cpp
+SRCS_MIN+=	Lex/PTHLexer.cpp
+SRCS_MIN+=	Lex/Pragma.cpp
+SRCS_MIN+=	Lex/PreprocessingRecord.cpp
+SRCS_MIN+=	Lex/Preprocessor.cpp
+SRCS_MIN+=	Lex/PreprocessorLexer.cpp
+SRCS_MIN+=	Lex/ScratchBuffer.cpp
+SRCS_MIN+=	Lex/TokenConcatenation.cpp
+SRCS_MIN+=	Lex/TokenLexer.cpp
+SRCS_MIN+=	Parse/ParseAST.cpp
+SRCS_MIN+=	Parse/ParseCXXInlineMethods.cpp
+SRCS_MIN+=	Parse/ParseDecl.cpp
+SRCS_MIN+=	Parse/ParseDeclCXX.cpp
+SRCS_MIN+=	Parse/ParseExpr.cpp
+SRCS_MIN+=	Parse/ParseExprCXX.cpp
+SRCS_MIN+=	Parse/ParseInit.cpp
+SRCS_MIN+=	Parse/ParseObjc.cpp
+SRCS_MIN+=	Parse/ParseOpenMP.cpp
+SRCS_MIN+=	Parse/ParsePragma.cpp
+SRCS_MIN+=	Parse/ParseStmt.cpp
+SRCS_MIN+=	Parse/ParseStmtAsm.cpp
+SRCS_MIN+=	Parse/ParseTemplate.cpp
+SRCS_MIN+=	Parse/ParseTentative.cpp
+SRCS_MIN+=	Parse/Parser.cpp
+SRCS_MIN+=	Rewrite/DeltaTree.cpp
+SRCS_MIN+=	Rewrite/HTMLRewrite.cpp
+SRCS_MIN+=	Rewrite/RewriteRope.cpp
+SRCS_MIN+=	Rewrite/Rewriter.cpp
+SRCS_MIN+=	Rewrite/TokenRewriter.cpp
+SRCS_MIN+=	Sema/AnalysisBasedWarnings.cpp
+SRCS_MIN+=	Sema/AttributeList.cpp
+SRCS_MIN+=	Sema/CodeCompleteConsumer.cpp
+SRCS_MIN+=	Sema/DeclSpec.cpp
+SRCS_MIN+=	Sema/DelayedDiagnostic.cpp
+SRCS_MIN+=	Sema/IdentifierResolver.cpp
+SRCS_MIN+=	Sema/JumpDiagnostics.cpp
+SRCS_MIN+=	Sema/MultiplexExternalSemaSource.cpp
+SRCS_MIN+=	Sema/Scope.cpp
+SRCS_MIN+=	Sema/ScopeInfo.cpp
+SRCS_MIN+=	Sema/Sema.cpp
+SRCS_MIN+=	Sema/SemaAccess.cpp
+SRCS_MIN+=	Sema/SemaAttr.cpp
+SRCS_MIN+=	Sema/SemaCUDA.cpp
+SRCS_MIN+=	Sema/SemaCXXScopeSpec.cpp
+SRCS_MIN+=	Sema/SemaCast.cpp
+SRCS_MIN+=	Sema/SemaChecking.cpp
+SRCS_MIN+=	Sema/SemaCodeComplete.cpp
+SRCS_MIN+=	Sema/SemaConsumer.cpp
+SRCS_MIN+=	Sema/SemaCoroutine.cpp
+SRCS_MIN+=	Sema/SemaDecl.cpp
+SRCS_MIN+=	Sema/SemaDeclAttr.cpp
+SRCS_MIN+=	Sema/SemaDeclCXX.cpp
+SRCS_MIN+=	Sema/SemaDeclObjC.cpp
+SRCS_MIN+=	Sema/SemaExceptionSpec.cpp
+SRCS_MIN+=	Sema/SemaExpr.cpp
+SRCS_MIN+=	Sema/SemaExprCXX.cpp
+SRCS_MIN+=	Sema/SemaExprMember.cpp
+SRCS_MIN+=	Sema/SemaExprObjC.cpp
+SRCS_MIN+=	Sema/SemaFixItUtils.cpp
+SRCS_MIN+=	Sema/SemaInit.cpp
+SRCS_MIN+=	Sema/SemaLambda.cpp
+SRCS_MIN+=	Sema/SemaLookup.cpp
+SRCS_MIN+=	Sema/SemaObjCProperty.cpp
+SRCS_MIN+=	Sema/SemaOpenMP.cpp
+SRCS_MIN+=	Sema/SemaOverload.cpp
+SRCS_MIN+=	Sema/SemaPseudoObject.cpp
+SRCS_MIN+=	Sema/SemaStmt.cpp
+SRCS_MIN+=	Sema/SemaStmtAsm.cpp
+SRCS_MIN+=	Sema/SemaStmtAttr.cpp
+SRCS_MIN+=	Sema/SemaTemplate.cpp
+SRCS_MIN+=	Sema/SemaTemplateDeduction.cpp
+SRCS_MIN+=	Sema/SemaTemplateInstantiate.cpp
+SRCS_MIN+=	Sema/SemaTemplateInstantiateDecl.cpp
+SRCS_MIN+=	Sema/SemaTemplateVariadic.cpp
+SRCS_MIN+=	Sema/SemaType.cpp
+SRCS_MIN+=	Sema/TypeLocBuilder.cpp
+SRCS_MIN+=	Serialization/ASTCommon.cpp
+SRCS_MIN+=	Serialization/ASTReader.cpp
+SRCS_MIN+=	Serialization/ASTReaderDecl.cpp
+SRCS_MIN+=	Serialization/ASTReaderStmt.cpp
+SRCS_MIN+=	Serialization/ASTWriter.cpp
+SRCS_MIN+=	Serialization/ASTWriterDecl.cpp
+SRCS_MIN+=	Serialization/ASTWriterStmt.cpp
+SRCS_MIN+=	Serialization/GeneratePCH.cpp
+SRCS_MIN+=	Serialization/GlobalModuleIndex.cpp
+SRCS_MIN+=	Serialization/Module.cpp
+SRCS_MIN+=	Serialization/ModuleFileExtension.cpp
+SRCS_MIN+=	Serialization/ModuleManager.cpp
+SRCS_FUL+=	StaticAnalyzer/Checkers/AllocationDiagnostics.cpp
+SRCS_FUL+=	StaticAnalyzer/Checkers/AnalyzerStatsChecker.cpp
+SRCS_FUL+=	StaticAnalyzer/Checkers/ArrayBoundChecker.cpp
+SRCS_FUL+=	StaticAnalyzer/Checkers/ArrayBoundCheckerV2.cpp
+SRCS_FUL+=	StaticAnalyzer/Checkers/BasicObjCFoundationChecks.cpp
+SRCS_FUL+=	StaticAnalyzer/Checkers/BoolAssignmentChecker.cpp
+SRCS_FUL+=	StaticAnalyzer/Checkers/BuiltinFunctionChecker.cpp
+SRCS_FUL+=	StaticAnalyzer/Checkers/CStringChecker.cpp
+SRCS_FUL+=	StaticAnalyzer/Checkers/CStringSyntaxChecker.cpp
+SRCS_FUL+=	StaticAnalyzer/Checkers/CallAndMessageChecker.cpp
+SRCS_FUL+=	StaticAnalyzer/Checkers/CastSizeChecker.cpp
+SRCS_FUL+=	StaticAnalyzer/Checkers/CastToStructChecker.cpp
+SRCS_FUL+=	StaticAnalyzer/Checkers/CheckObjCDealloc.cpp
+SRCS_FUL+=	StaticAnalyzer/Checkers/CheckObjCInstMethSignature.cpp
+SRCS_FUL+=	StaticAnalyzer/Checkers/CheckSecuritySyntaxOnly.cpp
+SRCS_FUL+=	StaticAnalyzer/Checkers/CheckSizeofPointer.cpp
+SRCS_FUL+=	StaticAnalyzer/Checkers/ChrootChecker.cpp
+SRCS_FUL+=	StaticAnalyzer/Checkers/ClangCheckers.cpp
+SRCS_FUL+=	StaticAnalyzer/Checkers/DeadStoresChecker.cpp
+SRCS_FUL+=	StaticAnalyzer/Checkers/DebugCheckers.cpp
+SRCS_FUL+=	StaticAnalyzer/Checkers/DereferenceChecker.cpp
+SRCS_FUL+=	StaticAnalyzer/Checkers/DirectIvarAssignment.cpp
+SRCS_FUL+=	StaticAnalyzer/Checkers/DivZeroChecker.cpp
+SRCS_FUL+=	StaticAnalyzer/Checkers/DynamicTypeChecker.cpp
+SRCS_FUL+=	StaticAnalyzer/Checkers/DynamicTypePropagation.cpp
+SRCS_FUL+=	StaticAnalyzer/Checkers/ExprInspectionChecker.cpp

*** DIFF OUTPUT TRUNCATED AT 1000 LINES ***



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