summaryrefslogtreecommitdiffstats
path: root/lib/clang
diff options
context:
space:
mode:
authorsjg <sjg@FreeBSD.org>2015-05-27 01:19:58 +0000
committersjg <sjg@FreeBSD.org>2015-05-27 01:19:58 +0000
commit65145fa4c81da358fcbc3b650156dab705dfa34e (patch)
tree55c065b6730aaac2afb6c29933ee6ec5fa4c4249 /lib/clang
parent60ff4eb0dff94a04d75d0d52a3957aaaf5f8c693 (diff)
parente6b664c390af88d4a87208bc042ce503da664c3b (diff)
downloadFreeBSD-src-65145fa4c81da358fcbc3b650156dab705dfa34e.zip
FreeBSD-src-65145fa4c81da358fcbc3b650156dab705dfa34e.tar.gz
Merge sync of head
Diffstat (limited to 'lib/clang')
-rw-r--r--lib/clang/Makefile28
-rw-r--r--lib/clang/clang.build.mk54
-rw-r--r--lib/clang/include/AArch64GenAsmMatcher.inc2
-rw-r--r--lib/clang/include/AArch64GenAsmWriter.inc2
-rw-r--r--lib/clang/include/AArch64GenAsmWriter1.inc2
-rw-r--r--lib/clang/include/AArch64GenCallingConv.inc2
-rw-r--r--lib/clang/include/AArch64GenDAGISel.inc2
-rw-r--r--lib/clang/include/AArch64GenDisassemblerTables.inc2
-rw-r--r--lib/clang/include/AArch64GenFastISel.inc2
-rw-r--r--lib/clang/include/AArch64GenInstrInfo.inc2
-rw-r--r--lib/clang/include/AArch64GenMCCodeEmitter.inc2
-rw-r--r--lib/clang/include/AArch64GenMCPseudoLowering.inc2
-rw-r--r--lib/clang/include/AArch64GenRegisterInfo.inc2
-rw-r--r--lib/clang/include/AArch64GenSubtargetInfo.inc2
-rw-r--r--lib/clang/include/Makefile15
-rw-r--r--lib/clang/include/MipsGenFastISel.inc2
-rw-r--r--lib/clang/include/PPCGenDisassemblerTables.inc2
-rw-r--r--lib/clang/include/clang/AST/AttrVisitor.inc2
-rw-r--r--lib/clang/include/clang/Basic/AttrHasAttributeImpl.inc2
-rw-r--r--lib/clang/include/clang/Basic/Version.inc10
-rw-r--r--lib/clang/include/clang/Config/config.h23
-rw-r--r--lib/clang/include/clang/Driver/CC1AsOptions.inc2
-rw-r--r--lib/clang/include/clang/Lex/AttrSpellings.inc2
-rw-r--r--lib/clang/include/clang/Parse/AttrIdentifierArg.inc2
-rw-r--r--lib/clang/include/clang/Parse/AttrLateParsed.inc2
-rw-r--r--lib/clang/include/clang/Parse/AttrParserStringSwitches.inc2
-rw-r--r--lib/clang/include/clang/Parse/AttrTypeArg.inc2
-rw-r--r--lib/clang/include/llvm/Config/AsmParsers.def1
-rw-r--r--lib/clang/include/llvm/Config/AsmPrinters.def1
-rw-r--r--lib/clang/include/llvm/Config/Disassemblers.def2
-rw-r--r--lib/clang/include/llvm/Config/Targets.def1
-rw-r--r--lib/clang/include/llvm/Config/config.h156
-rw-r--r--lib/clang/include/llvm/Config/llvm-config.h49
-rw-r--r--lib/clang/include/llvm/Support/DataTypes.h72
-rw-r--r--lib/clang/libclanganalysis/Makefile5
-rw-r--r--lib/clang/libclangarcmigrate/Makefile1
-rw-r--r--lib/clang/libclangast/Makefile3
-rw-r--r--lib/clang/libclangbasic/Makefile12
-rw-r--r--lib/clang/libclangcodegen/Makefile10
-rw-r--r--lib/clang/libclangdriver/Makefile10
-rw-r--r--lib/clang/libclangfrontend/Makefile7
-rw-r--r--lib/clang/libclangfrontendtool/Makefile7
-rw-r--r--lib/clang/libclanglex/Makefile2
-rw-r--r--lib/clang/libclangparse/Makefile7
-rw-r--r--lib/clang/libclangrewrite/Makefile (renamed from lib/clang/libclangrewritecore/Makefile)4
-rw-r--r--lib/clang/libclangrewrite/Makefile.depend (renamed from lib/clang/libclangrewritecore/Makefile.depend)4
-rw-r--r--lib/clang/libclangrewritefrontend/Makefile4
-rw-r--r--lib/clang/libclangsema/Makefile3
-rw-r--r--lib/clang/libclangstaticanalyzercheckers/Makefile3
-rw-r--r--lib/clang/libclangstaticanalyzerfrontend/Makefile6
-rw-r--r--lib/clang/liblldb/Makefile4
-rw-r--r--lib/clang/liblldbAPI/Makefile9
-rw-r--r--lib/clang/liblldbBreakpoint/Makefile4
-rw-r--r--lib/clang/liblldbCommands/Makefile4
-rw-r--r--lib/clang/liblldbCore/Makefile7
-rw-r--r--lib/clang/liblldbDataFormatters/Makefile9
-rw-r--r--lib/clang/liblldbExpression/Makefile1
-rw-r--r--lib/clang/liblldbHostCommon/Makefile16
-rw-r--r--lib/clang/liblldbHostFreeBSD/Makefile5
-rw-r--r--lib/clang/liblldbHostPOSIX/Makefile16
-rw-r--r--lib/clang/liblldbInterpreter/Makefile6
-rw-r--r--lib/clang/liblldbPluginABISysV_ppc/Makefile15
-rw-r--r--lib/clang/liblldbPluginABISysV_ppc64/Makefile15
-rw-r--r--lib/clang/liblldbPluginInstructionARM64/Makefile10
-rw-r--r--lib/clang/liblldbPluginInstrumentationRuntimeAddressSanitizer/Makefile17
-rw-r--r--lib/clang/liblldbPluginJITLoaderGDB/Makefile15
-rw-r--r--lib/clang/liblldbPluginMemoryHistoryASan/Makefile15
-rw-r--r--lib/clang/liblldbPluginObjectFileJIT/Makefile17
-rw-r--r--lib/clang/liblldbPluginPlatformFreeBSD/Makefile4
-rw-r--r--lib/clang/liblldbPluginPlatformGDB/Makefile4
-rw-r--r--lib/clang/liblldbPluginProcessElfCore/Makefile1
-rw-r--r--lib/clang/liblldbPluginProcessGDBRemote/Makefile4
-rw-r--r--lib/clang/liblldbPluginProcessPOSIX/Makefile15
-rw-r--r--lib/clang/liblldbPluginProcessUtility/Makefile18
-rw-r--r--lib/clang/liblldbPluginSymbolFileDWARF/Makefile4
-rw-r--r--lib/clang/liblldbSymbol/Makefile1
-rw-r--r--lib/clang/liblldbTarget/Makefile16
-rw-r--r--lib/clang/liblldbUtility/Makefile8
-rw-r--r--lib/clang/libllvmaarch64asmparser/Makefile16
-rw-r--r--lib/clang/libllvmaarch64asmparser/Makefile.depend23
-rw-r--r--lib/clang/libllvmaarch64codegen/Makefile46
-rw-r--r--lib/clang/libllvmaarch64desc/Makefile24
-rw-r--r--lib/clang/libllvmaarch64desc/Makefile.depend47
-rw-r--r--lib/clang/libllvmaarch64disassembler/Makefile20
-rw-r--r--lib/clang/libllvmaarch64disassembler/Makefile.depend23
-rw-r--r--lib/clang/libllvmaarch64info/Makefile15
-rw-r--r--lib/clang/libllvmaarch64info/Makefile.depend15
-rw-r--r--lib/clang/libllvmaarch64instprinter/Makefile17
-rw-r--r--lib/clang/libllvmaarch64instprinter/Makefile.depend25
-rw-r--r--lib/clang/libllvmaarch64utils/Makefile15
-rw-r--r--lib/clang/libllvmaarch64utils/Makefile.depend21
-rw-r--r--lib/clang/libllvmanalysis/Makefile13
-rw-r--r--lib/clang/libllvmarmcodegen/Makefile3
-rw-r--r--lib/clang/libllvmarmdesc/Makefile6
-rw-r--r--lib/clang/libllvmasmprinter/Makefile11
-rw-r--r--lib/clang/libllvmcodegen/Makefile15
-rw-r--r--lib/clang/libllvmcore/Makefile12
-rw-r--r--lib/clang/libllvmdebuginfo/Makefile7
-rw-r--r--lib/clang/libllvmexecutionengine/Makefile2
-rw-r--r--lib/clang/libllvminstrumentation/Makefile3
-rw-r--r--lib/clang/libllvmipa/Makefile1
-rw-r--r--lib/clang/libllvmjit/Makefile12
-rw-r--r--lib/clang/libllvmmc/Makefile23
-rw-r--r--lib/clang/libllvmmcdisassembler/Makefile5
-rw-r--r--lib/clang/libllvmmipscodegen/Makefile7
-rw-r--r--lib/clang/libllvmmipsdesc/Makefile9
-rw-r--r--lib/clang/libllvmobjcarcopts/Makefile3
-rw-r--r--lib/clang/libllvmobject/Makefile4
-rw-r--r--lib/clang/libllvmpowerpccodegen/Makefile4
-rw-r--r--lib/clang/libllvmpowerpcdisassembler/Makefile16
-rw-r--r--lib/clang/libllvmpowerpcdisassembler/Makefile.depend23
-rw-r--r--lib/clang/libllvmprofiledata/Makefile18
-rw-r--r--lib/clang/libllvmprofiledata/Makefile.depend (renamed from lib/clang/libllvmjit/Makefile.depend)2
-rw-r--r--lib/clang/libllvmruntimedyld/Makefile3
-rw-r--r--lib/clang/libllvmscalaropts/Makefile8
-rw-r--r--lib/clang/libllvmselectiondag/Makefile1
-rw-r--r--lib/clang/libllvmsparccodegen/Makefile2
-rw-r--r--lib/clang/libllvmsupport/Makefile25
-rw-r--r--lib/clang/libllvmtablegen/Makefile1
-rw-r--r--lib/clang/libllvmtarget/Makefile4
-rw-r--r--lib/clang/libllvmtransformutils/Makefile7
-rw-r--r--lib/clang/libllvmx86asmparser/Makefile3
-rw-r--r--lib/clang/libllvmx86codegen/Makefile4
-rw-r--r--lib/clang/libllvmx86desc/Makefile3
-rw-r--r--lib/clang/libllvmx86disassembler/Makefile5
125 files changed, 970 insertions, 406 deletions
diff --git a/lib/clang/Makefile b/lib/clang/Makefile
index 328aa78..a7513c3 100644
--- a/lib/clang/Makefile
+++ b/lib/clang/Makefile
@@ -11,11 +11,6 @@ _libclangstaticanalyzer= \
_libclangarcmigrate= \
libclangarcmigrate
.endif # MK_CLANG_FULL
-.if ${MK_CLANG_FULL} != "no" || ${MK_LLDB} != "no"
-_libclangrewriter= \
- libclangrewritecore \
- libclangrewritefrontend
-.endif # (MK_CLANG_FULL || MK_LLDB)
SUBDIR= libclanganalysis \
${_libclangarcmigrate} \
@@ -28,7 +23,8 @@ SUBDIR= libclanganalysis \
libclangfrontendtool \
libclanglex \
libclangparse \
- ${_libclangrewriter} \
+ libclangrewritefrontend \
+ libclangrewrite \
libclangsema \
libclangserialization \
${_libclangstaticanalyzer} \
@@ -47,10 +43,12 @@ SUBDIR= libclanganalysis \
libllvmirreader \
libllvmlinker \
libllvmmc \
+ libllvmmcdisassembler \
libllvmmcparser \
libllvmobjcarcopts \
libllvmobject \
libllvmoption \
+ libllvmprofiledata \
libllvmscalaropts \
libllvmselectiondag \
libllvmsupport \
@@ -59,6 +57,13 @@ SUBDIR= libclanganalysis \
libllvmtransformutils \
libllvmvectorize \
\
+ libllvmaarch64asmparser \
+ libllvmaarch64codegen \
+ libllvmaarch64desc \
+ libllvmaarch64disassembler \
+ libllvmaarch64info \
+ libllvmaarch64instprinter \
+ libllvmaarch64utils \
libllvmarmasmparser \
libllvmarmcodegen \
libllvmarmdesc \
@@ -74,6 +79,7 @@ SUBDIR= libclanganalysis \
libllvmpowerpcasmparser \
libllvmpowerpccodegen \
libllvmpowerpcdesc \
+ libllvmpowerpcdisassembler \
libllvmpowerpcinfo \
libllvmpowerpcinstprinter \
libllvmsparcasmparser \
@@ -96,8 +102,6 @@ SUBDIR+=libllvmdebuginfo
.if ${MK_CLANG_EXTRAS} != "no" || ${MK_LLDB} != "no"
SUBDIR+=libllvmexecutionengine \
libllvminterpreter \
- libllvmjit \
- libllvmmcdisassembler \
libllvmmcjit \
libllvmruntimedyld
.endif # MK_CLANG_EXTRAS | LLDB
@@ -113,19 +117,27 @@ SUBDIR+=liblldb \
liblldbExpression \
liblldbHostCommon \
liblldbHostFreeBSD \
+ liblldbHostPOSIX \
liblldbInterpreter \
liblldbSymbol \
liblldbTarget \
liblldbUtility \
\
+ liblldbPluginABISysV_ppc \
+ liblldbPluginABISysV_ppc64 \
liblldbPluginABISysV_x86_64 \
liblldbPluginCXXItaniumABI \
liblldbPluginDisassemblerLLVM \
liblldbPluginDynamicLoaderStatic \
liblldbPluginDynamicLoaderPosixDYLD \
liblldbPluginInstructionARM \
+ liblldbPluginInstructionARM64 \
+ liblldbPluginInstrumentationRuntimeAddressSanitizer \
+ liblldbPluginJITLoaderGDB \
+ liblldbPluginMemoryHistoryASan \
liblldbPluginObjectContainerBSDArchive \
liblldbPluginObjectFileELF \
+ liblldbPluginObjectFileJIT \
liblldbPluginPlatformFreeBSD \
liblldbPluginPlatformGDB \
liblldbPluginProcessElfCore \
diff --git a/lib/clang/clang.build.mk b/lib/clang/clang.build.mk
index 0f68178..c4ce724 100644
--- a/lib/clang/clang.build.mk
+++ b/lib/clang/clang.build.mk
@@ -12,7 +12,6 @@ CFLAGS+= -I${LLVM_SRCS}/include -I${CLANG_SRCS}/include \
.if ${MK_CLANG_FULL} != "no"
CFLAGS+= -DCLANG_ENABLE_ARCMT \
- -DCLANG_ENABLE_REWRITER \
-DCLANG_ENABLE_STATIC_ANALYZER
.endif # MK_CLANG_FULL
@@ -30,22 +29,29 @@ TARGET_ABI= gnueabi
TARGET_ABI= unknown
.endif
-TARGET_TRIPLE?= ${TARGET_ARCH:C/amd64/x86_64/:C/armv6hf/armv6/}-${TARGET_ABI}-freebsd11.0
-BUILD_TRIPLE?= ${BUILD_ARCH:C/amd64/x86_64/:C/armv6hf/armv6/}-unknown-freebsd11.0
+TARGET_TRIPLE?= ${TARGET_ARCH:C/amd64/x86_64/:C/armv6hf/armv6/:C/arm64/aarch64/}-${TARGET_ABI}-freebsd11.0
+BUILD_TRIPLE?= ${BUILD_ARCH:C/amd64/x86_64/:C/armv6hf/armv6/:C/arm64/aarch64/}-unknown-freebsd11.0
CFLAGS+= -DLLVM_DEFAULT_TARGET_TRIPLE=\"${TARGET_TRIPLE}\" \
-DLLVM_HOST_TRIPLE=\"${BUILD_TRIPLE}\" \
-DDEFAULT_SYSROOT=\"${TOOLS_PREFIX}\"
-CXXFLAGS+= -fno-exceptions -fno-rtti
+CXXFLAGS+= -std=c++11 -fno-exceptions -fno-rtti
+CXXFLAGS.clang+= -stdlib=libc++
.PATH: ${LLVM_SRCS}/${SRCDIR}
-.if ${MACHINE} == "host" && defined(EARLY_BUILD)
+#.info ${MACHINE BOOTSTRAPPING_TOOLS LEGACY_TOOLS:L:@v@$v=${$v}@}
+.if empty(TOOLSDIR) || !exists(${TOOLSDIR}/usr/bin/clang-tblgen)
+.if ${MACHINE} == "host" && defined(BOOTSTRAPPING_TOOLS)
.if !empty(LEGACY_TOOLS) && exists(${LEGACY_TOOLS}/usr/bin/tblgen)
TOOLSDIR= ${LEGACY_TOOLS}
.endif
.endif
-.if ${MK_STAGING} == "yes"
-TOOLSDIR?= ${STAGE_HOST_OBJTOP}
+.if ${MK_STAGING} == "yes" && exists(${STAGE_HOST_OBJTOP:Uno}/usr/bin/tblgen)
+TOOLSDIR= ${STAGE_HOST_OBJTOP}
+.endif
+.if exists(${LEGACY_TOOLS:Uno}/usr/bin/tblgen)
+TOOLSDIR= ${LEGACY_TOOLS}
+.endif
.endif
TOOLSDIR?=
.if !empty(TOOLSDIR) && exists(${TOOLSDIR}/usr/bin/clang-tblgen)
@@ -54,13 +60,14 @@ CLANG_TBLGEN= ${TOOLSDIR}/usr/bin/clang-tblgen
.endif
TBLGEN?= tblgen
CLANG_TBLGEN?= clang-tblgen
+#.info ${TOOLSDIR TBLGEN CLANG_TBLGEN:L:@v@$v=${$v}@}
Intrinsics.inc.h: ${LLVM_SRCS}/include/llvm/IR/Intrinsics.td
${TBLGEN} -gen-intrinsic \
-I ${LLVM_SRCS}/include -d ${.TARGET:C/\.h$/.d/} -o ${.TARGET} \
${LLVM_SRCS}/include/llvm/IR/Intrinsics.td
.for arch in \
- ARM/ARM Mips/Mips PowerPC/PPC Sparc/Sparc X86/X86
+ 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 \
@@ -71,7 +78,7 @@ Intrinsics.inc.h: ${LLVM_SRCS}/include/llvm/IR/Intrinsics.td
DisassemblerTables/-gen-disassembler \
FastISel/-gen-fast-isel \
InstrInfo/-gen-instr-info \
- MCCodeEmitter/-gen-emitter,-mc-emitter \
+ MCCodeEmitter/-gen-emitter \
MCPseudoLowering/-gen-pseudo-lowering \
RegisterInfo/-gen-register-info \
SubtargetInfo/-gen-subtarget
@@ -93,8 +100,8 @@ AttrDump.inc.h: ${CLANG_SRCS}/include/clang/Basic/Attr.td
-I ${CLANG_SRCS}/include -d ${.TARGET:C/\.h$/.d/} -o ${.TARGET} \
${CLANG_SRCS}/include/clang/Basic/Attr.td
-AttrIdentifierArg.inc.h: ${CLANG_SRCS}/include/clang/Basic/Attr.td
- ${CLANG_TBLGEN} -gen-clang-attr-identifier-arg-list \
+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
@@ -103,11 +110,6 @@ AttrImpl.inc.h: ${CLANG_SRCS}/include/clang/Basic/Attr.td
-I ${CLANG_SRCS}/include -d ${.TARGET:C/\.h$/.d/} -o ${.TARGET} \
${CLANG_SRCS}/include/clang/Basic/Attr.td
-AttrLateParsed.inc.h: ${CLANG_SRCS}/include/clang/Basic/Attr.td
- ${CLANG_TBLGEN} -gen-clang-attr-late-parsed-list \
- -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} \
@@ -128,6 +130,11 @@ AttrParsedAttrList.inc.h: ${CLANG_SRCS}/include/clang/Basic/Attr.td
-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} \
@@ -138,11 +145,6 @@ AttrPCHWrite.inc.h: ${CLANG_SRCS}/include/clang/Basic/Attr.td
-I ${CLANG_SRCS}/include -d ${.TARGET:C/\.h$/.d/} -o ${.TARGET} \
${CLANG_SRCS}/include/clang/Basic/Attr.td
-AttrSpellings.inc.h: ${CLANG_SRCS}/include/clang/Basic/Attr.td
- ${CLANG_TBLGEN} -gen-clang-attr-spelling-list \
- -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} \
@@ -153,8 +155,8 @@ AttrTemplateInstantiate.inc.h: ${CLANG_SRCS}/include/clang/Basic/Attr.td
-I ${CLANG_SRCS}/include -d ${.TARGET:C/\.h$/.d/} -o ${.TARGET} \
${CLANG_SRCS}/include/clang/Basic/Attr.td
-AttrTypeArg.inc.h: ${CLANG_SRCS}/include/clang/Basic/Attr.td
- ${CLANG_TBLGEN} -gen-clang-attr-type-arg-list \
+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
@@ -233,12 +235,6 @@ Options.inc.h: ${CLANG_SRCS}/include/clang/Driver/Options.td
-d ${.TARGET:C/\.h$/.d/} -o ${.TARGET} \
${CLANG_SRCS}/include/clang/Driver/Options.td
-CC1AsOptions.inc.h: ${CLANG_SRCS}/include/clang/Driver/CC1AsOptions.td
- ${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/CC1AsOptions.td
-
Checkers.inc.h: ${CLANG_SRCS}/lib/StaticAnalyzer/Checkers/Checkers.td
${CLANG_TBLGEN} -gen-clang-sa-checkers \
-I ${CLANG_SRCS}/include -d ${.TARGET:C/\.h$/.d/} -o ${.TARGET} \
diff --git a/lib/clang/include/AArch64GenAsmMatcher.inc b/lib/clang/include/AArch64GenAsmMatcher.inc
new file mode 100644
index 0000000..0b1e0a9
--- /dev/null
+++ b/lib/clang/include/AArch64GenAsmMatcher.inc
@@ -0,0 +1,2 @@
+/* $FreeBSD$ */
+#include "AArch64GenAsmMatcher.inc.h"
diff --git a/lib/clang/include/AArch64GenAsmWriter.inc b/lib/clang/include/AArch64GenAsmWriter.inc
new file mode 100644
index 0000000..20b130b
--- /dev/null
+++ b/lib/clang/include/AArch64GenAsmWriter.inc
@@ -0,0 +1,2 @@
+/* $FreeBSD$ */
+#include "AArch64GenAsmWriter.inc.h"
diff --git a/lib/clang/include/AArch64GenAsmWriter1.inc b/lib/clang/include/AArch64GenAsmWriter1.inc
new file mode 100644
index 0000000..caf7812
--- /dev/null
+++ b/lib/clang/include/AArch64GenAsmWriter1.inc
@@ -0,0 +1,2 @@
+/* $FreeBSD$ */
+#include "AArch64GenAsmWriter1.inc.h"
diff --git a/lib/clang/include/AArch64GenCallingConv.inc b/lib/clang/include/AArch64GenCallingConv.inc
new file mode 100644
index 0000000..75bfa38
--- /dev/null
+++ b/lib/clang/include/AArch64GenCallingConv.inc
@@ -0,0 +1,2 @@
+/* $FreeBSD$ */
+#include "AArch64GenCallingConv.inc.h"
diff --git a/lib/clang/include/AArch64GenDAGISel.inc b/lib/clang/include/AArch64GenDAGISel.inc
new file mode 100644
index 0000000..39bb084
--- /dev/null
+++ b/lib/clang/include/AArch64GenDAGISel.inc
@@ -0,0 +1,2 @@
+/* $FreeBSD$ */
+#include "AArch64GenDAGISel.inc.h"
diff --git a/lib/clang/include/AArch64GenDisassemblerTables.inc b/lib/clang/include/AArch64GenDisassemblerTables.inc
new file mode 100644
index 0000000..3b26336
--- /dev/null
+++ b/lib/clang/include/AArch64GenDisassemblerTables.inc
@@ -0,0 +1,2 @@
+/* $FreeBSD$ */
+#include "AArch64GenDisassemblerTables.inc.h"
diff --git a/lib/clang/include/AArch64GenFastISel.inc b/lib/clang/include/AArch64GenFastISel.inc
new file mode 100644
index 0000000..ebc2ad2
--- /dev/null
+++ b/lib/clang/include/AArch64GenFastISel.inc
@@ -0,0 +1,2 @@
+/* $FreeBSD$ */
+#include "AArch64GenFastISel.inc.h"
diff --git a/lib/clang/include/AArch64GenInstrInfo.inc b/lib/clang/include/AArch64GenInstrInfo.inc
new file mode 100644
index 0000000..12e60a9
--- /dev/null
+++ b/lib/clang/include/AArch64GenInstrInfo.inc
@@ -0,0 +1,2 @@
+/* $FreeBSD$ */
+#include "AArch64GenInstrInfo.inc.h"
diff --git a/lib/clang/include/AArch64GenMCCodeEmitter.inc b/lib/clang/include/AArch64GenMCCodeEmitter.inc
new file mode 100644
index 0000000..e3515f5
--- /dev/null
+++ b/lib/clang/include/AArch64GenMCCodeEmitter.inc
@@ -0,0 +1,2 @@
+/* $FreeBSD$ */
+#include "AArch64GenMCCodeEmitter.inc.h"
diff --git a/lib/clang/include/AArch64GenMCPseudoLowering.inc b/lib/clang/include/AArch64GenMCPseudoLowering.inc
new file mode 100644
index 0000000..93f3f3a
--- /dev/null
+++ b/lib/clang/include/AArch64GenMCPseudoLowering.inc
@@ -0,0 +1,2 @@
+/* $FreeBSD$ */
+#include "AArch64GenMCPseudoLowering.inc.h"
diff --git a/lib/clang/include/AArch64GenRegisterInfo.inc b/lib/clang/include/AArch64GenRegisterInfo.inc
new file mode 100644
index 0000000..a6a9647
--- /dev/null
+++ b/lib/clang/include/AArch64GenRegisterInfo.inc
@@ -0,0 +1,2 @@
+/* $FreeBSD$ */
+#include "AArch64GenRegisterInfo.inc.h"
diff --git a/lib/clang/include/AArch64GenSubtargetInfo.inc b/lib/clang/include/AArch64GenSubtargetInfo.inc
new file mode 100644
index 0000000..8674332
--- /dev/null
+++ b/lib/clang/include/AArch64GenSubtargetInfo.inc
@@ -0,0 +1,2 @@
+/* $FreeBSD$ */
+#include "AArch64GenSubtargetInfo.inc.h"
diff --git a/lib/clang/include/Makefile b/lib/clang/include/Makefile
index 1ffd3e1..0e6ac6e 100644
--- a/lib/clang/include/Makefile
+++ b/lib/clang/include/Makefile
@@ -8,13 +8,21 @@ LLVM_SRCS= ${.CURDIR}/../../../contrib/llvm
.PATH: ${LLVM_SRCS}/tools/clang/lib/Headers
-INCSDIR=${INCLUDEDIR}/clang/3.4.1
+INCSDIR=${LIBDIR}/clang/3.6.0/include
-INCS= __wmmintrin_aes.h \
+INCS= __stddef_max_align_t.h \
+ __wmmintrin_aes.h \
__wmmintrin_pclmul.h \
+ adxintrin.h \
altivec.h \
ammintrin.h \
+ arm_acle.h \
avx2intrin.h \
+ avx512bwintrin.h \
+ avx512erintrin.h \
+ avx512fintrin.h \
+ avx512vlbwintrin.h \
+ avx512vlintrin.h \
avxintrin.h \
bmi2intrin.h \
bmiintrin.h \
@@ -23,12 +31,13 @@ INCS= __wmmintrin_aes.h \
f16cintrin.h \
fma4intrin.h \
fmaintrin.h \
+ ia32intrin.h \
immintrin.h \
lzcntintrin.h \
mm3dnow.h \
mm_malloc.h \
mmintrin.h \
- module.map \
+ module.modulemap \
nmmintrin.h \
pmmintrin.h \
popcntintrin.h \
diff --git a/lib/clang/include/MipsGenFastISel.inc b/lib/clang/include/MipsGenFastISel.inc
new file mode 100644
index 0000000..a2aaacf
--- /dev/null
+++ b/lib/clang/include/MipsGenFastISel.inc
@@ -0,0 +1,2 @@
+/* $FreeBSD$ */
+#include "MipsGenFastISel.inc.h"
diff --git a/lib/clang/include/PPCGenDisassemblerTables.inc b/lib/clang/include/PPCGenDisassemblerTables.inc
new file mode 100644
index 0000000..c581dbe
--- /dev/null
+++ b/lib/clang/include/PPCGenDisassemblerTables.inc
@@ -0,0 +1,2 @@
+/* $FreeBSD$ */
+#include "PPCGenDisassemblerTables.inc.h"
diff --git a/lib/clang/include/clang/AST/AttrVisitor.inc b/lib/clang/include/clang/AST/AttrVisitor.inc
new file mode 100644
index 0000000..8f8bdb0
--- /dev/null
+++ b/lib/clang/include/clang/AST/AttrVisitor.inc
@@ -0,0 +1,2 @@
+/* $FreeBSD$ */
+#include "AttrVisitor.inc.h"
diff --git a/lib/clang/include/clang/Basic/AttrHasAttributeImpl.inc b/lib/clang/include/clang/Basic/AttrHasAttributeImpl.inc
new file mode 100644
index 0000000..0e996d2
--- /dev/null
+++ b/lib/clang/include/clang/Basic/AttrHasAttributeImpl.inc
@@ -0,0 +1,2 @@
+/* $FreeBSD$ */
+#include "AttrHasAttributeImpl.inc.h"
diff --git a/lib/clang/include/clang/Basic/Version.inc b/lib/clang/include/clang/Basic/Version.inc
index d2fcc04..c6d4a8e 100644
--- a/lib/clang/include/clang/Basic/Version.inc
+++ b/lib/clang/include/clang/Basic/Version.inc
@@ -1,11 +1,11 @@
/* $FreeBSD$ */
-#define CLANG_VERSION 3.4.1
+#define CLANG_VERSION 3.6.0
#define CLANG_VERSION_MAJOR 3
-#define CLANG_VERSION_MINOR 4
-#define CLANG_VERSION_PATCHLEVEL 1
+#define CLANG_VERSION_MINOR 6
+#define CLANG_VERSION_PATCHLEVEL 0
#define CLANG_VENDOR "FreeBSD "
-#define CLANG_VENDOR_SUFFIX " 20140512"
+#define CLANG_VENDOR_SUFFIX " 20150225"
-#define SVN_REVISION "208032"
+#define SVN_REVISION "230434"
diff --git a/lib/clang/include/clang/Config/config.h b/lib/clang/include/clang/Config/config.h
index 5c35829..9c4512d 100644
--- a/lib/clang/include/clang/Config/config.h
+++ b/lib/clang/include/clang/Config/config.h
@@ -1,26 +1,39 @@
/* $FreeBSD$ */
/* tools/clang/include/clang/Config/config.h. Generated from config.h.in by configure. */
-/* include/clang/Config/config.h.in. */
+/* This generated file is for internal use. Do not include it from headers. */
-#ifndef CONFIG_H
+#ifdef CONFIG_H
+#error config.h can only be included once
+#else
#define CONFIG_H
/* Bug report URL. */
#define BUG_REPORT_URL "https://bugs.freebsd.org/submit/"
+/* Multilib suffix for libdir. */
+#define CLANG_LIBDIR_SUFFIX ""
+
/* Relative directory for resource files */
#define CLANG_RESOURCE_DIR ""
/* Directories clang will search for headers */
#define C_INCLUDE_DIRS ""
-/* Linker version detected at compile time. */
-/* #undef HOST_LINK_VERSION */
-
/* Default <path> to all compiler invocations for --sysroot=<path>. */
/* #undef DEFAULT_SYSROOT */
/* Directory where gcc is installed. */
#define GCC_INSTALL_PREFIX ""
+/* Define if we have libxml2 */
+/* #undef CLANG_HAVE_LIBXML */
+
+#define PACKAGE_STRING "LLVM 3.6.0"
+
+/* The LLVM product name and version */
+#define BACKEND_PACKAGE_STRING PACKAGE_STRING
+
+/* Linker version detected at compile time. */
+/* #undef HOST_LINK_VERSION */
+
#endif
diff --git a/lib/clang/include/clang/Driver/CC1AsOptions.inc b/lib/clang/include/clang/Driver/CC1AsOptions.inc
deleted file mode 100644
index 3d76958..0000000
--- a/lib/clang/include/clang/Driver/CC1AsOptions.inc
+++ /dev/null
@@ -1,2 +0,0 @@
-/* $FreeBSD$ */
-#include "CC1AsOptions.inc.h"
diff --git a/lib/clang/include/clang/Lex/AttrSpellings.inc b/lib/clang/include/clang/Lex/AttrSpellings.inc
deleted file mode 100644
index 8859ae3..0000000
--- a/lib/clang/include/clang/Lex/AttrSpellings.inc
+++ /dev/null
@@ -1,2 +0,0 @@
-/* $FreeBSD$ */
-#include "AttrSpellings.inc.h"
diff --git a/lib/clang/include/clang/Parse/AttrIdentifierArg.inc b/lib/clang/include/clang/Parse/AttrIdentifierArg.inc
deleted file mode 100644
index 2969a50..0000000
--- a/lib/clang/include/clang/Parse/AttrIdentifierArg.inc
+++ /dev/null
@@ -1,2 +0,0 @@
-/* $FreeBSD$ */
-#include "AttrIdentifierArg.inc.h"
diff --git a/lib/clang/include/clang/Parse/AttrLateParsed.inc b/lib/clang/include/clang/Parse/AttrLateParsed.inc
deleted file mode 100644
index 1282d9e..0000000
--- a/lib/clang/include/clang/Parse/AttrLateParsed.inc
+++ /dev/null
@@ -1,2 +0,0 @@
-/* $FreeBSD$ */
-#include "AttrLateParsed.inc.h"
diff --git a/lib/clang/include/clang/Parse/AttrParserStringSwitches.inc b/lib/clang/include/clang/Parse/AttrParserStringSwitches.inc
new file mode 100644
index 0000000..ef8642c
--- /dev/null
+++ b/lib/clang/include/clang/Parse/AttrParserStringSwitches.inc
@@ -0,0 +1,2 @@
+/* $FreeBSD$ */
+#include "AttrParserStringSwitches.inc.h"
diff --git a/lib/clang/include/clang/Parse/AttrTypeArg.inc b/lib/clang/include/clang/Parse/AttrTypeArg.inc
deleted file mode 100644
index 8eb4699..0000000
--- a/lib/clang/include/clang/Parse/AttrTypeArg.inc
+++ /dev/null
@@ -1,2 +0,0 @@
-/* $FreeBSD$ */
-#include "AttrTypeArg.inc.h"
diff --git a/lib/clang/include/llvm/Config/AsmParsers.def b/lib/clang/include/llvm/Config/AsmParsers.def
index e0165f0..3be6e38 100644
--- a/lib/clang/include/llvm/Config/AsmParsers.def
+++ b/lib/clang/include/llvm/Config/AsmParsers.def
@@ -1,5 +1,6 @@
/* $FreeBSD$ */
+LLVM_ASM_PARSER(AArch64)
LLVM_ASM_PARSER(ARM)
LLVM_ASM_PARSER(Mips)
LLVM_ASM_PARSER(PowerPC)
diff --git a/lib/clang/include/llvm/Config/AsmPrinters.def b/lib/clang/include/llvm/Config/AsmPrinters.def
index 97ca952..9ed0217 100644
--- a/lib/clang/include/llvm/Config/AsmPrinters.def
+++ b/lib/clang/include/llvm/Config/AsmPrinters.def
@@ -1,5 +1,6 @@
/* $FreeBSD$ */
+LLVM_ASM_PRINTER(AArch64)
LLVM_ASM_PRINTER(ARM)
LLVM_ASM_PRINTER(Mips)
LLVM_ASM_PRINTER(PowerPC)
diff --git a/lib/clang/include/llvm/Config/Disassemblers.def b/lib/clang/include/llvm/Config/Disassemblers.def
index 25406a4..44fc7ef 100644
--- a/lib/clang/include/llvm/Config/Disassemblers.def
+++ b/lib/clang/include/llvm/Config/Disassemblers.def
@@ -1,7 +1,9 @@
/* $FreeBSD$ */
+LLVM_DISASSEMBLER(AArch64)
LLVM_DISASSEMBLER(ARM)
LLVM_DISASSEMBLER(Mips)
+LLVM_DISASSEMBLER(PowerPC)
LLVM_DISASSEMBLER(Sparc)
LLVM_DISASSEMBLER(X86)
diff --git a/lib/clang/include/llvm/Config/Targets.def b/lib/clang/include/llvm/Config/Targets.def
index e51e06a..96b60d9 100644
--- a/lib/clang/include/llvm/Config/Targets.def
+++ b/lib/clang/include/llvm/Config/Targets.def
@@ -1,5 +1,6 @@
/* $FreeBSD$ */
+LLVM_TARGET(AArch64)
LLVM_TARGET(ARM)
LLVM_TARGET(Mips)
LLVM_TARGET(PowerPC)
diff --git a/lib/clang/include/llvm/Config/config.h b/lib/clang/include/llvm/Config/config.h
index ce32c50..3fc38be 100644
--- a/lib/clang/include/llvm/Config/config.h
+++ b/lib/clang/include/llvm/Config/config.h
@@ -14,6 +14,9 @@
/* Define if we have libxml2 */
/* #undef CLANG_HAVE_LIBXML */
+/* Multilib suffix for libdir. */
+/* #undef CLANG_LIBDIR_SUFFIX */
+
/* Relative directory for resource files */
#define CLANG_RESOURCE_DIR ""
@@ -38,39 +41,12 @@
/* Directory where gcc is installed. */
#define GCC_INSTALL_PREFIX ""
-/* Define to 1 if you have the `arc4random' function. */
-#define HAVE_ARC4RANDOM 1
-
-/* Define to 1 if you have the `argz_append' function. */
-/* #undef HAVE_ARGZ_APPEND */
-
-/* Define to 1 if you have the `argz_create_sep' function. */
-/* #undef HAVE_ARGZ_CREATE_SEP */
-
-/* Define to 1 if you have the <argz.h> header file. */
-/* #undef HAVE_ARGZ_H */
-
-/* Define to 1 if you have the `argz_insert' function. */
-/* #undef HAVE_ARGZ_INSERT */
-
-/* Define to 1 if you have the `argz_next' function. */
-/* #undef HAVE_ARGZ_NEXT */
-
-/* Define to 1 if you have the `argz_stringify' function. */
-/* #undef HAVE_ARGZ_STRINGIFY */
-
/* Define to 1 if you have the `backtrace' function. */
/* #undef HAVE_BACKTRACE */
/* Define to 1 if you have the `ceilf' function. */
#define HAVE_CEILF 1
-/* Define if the neat program is available */
-/* #undef HAVE_CIRCO */
-
-/* Define to 1 if you have the `closedir' function. */
-#define HAVE_CLOSEDIR 1
-
/* Define to 1 if you have the <CrashReporterClient.h> header file. */
/* #undef HAVE_CRASHREPORTERCLIENT_H */
@@ -80,6 +56,10 @@
/* Define to 1 if you have the <cxxabi.h> header file. */
#define HAVE_CXXABI_H 1
+/* Define to 1 if you have the declaration of `arc4random', and to 0 if you
+ don't. */
+#define HAVE_DECL_ARC4RANDOM 1
+
/* Define to 1 if you have the declaration of `FE_ALL_EXCEPT', and to 0 if you
don't. */
#define HAVE_DECL_FE_ALL_EXCEPT 1
@@ -96,12 +76,6 @@
*/
#define HAVE_DIRENT_H 1
-/* Define if you have the GNU dld library. */
-/* #undef HAVE_DLD */
-
-/* Define to 1 if you have the `dlerror' function. */
-#define HAVE_DLERROR 1
-
/* Define to 1 if you have the <dlfcn.h> header file. */
#define HAVE_DLFCN_H 1
@@ -111,20 +85,13 @@
/* Define if the dot program is available */
/* #undef HAVE_DOT */
-/* Define if the dotty program is available */
-/* #undef HAVE_DOTTY */
-
-/* Define if you have the _dyld_func_lookup function. */
-/* #undef HAVE_DYLD */
-
/* Define to 1 if you have the <errno.h> header file. */
#define HAVE_ERRNO_H 1
-/* Define to 1 if the system has the type `error_t'. */
-/* #undef HAVE_ERROR_T */
-
/* Define to 1 if you have the <execinfo.h> header file. */
-/* #undef HAVE_EXECINFO_H */
+#if __FreeBSD_version >= 1000052
+#define HAVE_EXECINFO_H 1
+#endif
/* Define to 1 if you have the `exp' function. */
#define HAVE_EXP 1
@@ -135,9 +102,6 @@
/* Define to 1 if you have the <fcntl.h> header file. */
#define HAVE_FCNTL_H 1
-/* Define if the neat program is available */
-/* #undef HAVE_FDP */
-
/* Define to 1 if you have the <fenv.h> header file. */
#define HAVE_FENV_H 1
@@ -160,7 +124,9 @@
#define HAVE_FMODF 1
/* Define to 1 if you have the `futimens' function. */
-/* #undef HAVE_FUTIMENS */
+#if __FreeBSD_version >= 1100056
+#define HAVE_FUTIMENS 1
+#endif
/* Define to 1 if you have the `futimes' function. */
#define HAVE_FUTIMES 1
@@ -180,12 +146,6 @@
/* Define to 1 if you have the `gettimeofday' function. */
#define HAVE_GETTIMEOFDAY 1
-/* Define if the Graphviz program is available */
-/* #undef HAVE_GRAPHVIZ */
-
-/* Define if the gv program is available */
-/* #undef HAVE_GV */
-
/* Define to 1 if the system has the type `int64_t'. */
#define HAVE_INT64_T 1
@@ -207,8 +167,8 @@
/* Set to 1 if the isnan function is found in <math.h> */
#define HAVE_ISNAN_IN_MATH_H 1
-/* Define if you have the libdl library or equivalent. */
-#define HAVE_LIBDL 1
+/* Define if libedit is available on this platform. */
+#define HAVE_LIBEDIT 1
/* Define to 1 if you have the `imagehlp' library (-limagehlp). */
/* #undef HAVE_LIBIMAGEHLP */
@@ -225,9 +185,6 @@
/* Define to 1 if you have the `shell32' library (-lshell32). */
/* #undef HAVE_LIBSHELL32 */
-/* Define to 1 if you have the `udis86' library (-ludis86). */
-/* #undef HAVE_LIBUDIS86 */
-
/* Define to 1 if you have the `z' library (-lz). */
#define HAVE_LIBZ 1
@@ -258,9 +215,6 @@
/* Define to 1 if you have the <mach/mach.h> header file. */
/* #undef HAVE_MACH_MACH_H */
-/* Define to 1 if you have the <mach-o/dyld.h> header file. */
-/* #undef HAVE_MACH_O_DYLD_H */
-
/* Define if mallinfo() is available on this platform. */
/* #undef HAVE_MALLINFO */
@@ -301,12 +255,6 @@
/* Define to 1 if you have the `nearbyintf' function. */
#define HAVE_NEARBYINTF 1
-/* Define if the neat program is available */
-/* #undef HAVE_NEATO */
-
-/* Define to 1 if you have the `opendir' function. */
-#define HAVE_OPENDIR 1
-
/* Define to 1 if you have the `posix_spawn' function. */
/* #undef HAVE_POSIX_SPAWN */
@@ -316,9 +264,6 @@
/* Define to 1 if you have the `pread' function. */
#define HAVE_PREAD 1
-/* Define if libtool can extract symbol lists from object files. */
-#define HAVE_PRELOADED_SYMBOLS 1
-
/* Define to have the %a format string */
#define HAVE_PRINTF_A 1
@@ -337,9 +282,6 @@
/* Define to 1 if srand48/lrand48/drand48 exist in <stdlib.h> */
#define HAVE_RAND48 1
-/* Define to 1 if you have the `readdir' function. */
-#define HAVE_READDIR 1
-
/* Define to 1 if you have the `realpath' function. */
#define HAVE_REALPATH 1
@@ -367,9 +309,6 @@
/* Define to 1 if you have the `setrlimit' function. */
#define HAVE_SETRLIMIT 1
-/* Define if you have the shl_load function. */
-/* #undef HAVE_SHL_LOAD */
-
/* Define to 1 if you have the `siglongjmp' function. */
#define HAVE_SIGLONGJMP 1
@@ -456,9 +395,6 @@
/* Define to 1 if you have the <termios.h> header file. */
#define HAVE_TERMIOS_H 1
-/* Define if the neat program is available */
-/* #undef HAVE_TWOPI */
-
/* Define to 1 if the system has the type `uint64_t'. */
#define HAVE_UINT64_T 1
@@ -477,9 +413,6 @@
/* Define to 1 if you have the `writev' function. */
#define HAVE_WRITEV 1
-/* Define if the xdot program is available */
-/* #undef HAVE_XDOT */
-
/* Define to 1 if you have the <zlib.h> header file. */
#define HAVE_ZLIB_H 1
@@ -603,33 +536,9 @@
/* Define if this is Win32ish platform */
/* #undef LLVM_ON_WIN32 */
-/* Define to path to circo program if found or 'echo circo' otherwise */
-/* #undef LLVM_PATH_CIRCO */
-
/* Define to path to dot program if found or 'echo dot' otherwise */
/* #undef LLVM_PATH_DOT */
-/* Define to path to dotty program if found or 'echo dotty' otherwise */
-/* #undef LLVM_PATH_DOTTY */
-
-/* Define to path to fdp program if found or 'echo fdp' otherwise */
-/* #undef LLVM_PATH_FDP */
-
-/* Define to path to Graphviz program if found or 'echo Graphviz' otherwise */
-/* #undef LLVM_PATH_GRAPHVIZ */
-
-/* Define to path to gv program if found or 'echo gv' otherwise */
-/* #undef LLVM_PATH_GV */
-
-/* Define to path to neato program if found or 'echo neato' otherwise */
-/* #undef LLVM_PATH_NEATO */
-
-/* Define to path to twopi program if found or 'echo twopi' otherwise */
-/* #undef LLVM_PATH_TWOPI */
-
-/* Define to path to xdot program if found or 'echo xdot' otherwise */
-/* #undef LLVM_PATH_XDOT */
-
/* Installation prefix directory */
#define LLVM_PREFIX "/usr"
@@ -643,45 +552,35 @@
#define LLVM_VERSION_MAJOR 3
/* Minor version of the LLVM API */
-#define LLVM_VERSION_MINOR 4
+#define LLVM_VERSION_MINOR 6
/* Patch version of the LLVM API */
-#define LLVM_VERSION_PATCH 1
-
-/* Define if the OS needs help to load dependent libraries for dlopen(). */
-#define LTDL_DLOPEN_DEPLIBS 1
+#define LLVM_VERSION_PATCH 0
-/* Define to the sub-directory in which libtool stores uninstalled libraries.
- */
-#define LTDL_OBJDIR ".libs/"
+/* LLVM version string */
+#define LLVM_VERSION_STRING "3.6.0"
-/* Define to the extension used for shared libraries, say, ".so". */
+/* The shared library extension */
#define LTDL_SHLIB_EXT ".so"
-/* Define to the system default library search path. */
-#define LTDL_SYSSEARCHPATH "/lib:/usr/lib"
-
/* Define if /dev/zero should be used when mapping RWX memory, or undefine if
its not necessary */
/* #undef NEED_DEV_ZERO_FOR_MMAP */
-/* Define if dlsym() requires a leading underscore in symbol names. */
-/* #undef NEED_USCORE */
-
/* Define to the address where bug reports for this package should be sent. */
-#define PACKAGE_BUGREPORT "http://llvm.org/bugs/"
+#define PACKAGE_BUGREPORT "https://bugs.freebsd.org/submit/"
/* Define to the full name of this package. */
#define PACKAGE_NAME "LLVM"
/* Define to the full name and version of this package. */
-#define PACKAGE_STRING "LLVM 3.4.1"
+#define PACKAGE_STRING "LLVM 3.6.0"
/* Define to the one symbol short name of this package. */
#define PACKAGE_TARNAME "llvm"
/* Define to the version of this package. */
-#define PACKAGE_VERSION "3.4.1"
+#define PACKAGE_VERSION "3.6.0"
/* Define as the return type of signal handlers (`int' or `void'). */
#define RETSIGTYPE void
@@ -698,18 +597,9 @@
/* Define to 1 if your <sys/time.h> declares `struct tm'. */
/* #undef TM_IN_SYS_TIME */
-/* Define if use udis86 library */
-#define USE_UDIS86 0
-
/* Type of 1st arg on ELM Callback */
/* #undef WIN32_ELMCB_PCSTR */
-/* Define to empty if `const' does not conform to ANSI C. */
-/* #undef const */
-
-/* Define to a type to use for `error_t' if it is not otherwise available. */
-#define error_t int
-
/* Define to `int' if <sys/types.h> does not define. */
/* #undef pid_t */
diff --git a/lib/clang/include/llvm/Config/llvm-config.h b/lib/clang/include/llvm/Config/llvm-config.h
index 1717863..ba95263 100644
--- a/lib/clang/include/llvm/Config/llvm-config.h
+++ b/lib/clang/include/llvm/Config/llvm-config.h
@@ -1,6 +1,6 @@
/* $FreeBSD$ */
/* include/llvm/Config/llvm-config.h. Generated from llvm-config.h.in by configure. */
-/*===-- llvm/config/llvm-config.h - llvm configure variable -------*- C -*-===*/
+/*===------- llvm/Config/llvm-config.h - llvm configuration -------*- C -*-===*/
/* */
/* The LLVM Compiler Infrastructure */
/* */
@@ -9,14 +9,12 @@
/* */
/*===----------------------------------------------------------------------===*/
-/* This file enumerates all of the llvm variables from configure so that
- they can be in exported headers and won't override package specific
- directives. This is a C file so we can include it in the llvm-c headers. */
+/* This file enumerates variables from the LLVM configuration so that they
+ can be in exported headers and won't override package specific directives.
+ This is a C header that can be included in the llvm-c headers. */
-/* To avoid multiple inclusions of these variables when we include the exported
- headers and config.h, conditionally include these. */
-/* TODO: This is a bit of a hack. */
-#ifndef CONFIG_H
+#ifndef LLVM_CONFIG_H
+#define LLVM_CONFIG_H
/* Installation directory for binary executables */
/* #undef LLVM_BINDIR */
@@ -81,33 +79,6 @@
/* Define if this is Win32ish platform */
/* #undef LLVM_ON_WIN32 */
-/* Define to path to circo program if found or 'echo circo' otherwise */
-/* #undef LLVM_PATH_CIRCO */
-
-/* Define to path to dot program if found or 'echo dot' otherwise */
-/* #undef LLVM_PATH_DOT */
-
-/* Define to path to dotty program if found or 'echo dotty' otherwise */
-/* #undef LLVM_PATH_DOTTY */
-
-/* Define to path to fdp program if found or 'echo fdp' otherwise */
-/* #undef LLVM_PATH_FDP */
-
-/* Define to path to Graphviz program if found or 'echo Graphviz' otherwise */
-/* #undef LLVM_PATH_GRAPHVIZ */
-
-/* Define to path to gv program if found or 'echo gv' otherwise */
-/* #undef LLVM_PATH_GV */
-
-/* Define to path to neato program if found or 'echo neato' otherwise */
-/* #undef LLVM_PATH_NEATO */
-
-/* Define to path to twopi program if found or 'echo twopi' otherwise */
-/* #undef LLVM_PATH_TWOPI */
-
-/* Define to path to xdot.py program if found or 'echo xdot.py' otherwise */
-/* #undef LLVM_PATH_XDOT_PY */
-
/* Installation prefix directory */
#define LLVM_PREFIX "/usr"
@@ -121,6 +92,12 @@
#define LLVM_VERSION_MAJOR 3
/* Minor version of the LLVM API */
-#define LLVM_VERSION_MINOR 4
+#define LLVM_VERSION_MINOR 6
+
+/* Patch version of the LLVM API */
+#define LLVM_VERSION_PATCH 0
+
+/* LLVM version string */
+#define LLVM_VERSION_STRING "3.6.0"
#endif
diff --git a/lib/clang/include/llvm/Support/DataTypes.h b/lib/clang/include/llvm/Support/DataTypes.h
index d0fdb7c..6f95bc4 100644
--- a/lib/clang/include/llvm/Support/DataTypes.h
+++ b/lib/clang/include/llvm/Support/DataTypes.h
@@ -1,6 +1,6 @@
/* $FreeBSD$ */
/* include/llvm/Support/DataTypes.h. Generated from DataTypes.h.in by configure. */
-/*===-- include/System/DataTypes.h - Define fixed size types -----*- C -*-===*\
+/*===-- include/Support/DataTypes.h - Define fixed size types -----*- C -*-===*\
|* *|
|* The LLVM Compiler Infrastructure *|
|* *|
@@ -23,10 +23,11 @@
/* Please leave this file C-compatible. */
+/* Please keep this file in sync with DataTypes.h.cmake */
+
#ifndef SUPPORT_DATATYPES_H
#define SUPPORT_DATATYPES_H
-#define HAVE_SYS_TYPES_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UINT64_T 1
@@ -38,31 +39,33 @@
#include <math.h>
#endif
+#ifdef HAVE_INTTYPES_H
+#include <inttypes.h>
+#endif
+
+#ifdef HAVE_STDINT_H
+#include <stdint.h>
+#else
+#error "Compiler must provide an implementation of stdint.h"
+#endif
+
+#ifndef _MSC_VER
+
/* Note that this header's correct operation depends on __STDC_LIMIT_MACROS
being defined. We would define it here, but in order to prevent Bad Things
happening when system headers or C++ STL headers include stdint.h before we
define it here, we define it on the g++ command line (in Makefile.rules). */
#if !defined(__STDC_LIMIT_MACROS)
-# error "Must #define __STDC_LIMIT_MACROS before #including System/DataTypes.h"
+# error "Must #define __STDC_LIMIT_MACROS before #including Support/DataTypes.h"
#endif
#if !defined(__STDC_CONSTANT_MACROS)
# error "Must #define __STDC_CONSTANT_MACROS before " \
- "#including System/DataTypes.h"
+ "#including Support/DataTypes.h"
#endif
/* Note that <inttypes.h> includes <stdint.h>, if this is a C99 system. */
-#ifdef HAVE_SYS_TYPES_H
#include <sys/types.h>
-#endif
-
-#ifdef HAVE_INTTYPES_H
-#include <inttypes.h>
-#endif
-
-#ifdef HAVE_STDINT_H
-#include <stdint.h>
-#endif
#ifdef _AIX
#include "llvm/Support/AIXDataTypesFix.h"
@@ -77,18 +80,33 @@ typedef u_int64_t uint64_t;
#endif
#endif
-#ifdef _OpenBSD_
-#define INT8_MAX 127
-#define INT8_MIN -128
-#define UINT8_MAX 255
-#define INT16_MAX 32767
-#define INT16_MIN -32768
-#define UINT16_MAX 65535
-#define INT32_MAX 2147483647
-#define INT32_MIN -2147483648
-#define UINT32_MAX 4294967295U
+#else /* _MSC_VER */
+#include <stdlib.h>
+#include <stddef.h>
+#include <sys/types.h>
+#ifdef __cplusplus
+#include <cmath>
+#else
+#include <math.h>
#endif
+#if defined(_WIN64)
+typedef signed __int64 ssize_t;
+#else
+typedef signed int ssize_t;
+#endif /* _WIN64 */
+
+#ifndef HAVE_INTTYPES_H
+#define PRId64 "I64d"
+#define PRIi64 "I64i"
+#define PRIo64 "I64o"
+#define PRIu64 "I64u"
+#define PRIx64 "I64x"
+#define PRIX64 "I64X"
+#endif /* HAVE_INTTYPES_H */
+
+#endif /* _MSC_VER */
+
/* Set defaults for constants which we cannot find. */
#if !defined(INT64_MAX)
# define INT64_MAX 9223372036854775807LL
@@ -100,12 +118,6 @@ typedef u_int64_t uint64_t;
# define UINT64_MAX 0xffffffffffffffffULL
#endif
-#if __GNUC__ > 3
-#define END_WITH_NULL __attribute__((sentinel))
-#else
-#define END_WITH_NULL
-#endif
-
#ifndef HUGE_VALF
#define HUGE_VALF (float)HUGE_VAL
#endif
diff --git a/lib/clang/libclanganalysis/Makefile b/lib/clang/libclanganalysis/Makefile
index f71b689..6a34dca 100644
--- a/lib/clang/libclanganalysis/Makefile
+++ b/lib/clang/libclanganalysis/Makefile
@@ -12,6 +12,7 @@ SRCS= AnalysisDeclContext.cpp \
CFGStmtMap.cpp \
CallGraph.cpp \
CocoaConventions.cpp \
+ CodeInjector.cpp \
Consumed.cpp \
Dominators.cpp \
FormatString.cpp \
@@ -24,9 +25,13 @@ SRCS= AnalysisDeclContext.cpp \
ReachableCode.cpp \
ScanfFormatString.cpp \
ThreadSafety.cpp \
+ ThreadSafetyCommon.cpp \
+ ThreadSafetyLogical.cpp \
+ ThreadSafetyTIL.cpp \
UninitializedValues.cpp
TGHDRS= AttrList \
+ AttrVisitor \
Attrs \
CommentCommandList \
CommentNodes \
diff --git a/lib/clang/libclangarcmigrate/Makefile b/lib/clang/libclangarcmigrate/Makefile
index 1604a50..a6b06c4 100644
--- a/lib/clang/libclangarcmigrate/Makefile
+++ b/lib/clang/libclangarcmigrate/Makefile
@@ -28,6 +28,7 @@ SRCS= ARCMT.cpp \
TGHDRS= AttrList \
AttrParsedAttrList \
+ AttrVisitor \
Attrs \
CommentCommandList \
CommentNodes \
diff --git a/lib/clang/libclangast/Makefile b/lib/clang/libclangast/Makefile
index 71cd684..a3f00aa 100644
--- a/lib/clang/libclangast/Makefile
+++ b/lib/clang/libclangast/Makefile
@@ -39,7 +39,6 @@ SRCS= APValue.cpp \
ItaniumCXXABI.cpp \
ItaniumMangle.cpp \
Mangle.cpp \
- MangleNumberingContext.cpp \
MicrosoftCXXABI.cpp \
MicrosoftMangle.cpp \
NSAPI.cpp \
@@ -65,6 +64,7 @@ SRCS= APValue.cpp \
TGHDRS= AttrDump \
AttrImpl \
AttrList \
+ AttrVisitor \
Attrs \
CommentCommandInfo \
CommentCommandList \
@@ -76,6 +76,7 @@ TGHDRS= AttrDump \
DiagnosticASTKinds \
DiagnosticCommentKinds \
DiagnosticCommonKinds \
+ DiagnosticFrontendKinds \
DiagnosticSemaKinds \
StmtNodes
diff --git a/lib/clang/libclangbasic/Makefile b/lib/clang/libclangbasic/Makefile
index 16bae4c..6a5791c 100644
--- a/lib/clang/libclangbasic/Makefile
+++ b/lib/clang/libclangbasic/Makefile
@@ -5,7 +5,8 @@
LIB= clangbasic
SRCDIR= tools/clang/lib/Basic
-SRCS= Builtins.cpp \
+SRCS= Attributes.cpp \
+ Builtins.cpp \
CharInfo.cpp \
Diagnostic.cpp \
DiagnosticIDs.cpp \
@@ -17,15 +18,20 @@ SRCS= Builtins.cpp \
ObjCRuntime.cpp \
OpenMPKinds.cpp \
OperatorPrecedence.cpp \
+ SanitizerBlacklist.cpp \
+ Sanitizers.cpp \
SourceLocation.cpp \
SourceManager.cpp \
TargetInfo.cpp \
Targets.cpp \
TokenKinds.cpp \
Version.cpp \
- VersionTuple.cpp
+ VersionTuple.cpp \
+ VirtualFileSystem.cpp \
+ Warnings.cpp
-TGHDRS= DiagnosticAnalysisKinds \
+TGHDRS= AttrHasAttributeImpl \
+ DiagnosticAnalysisKinds \
DiagnosticASTKinds \
DiagnosticCommentKinds \
DiagnosticCommonKinds \
diff --git a/lib/clang/libclangcodegen/Makefile b/lib/clang/libclangcodegen/Makefile
index 3b45f6b..521a430 100644
--- a/lib/clang/libclangcodegen/Makefile
+++ b/lib/clang/libclangcodegen/Makefile
@@ -26,29 +26,35 @@ SRCS= BackendUtil.cpp \
CGExprComplex.cpp \
CGExprConstant.cpp \
CGExprScalar.cpp \
+ CGLoopInfo.cpp \
CGObjC.cpp \
CGObjCGNU.cpp \
CGObjCMac.cpp \
CGObjCRuntime.cpp \
CGOpenCLRuntime.cpp \
- CGRTTI.cpp \
+ CGOpenMPRuntime.cpp \
CGRecordLayoutBuilder.cpp \
CGStmt.cpp \
+ CGStmtOpenMP.cpp \
CGVTT.cpp \
CGVTables.cpp \
CodeGenABITypes.cpp \
CodeGenAction.cpp \
CodeGenFunction.cpp \
CodeGenModule.cpp \
+ CodeGenPGO.cpp \
CodeGenTBAA.cpp \
CodeGenTypes.cpp \
+ CoverageMappingGen.cpp \
ItaniumCXXABI.cpp \
MicrosoftCXXABI.cpp \
- MicrosoftVBTables.cpp \
ModuleBuilder.cpp \
+ SanitizerMetadata.cpp \
TargetInfo.cpp
TGHDRS= AttrList \
+ AttrParsedAttrList \
+ AttrVisitor \
Attrs \
CommentCommandList \
CommentNodes \
diff --git a/lib/clang/libclangdriver/Makefile b/lib/clang/libclangdriver/Makefile
index 91a8f61..aa51384 100644
--- a/lib/clang/libclangdriver/Makefile
+++ b/lib/clang/libclangdriver/Makefile
@@ -6,22 +6,22 @@ LIB= clangdriver
SRCDIR= tools/clang/lib/Driver
SRCS= Action.cpp \
- CC1AsOptions.cpp \
Compilation.cpp \
+ CrossWindowsToolChain.cpp \
Driver.cpp \
DriverOptions.cpp \
Job.cpp \
+ MSVCToolChain.cpp \
+ Multilib.cpp \
Phases.cpp \
SanitizerArgs.cpp \
Tool.cpp \
ToolChain.cpp \
ToolChains.cpp \
Tools.cpp \
- Types.cpp \
- WindowsToolChain.cpp
+ Types.cpp
-TGHDRS= CC1AsOptions \
- DiagnosticCommonKinds \
+TGHDRS= DiagnosticCommonKinds \
DiagnosticDriverKinds \
DiagnosticSemaKinds \
Options
diff --git a/lib/clang/libclangfrontend/Makefile b/lib/clang/libclangfrontend/Makefile
index 4ea3556..95b8fc8 100644
--- a/lib/clang/libclangfrontend/Makefile
+++ b/lib/clang/libclangfrontend/Makefile
@@ -11,6 +11,7 @@ SRCS= ASTConsumers.cpp \
CacheTokens.cpp \
ChainedDiagnosticConsumer.cpp \
ChainedIncludesSource.cpp \
+ CodeGenOptions.cpp \
CompilerInstance.cpp \
CompilerInvocation.cpp \
CreateInvocationFromCommandLine.cpp \
@@ -26,17 +27,19 @@ SRCS= ASTConsumers.cpp \
LangStandards.cpp \
LayoutOverrideSource.cpp \
LogDiagnosticPrinter.cpp \
+ ModuleDependencyCollector.cpp \
MultiplexConsumer.cpp \
PrintPreprocessedOutput.cpp \
SerializedDiagnosticPrinter.cpp \
+ SerializedDiagnosticReader.cpp \
TextDiagnostic.cpp \
TextDiagnosticBuffer.cpp \
TextDiagnosticPrinter.cpp \
- VerifyDiagnosticConsumer.cpp \
- Warnings.cpp
+ VerifyDiagnosticConsumer.cpp
TGHDRS= AttrList \
AttrParsedAttrList \
+ AttrVisitor \
Attrs \
CommentCommandList \
CommentNodes \
diff --git a/lib/clang/libclangfrontendtool/Makefile b/lib/clang/libclangfrontendtool/Makefile
index f20aa35..0d71d55 100644
--- a/lib/clang/libclangfrontendtool/Makefile
+++ b/lib/clang/libclangfrontendtool/Makefile
@@ -7,8 +7,11 @@ LIB= clangfrontendtool
SRCDIR= tools/clang/lib/FrontendTool
SRCS= ExecuteCompilerInvocation.cpp
-TGHDRS= DiagnosticCommonKinds \
+TGHDRS= CommentCommandList \
+ DeclNodes \
+ DiagnosticCommonKinds \
DiagnosticFrontendKinds \
- Options
+ Options \
+ StmtNodes
.include "../clang.lib.mk"
diff --git a/lib/clang/libclanglex/Makefile b/lib/clang/libclanglex/Makefile
index 3a2873f..90b1fca 100644
--- a/lib/clang/libclanglex/Makefile
+++ b/lib/clang/libclanglex/Makefile
@@ -28,7 +28,7 @@ SRCS= HeaderMap.cpp \
TokenConcatenation.cpp \
TokenLexer.cpp
-TGHDRS= AttrSpellings \
+TGHDRS= AttrSpellingListIndex \
DiagnosticCommonKinds \
DiagnosticLexKinds
diff --git a/lib/clang/libclangparse/Makefile b/lib/clang/libclangparse/Makefile
index b204d87..e690d66 100644
--- a/lib/clang/libclangparse/Makefile
+++ b/lib/clang/libclangparse/Makefile
@@ -16,15 +16,14 @@ SRCS= ParseAST.cpp \
ParseOpenMP.cpp \
ParsePragma.cpp \
ParseStmt.cpp \
+ ParseStmtAsm.cpp \
ParseTemplate.cpp \
ParseTentative.cpp \
Parser.cpp
-TGHDRS= AttrIdentifierArg \
- AttrLateParsed \
- AttrList \
+TGHDRS= AttrList \
AttrParsedAttrList \
- AttrTypeArg \
+ AttrParserStringSwitches \
Attrs \
CommentCommandList \
CommentNodes \
diff --git a/lib/clang/libclangrewritecore/Makefile b/lib/clang/libclangrewrite/Makefile
index 80115ee..ec770c3 100644
--- a/lib/clang/libclangrewritecore/Makefile
+++ b/lib/clang/libclangrewrite/Makefile
@@ -2,9 +2,9 @@
.include <bsd.own.mk>
-LIB= clangrewritecore
+LIB= clangrewrite
-SRCDIR= tools/clang/lib/Rewrite/Core
+SRCDIR= tools/clang/lib/Rewrite
SRCS= DeltaTree.cpp \
HTMLRewrite.cpp \
RewriteRope.cpp \
diff --git a/lib/clang/libclangrewritecore/Makefile.depend b/lib/clang/libclangrewrite/Makefile.depend
index a211b19..ef170d1 100644
--- a/lib/clang/libclangrewritecore/Makefile.depend
+++ b/lib/clang/libclangrewrite/Makefile.depend
@@ -16,10 +16,6 @@ DIRDEPS = \
# local dependencies - needed for -jN in clean tree
HTMLRewrite.o: DiagnosticCommonKinds.inc.h
HTMLRewrite.po: DiagnosticCommonKinds.inc.h
-Rewriter.o: DeclNodes.inc.h
Rewriter.o: DiagnosticCommonKinds.inc.h
-Rewriter.o: StmtNodes.inc.h
-Rewriter.po: DeclNodes.inc.h
Rewriter.po: DiagnosticCommonKinds.inc.h
-Rewriter.po: StmtNodes.inc.h
.endif
diff --git a/lib/clang/libclangrewritefrontend/Makefile b/lib/clang/libclangrewritefrontend/Makefile
index 8c41669..2f614fb 100644
--- a/lib/clang/libclangrewritefrontend/Makefile
+++ b/lib/clang/libclangrewritefrontend/Makefile
@@ -4,14 +4,12 @@
LIB= clangrewritefrontend
-SRCDIR= tools/clang/lib/Rewrite/Frontend
+SRCDIR= tools/clang/lib/Frontend/Rewrite
SRCS= FixItRewriter.cpp \
FrontendActions.cpp \
HTMLPrint.cpp \
InclusionRewriter.cpp \
RewriteMacros.cpp \
- RewriteModernObjC.cpp \
- RewriteObjC.cpp \
RewriteTest.cpp
TGHDRS= AttrList \
diff --git a/lib/clang/libclangsema/Makefile b/lib/clang/libclangsema/Makefile
index 9157b46..08c120a 100644
--- a/lib/clang/libclangsema/Makefile
+++ b/lib/clang/libclangsema/Makefile
@@ -18,6 +18,7 @@ SRCS= AnalysisBasedWarnings.cpp \
Sema.cpp \
SemaAccess.cpp \
SemaAttr.cpp \
+ SemaCUDA.cpp \
SemaCXXScopeSpec.cpp \
SemaCast.cpp \
SemaChecking.cpp \
@@ -49,7 +50,6 @@ SRCS= AnalysisBasedWarnings.cpp \
SemaTemplateInstantiateDecl.cpp \
SemaTemplateVariadic.cpp \
SemaType.cpp \
- TargetAttributesSema.cpp \
TypeLocBuilder.cpp
TGHDRS= AttrList \
@@ -58,6 +58,7 @@ TGHDRS= AttrList \
AttrParsedAttrList \
AttrSpellingListIndex \
AttrTemplateInstantiate \
+ AttrVisitor \
Attrs \
CommentCommandList \
CommentNodes \
diff --git a/lib/clang/libclangstaticanalyzercheckers/Makefile b/lib/clang/libclangstaticanalyzercheckers/Makefile
index db27182..5fb1035 100644
--- a/lib/clang/libclangstaticanalyzercheckers/Makefile
+++ b/lib/clang/libclangstaticanalyzercheckers/Makefile
@@ -33,7 +33,6 @@ SRCS= AllocationDiagnostics.cpp \
ExprInspectionChecker.cpp \
FixedAddressChecker.cpp \
GenericTaintChecker.cpp \
- IdempotentOperationChecker.cpp \
IdenticalExprChecker.cpp \
IvarInvalidationChecker.cpp \
LLVMConventionsChecker.cpp \
@@ -62,6 +61,7 @@ SRCS= AllocationDiagnostics.cpp \
StackAddrEscapeChecker.cpp \
StreamChecker.cpp \
TaintTesterChecker.cpp \
+ TestAfterDivZeroChecker.cpp \
TraversalChecker.cpp \
UndefBranchChecker.cpp \
UndefCapturedBlockVarChecker.cpp \
@@ -74,6 +74,7 @@ SRCS= AllocationDiagnostics.cpp \
VirtualCallChecker.cpp
TGHDRS= AttrList \
+ AttrVisitor \
Attrs \
Checkers \
CommentCommandList \
diff --git a/lib/clang/libclangstaticanalyzerfrontend/Makefile b/lib/clang/libclangstaticanalyzerfrontend/Makefile
index de7b326..3975509 100644
--- a/lib/clang/libclangstaticanalyzerfrontend/Makefile
+++ b/lib/clang/libclangstaticanalyzerfrontend/Makefile
@@ -7,9 +7,13 @@ LIB= clangstaticanalyzerfrontend
SRCDIR= tools/clang/lib/StaticAnalyzer/Frontend
SRCS= AnalysisConsumer.cpp \
CheckerRegistration.cpp \
- FrontendActions.cpp
+ ModelConsumer.cpp \
+ FrontendActions.cpp \
+ ModelInjector.cpp
TGHDRS= AttrList \
+ AttrParsedAttrList \
+ AttrVisitor \
Attrs \
Checkers \
CommentCommandList \
diff --git a/lib/clang/liblldb/Makefile b/lib/clang/liblldb/Makefile
index cba14e7..1306cdf 100644
--- a/lib/clang/liblldb/Makefile
+++ b/lib/clang/liblldb/Makefile
@@ -10,7 +10,9 @@ SRCDIR= tools/lldb/source
SRCS= lldb.cpp \
lldb-log.cpp
-TGHDRS= DiagnosticCommonKinds \
+TGHDRS= AttrList \
+ Attrs \
+ DiagnosticCommonKinds \
DeclNodes \
StmtNodes \
CommentCommandList
diff --git a/lib/clang/liblldbAPI/Makefile b/lib/clang/liblldbAPI/Makefile
index d041d09..44addca 100644
--- a/lib/clang/liblldbAPI/Makefile
+++ b/lib/clang/liblldbAPI/Makefile
@@ -19,6 +19,7 @@ SRCS= SBAddress.cpp \
SBDeclaration.cpp \
SBError.cpp \
SBEvent.cpp \
+ SBExecutionContext.cpp \
SBExpressionOptions.cpp \
SBFileSpec.cpp \
SBFileSpecList.cpp \
@@ -43,19 +44,25 @@ SRCS= SBAddress.cpp \
SBSymbolContext.cpp \
SBSymbolContextList.cpp \
SBTarget.cpp \
+ SBThreadCollection.cpp \
+ SBThreadPlan.cpp \
SBThread.cpp \
SBType.cpp \
SBTypeCategory.cpp \
+ SBTypeEnumMember.cpp \
SBTypeFilter.cpp \
SBTypeFormat.cpp \
SBTypeNameSpecifier.cpp \
SBTypeSummary.cpp \
SBTypeSynthetic.cpp \
+ SBUnixSignals.cpp \
SBValue.cpp \
SBValueList.cpp \
SBWatchpoint.cpp
-TGHDRS= DiagnosticCommonKinds \
+TGHDRS= AttrList \
+ Attrs \
+ DiagnosticCommonKinds \
DeclNodes \
StmtNodes \
CommentCommandList
diff --git a/lib/clang/liblldbBreakpoint/Makefile b/lib/clang/liblldbBreakpoint/Makefile
index 396b0aa..b6885d8 100644
--- a/lib/clang/liblldbBreakpoint/Makefile
+++ b/lib/clang/liblldbBreakpoint/Makefile
@@ -27,7 +27,9 @@ SRCS= Breakpoint.cpp \
WatchpointList.cpp \
WatchpointOptions.cpp
-TGHDRS= DiagnosticCommonKinds \
+TGHDRS= AttrList \
+ Attrs \
+ DiagnosticCommonKinds \
DeclNodes \
StmtNodes \
CommentCommandList
diff --git a/lib/clang/liblldbCommands/Makefile b/lib/clang/liblldbCommands/Makefile
index f7baf83..833c8a8 100644
--- a/lib/clang/liblldbCommands/Makefile
+++ b/lib/clang/liblldbCommands/Makefile
@@ -34,7 +34,9 @@ SRCS= CommandCompletions.cpp \
CommandObjectWatchpoint.cpp \
CommandObjectWatchpointCommand.cpp
-TGHDRS= DiagnosticCommonKinds \
+TGHDRS= AttrList \
+ Attrs \
+ DiagnosticCommonKinds \
DeclNodes \
StmtNodes \
CommentCommandList
diff --git a/lib/clang/liblldbCore/Makefile b/lib/clang/liblldbCore/Makefile
index e0335f4..7d9e86b 100644
--- a/lib/clang/liblldbCore/Makefile
+++ b/lib/clang/liblldbCore/Makefile
@@ -15,7 +15,6 @@ SRCS= Address.cpp \
Broadcaster.cpp \
Communication.cpp \
Connection.cpp \
- ConnectionFileDescriptor.cpp \
ConnectionMachPort.cpp \
ConnectionSharedMemory.cpp \
ConstString.cpp \
@@ -29,6 +28,7 @@ SRCS= Address.cpp \
EmulateInstruction.cpp \
Error.cpp \
Event.cpp \
+ FastDemangle.cpp \
FileLineResolver.cpp \
FileSpecList.cpp \
History.cpp \
@@ -56,6 +56,7 @@ SRCS= Address.cpp \
StreamGDBRemote.cpp \
StreamString.cpp \
StringList.cpp \
+ StructuredData.cpp \
Timer.cpp \
UserID.cpp \
UserSettingsController.cpp \
@@ -75,7 +76,9 @@ SRCS= Address.cpp \
ValueObjectVariable.cpp \
VMRange.cpp
-TGHDRS= DiagnosticCommonKinds \
+TGHDRS= AttrList \
+ Attrs \
+ DiagnosticCommonKinds \
DeclNodes \
StmtNodes \
CommentCommandList
diff --git a/lib/clang/liblldbDataFormatters/Makefile b/lib/clang/liblldbDataFormatters/Makefile
index b224215..df34f00 100644
--- a/lib/clang/liblldbDataFormatters/Makefile
+++ b/lib/clang/liblldbDataFormatters/Makefile
@@ -13,21 +13,28 @@ SRCS= CF.cpp \
FormatClasses.cpp \
FormatManager.cpp \
LibCxx.cpp \
+ LibCxxInitializerList.cpp \
LibCxxList.cpp \
LibCxxMap.cpp \
LibCxxUnorderedMap.cpp \
+ LibCxxVector.cpp \
LibStdcpp.cpp \
NSArray.cpp \
NSDictionary.cpp \
+ NSIndexPath.cpp \
NSSet.cpp \
+ StringPrinter.cpp \
TypeCategory.cpp \
TypeCategoryMap.cpp \
TypeFormat.cpp \
TypeSummary.cpp \
TypeSynthetic.cpp \
+ TypeValidator.cpp \
ValueObjectPrinter.cpp
-TGHDRS= DiagnosticCommonKinds \
+TGHDRS= AttrList \
+ Attrs \
+ DiagnosticCommonKinds \
DeclNodes \
StmtNodes \
CommentCommandList
diff --git a/lib/clang/liblldbExpression/Makefile b/lib/clang/liblldbExpression/Makefile
index 120add5..d2d822b 100644
--- a/lib/clang/liblldbExpression/Makefile
+++ b/lib/clang/liblldbExpression/Makefile
@@ -13,6 +13,7 @@ SRCS= ASTDumper.cpp \
ClangExpressionParser.cpp \
ClangExpressionVariable.cpp \
ClangFunction.cpp \
+ ClangModulesDeclVendor.cpp \
ClangPersistentVariables.cpp \
ClangUserExpression.cpp \
ClangUtilityFunction.cpp \
diff --git a/lib/clang/liblldbHostCommon/Makefile b/lib/clang/liblldbHostCommon/Makefile
index f2022bb..af3c053 100644
--- a/lib/clang/liblldbHostCommon/Makefile
+++ b/lib/clang/liblldbHostCommon/Makefile
@@ -6,20 +6,32 @@ LIB= lldbHostCommon
SRCDIR= tools/lldb/source/Host/common
SRCS= Condition.cpp \
- DynamicLibrary.cpp \
Editline.cpp \
File.cpp \
FileSpec.cpp \
Host.cpp \
+ HostInfoBase.cpp \
+ HostNativeThreadBase.cpp \
+ HostProcess.cpp \
+ HostThread.cpp \
+ IOObject.cpp \
+ MonitoringProcessLauncher.cpp \
Mutex.cpp \
OptionParser.cpp \
+ PipeBase.cpp \
ProcessRunLock.cpp \
+ Socket.cpp \
SocketAddress.cpp \
+ SoftwareBreakpoint.cpp \
Symbols.cpp \
Terminal.cpp \
+ ThisThread.cpp \
+ ThreadLauncher.cpp \
TimeValue.cpp
-TGHDRS= DiagnosticCommonKinds \
+TGHDRS= AttrList \
+ Attrs \
+ DiagnosticCommonKinds \
DeclNodes \
StmtNodes \
CommentCommandList
diff --git a/lib/clang/liblldbHostFreeBSD/Makefile b/lib/clang/liblldbHostFreeBSD/Makefile
index e07f8ed..6ebc9b4 100644
--- a/lib/clang/liblldbHostFreeBSD/Makefile
+++ b/lib/clang/liblldbHostFreeBSD/Makefile
@@ -5,7 +5,10 @@
LIB= lldbHostFreeBSD
SRCDIR= tools/lldb/source/Host/freebsd
-SRCS= Host.cpp
+SRCS= Host.cpp \
+ HostInfoFreeBSD.cpp \
+ HostThreadFreeBSD.cpp \
+ ThisThread.cpp
TGHDRS= DiagnosticCommonKinds \
DeclNodes \
diff --git a/lib/clang/liblldbHostPOSIX/Makefile b/lib/clang/liblldbHostPOSIX/Makefile
new file mode 100644
index 0000000..6fe660a
--- /dev/null
+++ b/lib/clang/liblldbHostPOSIX/Makefile
@@ -0,0 +1,16 @@
+# $FreeBSD$
+
+.include <bsd.own.mk>
+
+LIB= lldbHostPOSIX
+
+SRCDIR= tools/lldb/source/Host/posix
+SRCS= ConnectionFileDescriptorPosix.cpp \
+ FileSystem.cpp \
+ HostInfoPosix.cpp \
+ HostProcessPosix.cpp \
+ HostThreadPosix.cpp \
+ PipePosix.cpp \
+ ProcessLauncherPosix.cpp
+
+.include "../lldb.lib.mk"
diff --git a/lib/clang/liblldbInterpreter/Makefile b/lib/clang/liblldbInterpreter/Makefile
index c560adf..f707d9b 100644
--- a/lib/clang/liblldbInterpreter/Makefile
+++ b/lib/clang/liblldbInterpreter/Makefile
@@ -11,6 +11,7 @@ SRCS= Args.cpp \
CommandObject.cpp \
CommandObjectRegexCommand.cpp \
CommandObjectScript.cpp \
+ CommandOptionValidators.cpp \
CommandReturnObject.cpp \
OptionGroupArchitecture.cpp \
OptionGroupBoolean.cpp \
@@ -27,6 +28,7 @@ SRCS= Args.cpp \
OptionValueArgs.cpp \
OptionValueArray.cpp \
OptionValueBoolean.cpp \
+ OptionValueChar.cpp \
OptionValueDictionary.cpp \
OptionValueEnumeration.cpp \
OptionValueFileSpec.cpp \
@@ -48,7 +50,9 @@ SRCS= Args.cpp \
ScriptInterpreterNone.cpp \
ScriptInterpreterPython.cpp
-TGHDRS= DiagnosticCommonKinds \
+TGHDRS= AttrList \
+ Attrs \
+ DiagnosticCommonKinds \
DeclNodes \
StmtNodes \
CommentCommandList
diff --git a/lib/clang/liblldbPluginABISysV_ppc/Makefile b/lib/clang/liblldbPluginABISysV_ppc/Makefile
new file mode 100644
index 0000000..4cbbc02
--- /dev/null
+++ b/lib/clang/liblldbPluginABISysV_ppc/Makefile
@@ -0,0 +1,15 @@
+# $FreeBSD$
+
+.include <bsd.own.mk>
+
+LIB= lldbPluginABISysV_ppc
+
+SRCDIR= tools/lldb/source/Plugins/ABI/SysV-ppc
+SRCS= ABISysV_ppc.cpp
+
+TGHDRS= DiagnosticCommonKinds \
+ DeclNodes \
+ StmtNodes \
+ CommentCommandList
+
+.include "../lldb.lib.mk"
diff --git a/lib/clang/liblldbPluginABISysV_ppc64/Makefile b/lib/clang/liblldbPluginABISysV_ppc64/Makefile
new file mode 100644
index 0000000..fe72ab5
--- /dev/null
+++ b/lib/clang/liblldbPluginABISysV_ppc64/Makefile
@@ -0,0 +1,15 @@
+# $FreeBSD$
+
+.include <bsd.own.mk>
+
+LIB= lldbPluginABISysV_ppc64
+
+SRCDIR= tools/lldb/source/Plugins/ABI/SysV-ppc64
+SRCS= ABISysV_ppc64.cpp
+
+TGHDRS= DiagnosticCommonKinds \
+ DeclNodes \
+ StmtNodes \
+ CommentCommandList
+
+.include "../lldb.lib.mk"
diff --git a/lib/clang/liblldbPluginInstructionARM64/Makefile b/lib/clang/liblldbPluginInstructionARM64/Makefile
new file mode 100644
index 0000000..92d976e
--- /dev/null
+++ b/lib/clang/liblldbPluginInstructionARM64/Makefile
@@ -0,0 +1,10 @@
+# $FreeBSD$
+
+.include <bsd.own.mk>
+
+LIB= lldbPluginInstructionARM64
+
+SRCDIR= tools/lldb/source/Plugins/Instruction/ARM64
+SRCS= EmulateInstructionARM64.cpp
+
+.include "../lldb.lib.mk"
diff --git a/lib/clang/liblldbPluginInstrumentationRuntimeAddressSanitizer/Makefile b/lib/clang/liblldbPluginInstrumentationRuntimeAddressSanitizer/Makefile
new file mode 100644
index 0000000..bb02244
--- /dev/null
+++ b/lib/clang/liblldbPluginInstrumentationRuntimeAddressSanitizer/Makefile
@@ -0,0 +1,17 @@
+# $FreeBSD$
+
+.include <bsd.own.mk>
+
+LIB= lldbPluginInstrumentationRuntimeAddressSanitizer
+
+SRCDIR= tools/lldb/source/Plugins/InstrumentationRuntime/AddressSanitizer
+SRCS= AddressSanitizerRuntime.cpp
+
+TGHDRS= AttrList \
+ Attrs \
+ DiagnosticCommonKinds \
+ DeclNodes \
+ StmtNodes \
+ CommentCommandList
+
+.include "../lldb.lib.mk"
diff --git a/lib/clang/liblldbPluginJITLoaderGDB/Makefile b/lib/clang/liblldbPluginJITLoaderGDB/Makefile
new file mode 100644
index 0000000..80e84df
--- /dev/null
+++ b/lib/clang/liblldbPluginJITLoaderGDB/Makefile
@@ -0,0 +1,15 @@
+# $FreeBSD$
+
+.include <bsd.own.mk>
+
+LIB= lldbPluginJITLoaderGDB
+
+SRCDIR= tools/lldb/source/Plugins/JITLoader/GDB
+SRCS= JITLoaderGDB.cpp
+
+TGHDRS= DiagnosticCommonKinds \
+ DeclNodes \
+ StmtNodes \
+ CommentCommandList
+
+.include "../lldb.lib.mk"
diff --git a/lib/clang/liblldbPluginMemoryHistoryASan/Makefile b/lib/clang/liblldbPluginMemoryHistoryASan/Makefile
new file mode 100644
index 0000000..ac57d6a
--- /dev/null
+++ b/lib/clang/liblldbPluginMemoryHistoryASan/Makefile
@@ -0,0 +1,15 @@
+# $FreeBSD$
+
+.include <bsd.own.mk>
+
+LIB= lldbPluginMemoryHistoryASan
+
+SRCDIR= tools/lldb/source/Plugins/MemoryHistory/asan
+SRCS= MemoryHistoryASan.cpp
+
+TGHDRS= DiagnosticCommonKinds \
+ DeclNodes \
+ StmtNodes \
+ CommentCommandList
+
+.include "../lldb.lib.mk"
diff --git a/lib/clang/liblldbPluginObjectFileJIT/Makefile b/lib/clang/liblldbPluginObjectFileJIT/Makefile
new file mode 100644
index 0000000..2640350
--- /dev/null
+++ b/lib/clang/liblldbPluginObjectFileJIT/Makefile
@@ -0,0 +1,17 @@
+# $FreeBSD$
+
+.include <bsd.own.mk>
+
+LIB= lldbPluginObjectFileJIT
+
+SRCDIR= tools/lldb/source/Plugins/ObjectFile/JIT
+SRCS= ObjectFileJIT.cpp
+
+TGHDRS= AttrList \
+ Attrs \
+ DiagnosticCommonKinds \
+ DeclNodes \
+ StmtNodes \
+ CommentCommandList
+
+.include "../lldb.lib.mk"
diff --git a/lib/clang/liblldbPluginPlatformFreeBSD/Makefile b/lib/clang/liblldbPluginPlatformFreeBSD/Makefile
index 9be7af3..c2eee8a 100644
--- a/lib/clang/liblldbPluginPlatformFreeBSD/Makefile
+++ b/lib/clang/liblldbPluginPlatformFreeBSD/Makefile
@@ -7,7 +7,9 @@ LIB= lldbPluginPlatformFreeBSD
SRCDIR= tools/lldb/source/Plugins/Platform/FreeBSD
SRCS= PlatformFreeBSD.cpp
-TGHDRS= DiagnosticCommonKinds \
+TGHDRS= AttrList \
+ Attrs \
+ DiagnosticCommonKinds \
DeclNodes \
StmtNodes \
CommentCommandList
diff --git a/lib/clang/liblldbPluginPlatformGDB/Makefile b/lib/clang/liblldbPluginPlatformGDB/Makefile
index 1d8a994..714a311 100644
--- a/lib/clang/liblldbPluginPlatformGDB/Makefile
+++ b/lib/clang/liblldbPluginPlatformGDB/Makefile
@@ -7,7 +7,9 @@ LIB= lldbPluginPlatformGDB
SRCDIR= tools/lldb/source/Plugins/Platform/gdb-server
SRCS= PlatformRemoteGDBServer.cpp
-TGHDRS= DiagnosticCommonKinds \
+TGHDRS= AttrList \
+ Attrs \
+ DiagnosticCommonKinds \
DeclNodes \
StmtNodes \
CommentCommandList
diff --git a/lib/clang/liblldbPluginProcessElfCore/Makefile b/lib/clang/liblldbPluginProcessElfCore/Makefile
index 30198b5..66852dd 100644
--- a/lib/clang/liblldbPluginProcessElfCore/Makefile
+++ b/lib/clang/liblldbPluginProcessElfCore/Makefile
@@ -11,6 +11,7 @@ SRCDIR= tools/lldb/source/Plugins/Process/elf-core
SRCS= ProcessElfCore.cpp \
ThreadElfCore.cpp \
RegisterContextPOSIXCore_mips64.cpp \
+ RegisterContextPOSIXCore_powerpc.cpp \
RegisterContextPOSIXCore_x86_64.cpp
TGHDRS= DiagnosticCommonKinds \
diff --git a/lib/clang/liblldbPluginProcessGDBRemote/Makefile b/lib/clang/liblldbPluginProcessGDBRemote/Makefile
index c76fe8a..5bbb40f 100644
--- a/lib/clang/liblldbPluginProcessGDBRemote/Makefile
+++ b/lib/clang/liblldbPluginProcessGDBRemote/Makefile
@@ -13,7 +13,9 @@ SRCS= GDBRemoteCommunication.cpp \
ProcessGDBRemoteLog.cpp \
ThreadGDBRemote.cpp
-TGHDRS= DiagnosticCommonKinds \
+TGHDRS= AttrList \
+ Attrs \
+ DiagnosticCommonKinds \
DeclNodes \
StmtNodes \
CommentCommandList
diff --git a/lib/clang/liblldbPluginProcessPOSIX/Makefile b/lib/clang/liblldbPluginProcessPOSIX/Makefile
index f681fd3..ddd902a 100644
--- a/lib/clang/liblldbPluginProcessPOSIX/Makefile
+++ b/lib/clang/liblldbPluginProcessPOSIX/Makefile
@@ -15,17 +15,14 @@ SRCS= POSIXStopInfo.cpp \
ProcessMessage.cpp \
ProcessPOSIX.cpp \
ProcessPOSIXLog.cpp \
- RegisterContextFreeBSD_i386.cpp \
- RegisterContextFreeBSD_mips64.cpp \
- RegisterContextFreeBSD_x86_64.cpp \
- RegisterContextLinux_i386.cpp \
- RegisterContextLinux_x86_64.cpp \
+ RegisterContextPOSIXProcessMonitor_arm64.cpp \
RegisterContextPOSIXProcessMonitor_mips64.cpp \
- RegisterContextPOSIXProcessMonitor_x86.cpp \
- RegisterContextPOSIX_mips64.cpp \
- RegisterContextPOSIX_x86.cpp
+ RegisterContextPOSIXProcessMonitor_powerpc.cpp \
+ RegisterContextPOSIXProcessMonitor_x86.cpp
-TGHDRS= DiagnosticCommonKinds \
+TGHDRS= AttrList \
+ Attrs \
+ DiagnosticCommonKinds \
DeclNodes \
StmtNodes \
CommentCommandList
diff --git a/lib/clang/liblldbPluginProcessUtility/Makefile b/lib/clang/liblldbPluginProcessUtility/Makefile
index 1459254..d43396f 100644
--- a/lib/clang/liblldbPluginProcessUtility/Makefile
+++ b/lib/clang/liblldbPluginProcessUtility/Makefile
@@ -6,27 +6,43 @@ LIB= lldbPluginProcessUtility
SRCDIR= tools/lldb/source/Plugins/Process/Utility
SRCS= DynamicRegisterInfo.cpp \
+ FreeBSDSignals.cpp \
HistoryThread.cpp \
HistoryUnwind.cpp \
InferiorCallPOSIX.cpp \
+ LinuxSignals.cpp \
RegisterContextDarwin_arm.cpp \
+ RegisterContextDarwin_arm64.cpp \
RegisterContextDarwin_i386.cpp \
RegisterContextDarwin_x86_64.cpp \
RegisterContextDummy.cpp \
+ RegisterContextFreeBSD_i386.cpp \
+ RegisterContextFreeBSD_mips64.cpp \
+ RegisterContextFreeBSD_powerpc.cpp \
+ RegisterContextFreeBSD_x86_64.cpp \
RegisterContextHistory.cpp \
+ RegisterContextLinux_arm64.cpp \
+ RegisterContextLinux_i386.cpp \
+ RegisterContextLinux_x86_64.cpp \
RegisterContextLLDB.cpp \
RegisterContextMach_arm.cpp \
RegisterContextMach_i386.cpp \
RegisterContextMach_x86_64.cpp \
RegisterContextMacOSXFrameBackchain.cpp \
RegisterContextMemory.cpp \
+ RegisterContextPOSIX_arm64.cpp \
+ RegisterContextPOSIX_mips64.cpp \
+ RegisterContextPOSIX_powerpc.cpp \
+ RegisterContextPOSIX_x86.cpp \
RegisterContextThreadMemory.cpp \
StopInfoMachException.cpp \
ThreadMemory.cpp \
UnwindLLDB.cpp \
UnwindMacOSXFrameBackchain.cpp
-TGHDRS= DiagnosticCommonKinds \
+TGHDRS= AttrList \
+ Attrs \
+ DiagnosticCommonKinds \
DeclNodes \
StmtNodes \
CommentCommandList
diff --git a/lib/clang/liblldbPluginSymbolFileDWARF/Makefile b/lib/clang/liblldbPluginSymbolFileDWARF/Makefile
index ac23199..5b8dbfd 100644
--- a/lib/clang/liblldbPluginSymbolFileDWARF/Makefile
+++ b/lib/clang/liblldbPluginSymbolFileDWARF/Makefile
@@ -31,7 +31,9 @@ SRCS= DWARFAbbreviationDeclaration.cpp \
SymbolFileDWARFDebugMap.cpp \
UniqueDWARFASTType.cpp
-TGHDRS= DiagnosticCommonKinds \
+TGHDRS= AttrList \
+ Attrs \
+ DiagnosticCommonKinds \
DeclNodes \
StmtNodes \
CommentCommandList \
diff --git a/lib/clang/liblldbSymbol/Makefile b/lib/clang/liblldbSymbol/Makefile
index ed22ec3..82c11ff 100644
--- a/lib/clang/liblldbSymbol/Makefile
+++ b/lib/clang/liblldbSymbol/Makefile
@@ -12,6 +12,7 @@ SRCS= Block.cpp \
ClangExternalASTSourceCallbacks.cpp \
ClangExternalASTSourceCommon.cpp \
ClangNamespaceDecl.cpp \
+ CompactUnwindInfo.cpp \
CompileUnit.cpp \
Declaration.cpp \
DWARFCallFrameInfo.cpp \
diff --git a/lib/clang/liblldbTarget/Makefile b/lib/clang/liblldbTarget/Makefile
index 2e0226d..95ced8d 100644
--- a/lib/clang/liblldbTarget/Makefile
+++ b/lib/clang/liblldbTarget/Makefile
@@ -10,13 +10,23 @@ SRCDIR= tools/lldb/source/Target
SRCS= ABI.cpp \
CPPLanguageRuntime.cpp \
ExecutionContext.cpp \
+ FileAction.cpp \
+ InstrumentationRuntime.cpp \
+ InstrumentationRuntimeStopInfo.cpp \
+ JITLoader.cpp \
+ JITLoaderList.cpp \
LanguageRuntime.cpp \
Memory.cpp \
+ MemoryHistory.cpp \
+ NativeRegisterContext.cpp \
+ NativeRegisterContextRegisterInfo.cpp \
ObjCLanguageRuntime.cpp \
OperatingSystem.cpp \
PathMappingList.cpp \
Platform.cpp \
Process.cpp \
+ ProcessInfo.cpp \
+ ProcessLaunchInfo.cpp \
Queue.cpp \
QueueItem.cpp \
QueueList.cpp \
@@ -31,11 +41,13 @@ SRCS= ABI.cpp \
Target.cpp \
TargetList.cpp \
Thread.cpp \
+ ThreadCollection.cpp \
ThreadList.cpp \
ThreadPlan.cpp \
ThreadPlanBase.cpp \
ThreadPlanCallFunction.cpp \
ThreadPlanCallUserExpression.cpp \
+ ThreadPlanPython.cpp \
ThreadPlanRunToAddress.cpp \
ThreadPlanShouldStopHere.cpp \
ThreadPlanStepInRange.cpp \
@@ -51,7 +63,9 @@ SRCS= ABI.cpp \
UnixSignals.cpp \
UnwindAssembly.cpp
-TGHDRS= DiagnosticCommonKinds \
+TGHDRS= AttrList \
+ Attrs \
+ DiagnosticCommonKinds \
DeclNodes \
StmtNodes \
CommentCommandList
diff --git a/lib/clang/liblldbUtility/Makefile b/lib/clang/liblldbUtility/Makefile
index e5723b2..13ed72d 100644
--- a/lib/clang/liblldbUtility/Makefile
+++ b/lib/clang/liblldbUtility/Makefile
@@ -5,13 +5,17 @@
LIB= lldbUtility
SRCDIR= tools/lldb/source/Utility
-SRCS= ARM_DWARF_Registers.cpp \
+SRCS= ARM64_DWARF_Registers.cpp \
+ ARM_DWARF_Registers.cpp \
KQueue.cpp \
PseudoTerminal.cpp \
Range.cpp \
+ RegisterNumber.cpp \
SharingPtr.cpp \
StringExtractor.cpp \
StringExtractorGDBRemote.cpp \
- TimeSpecTimeout.cpp
+ StringLexer.cpp \
+ TimeSpecTimeout.cpp \
+ UriParser.cpp
.include "../lldb.lib.mk"
diff --git a/lib/clang/libllvmaarch64asmparser/Makefile b/lib/clang/libllvmaarch64asmparser/Makefile
new file mode 100644
index 0000000..d93fb9a
--- /dev/null
+++ b/lib/clang/libllvmaarch64asmparser/Makefile
@@ -0,0 +1,16 @@
+# $FreeBSD$
+
+.include <bsd.own.mk>
+
+LIB= llvmaarch64asmparser
+
+SRCDIR= lib/Target/AArch64/AsmParser
+INCDIR= lib/Target/AArch64
+SRCS= AArch64AsmParser.cpp
+
+TGHDRS= AArch64GenAsmMatcher \
+ AArch64GenInstrInfo \
+ AArch64GenRegisterInfo \
+ AArch64GenSubtargetInfo
+
+.include "../clang.lib.mk"
diff --git a/lib/clang/libllvmaarch64asmparser/Makefile.depend b/lib/clang/libllvmaarch64asmparser/Makefile.depend
new file mode 100644
index 0000000..39ddb0e
--- /dev/null
+++ b/lib/clang/libllvmaarch64asmparser/Makefile.depend
@@ -0,0 +1,23 @@
+# Autogenerated - do NOT edit!
+
+DEP_RELDIR := ${_PARSEDIR:S,${SRCTOP}/,,}
+
+DIRDEPS = \
+ include \
+ include/xlocale \
+ usr.bin/clang/tblgen.host \
+
+
+.include <dirdeps.mk>
+
+.if ${DEP_RELDIR} == ${_DEP_RELDIR}
+# local dependencies - needed for -jN in clean tree
+AArch64AsmParser.o: AArch64GenAsmMatcher.inc.h
+AArch64AsmParser.o: AArch64GenInstrInfo.inc.h
+AArch64AsmParser.o: AArch64GenRegisterInfo.inc.h
+AArch64AsmParser.o: AArch64GenSubtargetInfo.inc.h
+AArch64AsmParser.po: AArch64GenAsmMatcher.inc.h
+AArch64AsmParser.po: AArch64GenInstrInfo.inc.h
+AArch64AsmParser.po: AArch64GenRegisterInfo.inc.h
+AArch64AsmParser.po: AArch64GenSubtargetInfo.inc.h
+.endif
diff --git a/lib/clang/libllvmaarch64codegen/Makefile b/lib/clang/libllvmaarch64codegen/Makefile
new file mode 100644
index 0000000..db0023f
--- /dev/null
+++ b/lib/clang/libllvmaarch64codegen/Makefile
@@ -0,0 +1,46 @@
+# $FreeBSD$
+
+.include <bsd.own.mk>
+
+LIB= llvmaarch64codegen
+
+SRCDIR= lib/Target/AArch64
+SRCS= AArch64A53Fix835769.cpp \
+ AArch64A57FPLoadBalancing.cpp \
+ AArch64AddressTypePromotion.cpp \
+ AArch64AdvSIMDScalarPass.cpp \
+ AArch64AsmPrinter.cpp \
+ AArch64BranchRelaxation.cpp \
+ AArch64CleanupLocalDynamicTLSPass.cpp \
+ AArch64CollectLOH.cpp \
+ AArch64ConditionOptimizer.cpp \
+ AArch64ConditionalCompares.cpp \
+ AArch64DeadRegisterDefinitionsPass.cpp \
+ AArch64ExpandPseudoInsts.cpp \
+ AArch64FastISel.cpp \
+ AArch64FrameLowering.cpp \
+ AArch64ISelDAGToDAG.cpp \
+ AArch64ISelLowering.cpp \
+ AArch64InstrInfo.cpp \
+ AArch64LoadStoreOptimizer.cpp \
+ AArch64MCInstLower.cpp \
+ AArch64PBQPRegAlloc.cpp \
+ AArch64PromoteConstant.cpp \
+ AArch64RegisterInfo.cpp \
+ AArch64SelectionDAGInfo.cpp \
+ AArch64StorePairSuppress.cpp \
+ AArch64Subtarget.cpp \
+ AArch64TargetMachine.cpp \
+ AArch64TargetObjectFile.cpp \
+ AArch64TargetTransformInfo.cpp
+
+TGHDRS= AArch64GenCallingConv \
+ AArch64GenDAGISel \
+ AArch64GenFastISel \
+ AArch64GenInstrInfo \
+ AArch64GenMCPseudoLowering \
+ AArch64GenRegisterInfo \
+ AArch64GenSubtargetInfo \
+ Intrinsics
+
+.include "../clang.lib.mk"
diff --git a/lib/clang/libllvmaarch64desc/Makefile b/lib/clang/libllvmaarch64desc/Makefile
new file mode 100644
index 0000000..041fbf2
--- /dev/null
+++ b/lib/clang/libllvmaarch64desc/Makefile
@@ -0,0 +1,24 @@
+# $FreeBSD$
+
+.include <bsd.own.mk>
+
+LIB= llvmaarch64desc
+
+SRCDIR= lib/Target/AArch64/MCTargetDesc
+SRCS= AArch64AsmBackend.cpp \
+ AArch64ELFObjectWriter.cpp \
+ AArch64ELFStreamer.cpp \
+ AArch64MCAsmInfo.cpp \
+ AArch64MCCodeEmitter.cpp \
+ AArch64MCExpr.cpp \
+ AArch64MCTargetDesc.cpp \
+ AArch64MachObjectWriter.cpp \
+ AArch64TargetStreamer.cpp
+CFLAGS+= -I${LLVM_SRCS}/${SRCDIR}/..
+
+TGHDRS= AArch64GenInstrInfo \
+ AArch64GenMCCodeEmitter \
+ AArch64GenRegisterInfo \
+ AArch64GenSubtargetInfo
+
+.include "../clang.lib.mk"
diff --git a/lib/clang/libllvmaarch64desc/Makefile.depend b/lib/clang/libllvmaarch64desc/Makefile.depend
new file mode 100644
index 0000000..f1a450c
--- /dev/null
+++ b/lib/clang/libllvmaarch64desc/Makefile.depend
@@ -0,0 +1,47 @@
+# Autogenerated - do NOT edit!
+
+DEP_RELDIR := ${_PARSEDIR:S,${SRCTOP}/,,}
+
+DIRDEPS = \
+ include \
+ include/xlocale \
+ usr.bin/clang/tblgen.host \
+
+
+.include <dirdeps.mk>
+
+.if ${DEP_RELDIR} == ${_DEP_RELDIR}
+# local dependencies - needed for -jN in clean tree
+AArch64AsmBackend.o: AArch64GenInstrInfo.inc.h
+AArch64AsmBackend.o: AArch64GenRegisterInfo.inc.h
+AArch64AsmBackend.o: AArch64GenSubtargetInfo.inc.h
+AArch64AsmBackend.po: AArch64GenInstrInfo.inc.h
+AArch64AsmBackend.po: AArch64GenRegisterInfo.inc.h
+AArch64AsmBackend.po: AArch64GenSubtargetInfo.inc.h
+AArch64ELFObjectWriter.o: AArch64GenInstrInfo.inc.h
+AArch64ELFObjectWriter.o: AArch64GenRegisterInfo.inc.h
+AArch64ELFObjectWriter.o: AArch64GenSubtargetInfo.inc.h
+AArch64ELFObjectWriter.po: AArch64GenInstrInfo.inc.h
+AArch64ELFObjectWriter.po: AArch64GenRegisterInfo.inc.h
+AArch64ELFObjectWriter.po: AArch64GenSubtargetInfo.inc.h
+AArch64MCCodeEmitter.o: AArch64GenInstrInfo.inc.h
+AArch64MCCodeEmitter.o: AArch64GenMCCodeEmitter.inc.h
+AArch64MCCodeEmitter.o: AArch64GenRegisterInfo.inc.h
+AArch64MCCodeEmitter.o: AArch64GenSubtargetInfo.inc.h
+AArch64MCCodeEmitter.po: AArch64GenInstrInfo.inc.h
+AArch64MCCodeEmitter.po: AArch64GenMCCodeEmitter.inc.h
+AArch64MCCodeEmitter.po: AArch64GenRegisterInfo.inc.h
+AArch64MCCodeEmitter.po: AArch64GenSubtargetInfo.inc.h
+AArch64MCTargetDesc.o: AArch64GenInstrInfo.inc.h
+AArch64MCTargetDesc.o: AArch64GenRegisterInfo.inc.h
+AArch64MCTargetDesc.o: AArch64GenSubtargetInfo.inc.h
+AArch64MCTargetDesc.po: AArch64GenInstrInfo.inc.h
+AArch64MCTargetDesc.po: AArch64GenRegisterInfo.inc.h
+AArch64MCTargetDesc.po: AArch64GenSubtargetInfo.inc.h
+AArch64MachObjectWriter.o: AArch64GenInstrInfo.inc.h
+AArch64MachObjectWriter.o: AArch64GenRegisterInfo.inc.h
+AArch64MachObjectWriter.o: AArch64GenSubtargetInfo.inc.h
+AArch64MachObjectWriter.po: AArch64GenInstrInfo.inc.h
+AArch64MachObjectWriter.po: AArch64GenRegisterInfo.inc.h
+AArch64MachObjectWriter.po: AArch64GenSubtargetInfo.inc.h
+.endif
diff --git a/lib/clang/libllvmaarch64disassembler/Makefile b/lib/clang/libllvmaarch64disassembler/Makefile
new file mode 100644
index 0000000..0cf9658
--- /dev/null
+++ b/lib/clang/libllvmaarch64disassembler/Makefile
@@ -0,0 +1,20 @@
+# $FreeBSD$
+
+.include <src.opts.mk>
+
+LIB= llvmaarch64disassembler
+
+SRCDIR= lib/Target/AArch64/Disassembler
+INCDIR= lib/Target/AArch64
+SRCS= AArch64Disassembler.cpp
+
+.if ${MK_CLANG_EXTRAS} != "no" || ${MK_LLDB} != "no"
+SRCS+= AArch64ExternalSymbolizer.cpp
+.endif
+
+TGHDRS= AArch64GenDisassemblerTables \
+ AArch64GenInstrInfo \
+ AArch64GenRegisterInfo \
+ AArch64GenSubtargetInfo
+
+.include "../clang.lib.mk"
diff --git a/lib/clang/libllvmaarch64disassembler/Makefile.depend b/lib/clang/libllvmaarch64disassembler/Makefile.depend
new file mode 100644
index 0000000..ef36bba
--- /dev/null
+++ b/lib/clang/libllvmaarch64disassembler/Makefile.depend
@@ -0,0 +1,23 @@
+# Autogenerated - do NOT edit!
+
+DEP_RELDIR := ${_PARSEDIR:S,${SRCTOP}/,,}
+
+DIRDEPS = \
+ include \
+ include/xlocale \
+ usr.bin/clang/tblgen.host \
+
+
+.include <dirdeps.mk>
+
+.if ${DEP_RELDIR} == ${_DEP_RELDIR}
+# local dependencies - needed for -jN in clean tree
+AArch64Disassembler.o: AArch64GenDisassemblerTables.inc.h
+AArch64Disassembler.o: AArch64GenInstrInfo.inc.h
+AArch64Disassembler.o: AArch64GenRegisterInfo.inc.h
+AArch64Disassembler.o: AArch64GenSubtargetInfo.inc.h
+AArch64Disassembler.po: AArch64GenDisassemblerTables.inc.h
+AArch64Disassembler.po: AArch64GenInstrInfo.inc.h
+AArch64Disassembler.po: AArch64GenRegisterInfo.inc.h
+AArch64Disassembler.po: AArch64GenSubtargetInfo.inc.h
+.endif
diff --git a/lib/clang/libllvmaarch64info/Makefile b/lib/clang/libllvmaarch64info/Makefile
new file mode 100644
index 0000000..c62a6e1
--- /dev/null
+++ b/lib/clang/libllvmaarch64info/Makefile
@@ -0,0 +1,15 @@
+# $FreeBSD$
+
+.include <bsd.own.mk>
+
+LIB= llvmaarch64info
+
+SRCDIR= lib/Target/AArch64/TargetInfo
+INCDIR= lib/Target/AArch64
+SRCS= AArch64TargetInfo.cpp
+
+TGHDRS= AArch64GenInstrInfo \
+ AArch64GenRegisterInfo \
+ AArch64GenSubtargetInfo
+
+.include "../clang.lib.mk"
diff --git a/lib/clang/libllvmaarch64info/Makefile.depend b/lib/clang/libllvmaarch64info/Makefile.depend
new file mode 100644
index 0000000..2be5570
--- /dev/null
+++ b/lib/clang/libllvmaarch64info/Makefile.depend
@@ -0,0 +1,15 @@
+# Autogenerated - do NOT edit!
+
+DEP_RELDIR := ${_PARSEDIR:S,${SRCTOP}/,,}
+
+DIRDEPS = \
+ include \
+ include/xlocale \
+ usr.bin/clang/tblgen.host \
+
+
+.include <dirdeps.mk>
+
+.if ${DEP_RELDIR} == ${_DEP_RELDIR}
+# local dependencies - needed for -jN in clean tree
+.endif
diff --git a/lib/clang/libllvmaarch64instprinter/Makefile b/lib/clang/libllvmaarch64instprinter/Makefile
new file mode 100644
index 0000000..c037dc8
--- /dev/null
+++ b/lib/clang/libllvmaarch64instprinter/Makefile
@@ -0,0 +1,17 @@
+# $FreeBSD$
+
+.include <bsd.own.mk>
+
+LIB= llvmaarch64instprinter
+
+SRCDIR= lib/Target/AArch64/InstPrinter
+INCDIR= lib/Target/AArch64
+SRCS= AArch64InstPrinter.cpp
+
+TGHDRS= AArch64GenAsmWriter \
+ AArch64GenAsmWriter1 \
+ AArch64GenInstrInfo \
+ AArch64GenRegisterInfo \
+ AArch64GenSubtargetInfo
+
+.include "../clang.lib.mk"
diff --git a/lib/clang/libllvmaarch64instprinter/Makefile.depend b/lib/clang/libllvmaarch64instprinter/Makefile.depend
new file mode 100644
index 0000000..c2fc2109
--- /dev/null
+++ b/lib/clang/libllvmaarch64instprinter/Makefile.depend
@@ -0,0 +1,25 @@
+# Autogenerated - do NOT edit!
+
+DEP_RELDIR := ${_PARSEDIR:S,${SRCTOP}/,,}
+
+DIRDEPS = \
+ include \
+ include/xlocale \
+ usr.bin/clang/tblgen.host \
+
+
+.include <dirdeps.mk>
+
+.if ${DEP_RELDIR} == ${_DEP_RELDIR}
+# local dependencies - needed for -jN in clean tree
+AArch64InstPrinter.o: AArch64GenAsmWriter.inc.h
+AArch64InstPrinter.o: AArch64GenAsmWriter1.inc.h
+AArch64InstPrinter.o: AArch64GenInstrInfo.inc.h
+AArch64InstPrinter.o: AArch64GenRegisterInfo.inc.h
+AArch64InstPrinter.o: AArch64GenSubtargetInfo.inc.h
+AArch64InstPrinter.po: AArch64GenAsmWriter.inc.h
+AArch64InstPrinter.po: AArch64GenAsmWriter1.inc.h
+AArch64InstPrinter.po: AArch64GenInstrInfo.inc.h
+AArch64InstPrinter.po: AArch64GenRegisterInfo.inc.h
+AArch64InstPrinter.po: AArch64GenSubtargetInfo.inc.h
+.endif
diff --git a/lib/clang/libllvmaarch64utils/Makefile b/lib/clang/libllvmaarch64utils/Makefile
new file mode 100644
index 0000000..d945927
--- /dev/null
+++ b/lib/clang/libllvmaarch64utils/Makefile
@@ -0,0 +1,15 @@
+# $FreeBSD$
+
+.include <bsd.own.mk>
+
+LIB= llvmaarch64utils
+
+SRCDIR= lib/Target/AArch64/Utils
+INCDIR= lib/Target/AArch64
+SRCS= AArch64BaseInfo.cpp
+
+TGHDRS= AArch64GenInstrInfo \
+ AArch64GenRegisterInfo \
+ AArch64GenSubtargetInfo
+
+.include "../clang.lib.mk"
diff --git a/lib/clang/libllvmaarch64utils/Makefile.depend b/lib/clang/libllvmaarch64utils/Makefile.depend
new file mode 100644
index 0000000..59e0fe9
--- /dev/null
+++ b/lib/clang/libllvmaarch64utils/Makefile.depend
@@ -0,0 +1,21 @@
+# Autogenerated - do NOT edit!
+
+DEP_RELDIR := ${_PARSEDIR:S,${SRCTOP}/,,}
+
+DIRDEPS = \
+ include \
+ include/xlocale \
+ usr.bin/clang/tblgen.host \
+
+
+.include <dirdeps.mk>
+
+.if ${DEP_RELDIR} == ${_DEP_RELDIR}
+# local dependencies - needed for -jN in clean tree
+AArch64BaseInfo.o: AArch64GenInstrInfo.inc.h
+AArch64BaseInfo.o: AArch64GenRegisterInfo.inc.h
+AArch64BaseInfo.o: AArch64GenSubtargetInfo.inc.h
+AArch64BaseInfo.po: AArch64GenInstrInfo.inc.h
+AArch64BaseInfo.po: AArch64GenRegisterInfo.inc.h
+AArch64BaseInfo.po: AArch64GenSubtargetInfo.inc.h
+.endif
diff --git a/lib/clang/libllvmanalysis/Makefile b/lib/clang/libllvmanalysis/Makefile
index ea2a718..7c81c5b 100644
--- a/lib/clang/libllvmanalysis/Makefile
+++ b/lib/clang/libllvmanalysis/Makefile
@@ -11,10 +11,15 @@ SRCS= AliasAnalysis.cpp \
AliasDebugger.cpp \
AliasSetTracker.cpp \
Analysis.cpp \
+ AssumptionCache.cpp \
BasicAliasAnalysis.cpp \
+ BlockFrequencyInfo.cpp \
+ BlockFrequencyInfoImpl.cpp \
BranchProbabilityInfo.cpp \
CFG.cpp \
CFGPrinter.cpp \
+ CFLAliasAnalysis.cpp \
+ CGSCCPassManager.cpp \
CaptureTracking.cpp \
CodeMetrics.cpp \
ConstantFolding.cpp \
@@ -23,11 +28,14 @@ SRCS= AliasAnalysis.cpp \
DependenceAnalysis.cpp \
DomPrinter.cpp \
DominanceFrontier.cpp \
+ FunctionTargetTransformInfo.cpp \
IVUsers.cpp \
InstCount.cpp \
InstructionSimplify.cpp \
Interval.cpp \
IntervalPartition.cpp \
+ JumpInstrTableInfo.cpp \
+ LazyCallGraph.cpp \
LazyValueInfo.cpp \
LibCallAliasAnalysis.cpp \
LibCallSemantics.cpp \
@@ -50,16 +58,13 @@ SRCS= AliasAnalysis.cpp \
ScalarEvolutionAliasAnalysis.cpp \
ScalarEvolutionExpander.cpp \
ScalarEvolutionNormalization.cpp \
+ ScopedNoAliasAA.cpp \
SparsePropagation.cpp \
TargetTransformInfo.cpp \
Trace.cpp \
TypeBasedAliasAnalysis.cpp \
ValueTracking.cpp
-.if ${MK_CLANG_EXTRAS} != "no"
-SRCS+= BlockFrequencyInfo.cpp
-.endif
-
TGHDRS= Intrinsics
.include "../clang.lib.mk"
diff --git a/lib/clang/libllvmarmcodegen/Makefile b/lib/clang/libllvmarmcodegen/Makefile
index db57418..dc951e3 100644
--- a/lib/clang/libllvmarmcodegen/Makefile
+++ b/lib/clang/libllvmarmcodegen/Makefile
@@ -9,7 +9,6 @@ SRCS= A15SDOptimizer.cpp \
ARMAsmPrinter.cpp \
ARMBaseInstrInfo.cpp \
ARMBaseRegisterInfo.cpp \
- ARMCodeEmitter.cpp \
ARMConstantIslandPass.cpp \
ARMConstantPoolValue.cpp \
ARMExpandPseudoInsts.cpp \
@@ -19,11 +18,11 @@ SRCS= A15SDOptimizer.cpp \
ARMISelDAGToDAG.cpp \
ARMISelLowering.cpp \
ARMInstrInfo.cpp \
- ARMJITInfo.cpp \
ARMLoadStoreOptimizer.cpp \
ARMMCInstLower.cpp \
ARMMachineFunctionInfo.cpp \
ARMRegisterInfo.cpp \
+ ARMOptimizeBarriersPass.cpp \
ARMSelectionDAGInfo.cpp \
ARMSubtarget.cpp \
ARMTargetMachine.cpp \
diff --git a/lib/clang/libllvmarmdesc/Makefile b/lib/clang/libllvmarmdesc/Makefile
index 73999ad..42c3f5c 100644
--- a/lib/clang/libllvmarmdesc/Makefile
+++ b/lib/clang/libllvmarmdesc/Makefile
@@ -7,6 +7,7 @@ LIB= llvmarmdesc
SRCDIR= lib/Target/ARM/MCTargetDesc
SRCS= ARMAsmBackend.cpp \
ARMELFObjectWriter.cpp \
+ ARMELFObjectWriter.cpp \
ARMELFStreamer.cpp \
ARMMCAsmInfo.cpp \
ARMMCCodeEmitter.cpp \
@@ -14,7 +15,10 @@ SRCS= ARMAsmBackend.cpp \
ARMMCTargetDesc.cpp \
ARMMachORelocationInfo.cpp \
ARMMachObjectWriter.cpp \
- ARMUnwindOpAsm.cpp
+ ARMTargetStreamer.cpp \
+ ARMUnwindOpAsm.cpp \
+ ARMWinCOFFObjectWriter.cpp \
+ ARMWinCOFFStreamer.cpp
CFLAGS+= -I${LLVM_SRCS}/${SRCDIR}/..
TGHDRS= ARMGenInstrInfo \
diff --git a/lib/clang/libllvmasmprinter/Makefile b/lib/clang/libllvmasmprinter/Makefile
index afb0ecf..4ff6f22 100644
--- a/lib/clang/libllvmasmprinter/Makefile
+++ b/lib/clang/libllvmasmprinter/Makefile
@@ -6,19 +6,26 @@ LIB= llvmasmprinter
SRCDIR= lib/CodeGen/AsmPrinter
SRCS= ARMException.cpp \
+ AddressPool.cpp \
AsmPrinter.cpp \
AsmPrinterDwarf.cpp \
AsmPrinterInlineAsm.cpp \
DIE.cpp \
DIEHash.cpp \
+ DbgValueHistoryCalculator.cpp \
DwarfAccelTable.cpp \
DwarfCFIException.cpp \
DwarfCompileUnit.cpp \
DwarfDebug.cpp \
- DwarfException.cpp \
+ DwarfExpression.cpp \
+ DwarfFile.cpp \
+ DwarfStringPool.cpp \
+ DwarfUnit.cpp \
+ EHStreamer.cpp \
ErlangGCPrinter.cpp \
OcamlGCPrinter.cpp \
- Win64Exception.cpp
+ Win64Exception.cpp \
+ WinCodeViewLineTables.cpp
TGHDRS= Intrinsics
diff --git a/lib/clang/libllvmcodegen/Makefile b/lib/clang/libllvmcodegen/Makefile
index e43f39d..d5d8e43 100644
--- a/lib/clang/libllvmcodegen/Makefile
+++ b/lib/clang/libllvmcodegen/Makefile
@@ -8,11 +8,13 @@ SRCDIR= lib/CodeGen
SRCS= AggressiveAntiDepBreaker.cpp \
AllocationOrder.cpp \
Analysis.cpp \
+ AtomicExpandPass.cpp \
BasicTargetTransformInfo.cpp \
BranchFolding.cpp \
CalcSpillWeights.cpp \
CallingConvLower.cpp \
CodeGen.cpp \
+ CodeGenPrepare.cpp \
CriticalAntiDepBreaker.cpp \
DFAPacketizer.cpp \
DeadMachineInstructionElim.cpp \
@@ -23,14 +25,16 @@ SRCS= AggressiveAntiDepBreaker.cpp \
ExecutionDepsFix.cpp \
ExpandISelPseudos.cpp \
ExpandPostRAPseudos.cpp \
+ ForwardControlFlowIntegrity.cpp \
GCMetadata.cpp \
GCMetadataPrinter.cpp \
GCStrategy.cpp \
+ GlobalMerge.cpp \
IfConversion.cpp \
InlineSpiller.cpp \
InterferenceCache.cpp \
IntrinsicLowering.cpp \
- JITCodeEmitter.cpp \
+ JumpInstrTables.cpp \
LLVMTargetMachine.cpp \
LatencyPriorityQueue.cpp \
LexicalScopes.cpp \
@@ -38,10 +42,10 @@ SRCS= AggressiveAntiDepBreaker.cpp \
LiveInterval.cpp \
LiveIntervalAnalysis.cpp \
LiveIntervalUnion.cpp \
+ LivePhysRegs.cpp \
LiveRangeCalc.cpp \
LiveRangeEdit.cpp \
LiveRegMatrix.cpp \
- LiveRegUnits.cpp \
LiveStackAnalysis.cpp \
LiveVariables.cpp \
LocalStackSlotAllocation.cpp \
@@ -50,8 +54,9 @@ SRCS= AggressiveAntiDepBreaker.cpp \
MachineBlockPlacement.cpp \
MachineBranchProbabilityInfo.cpp \
MachineCSE.cpp \
- MachineCodeEmitter.cpp \
+ MachineCombiner.cpp \
MachineCopyPropagation.cpp \
+ MachineDominanceFrontier.cpp \
MachineDominators.cpp \
MachineFunction.cpp \
MachineFunctionAnalysis.cpp \
@@ -65,6 +70,7 @@ SRCS= AggressiveAntiDepBreaker.cpp \
MachineModuleInfoImpls.cpp \
MachinePassRegistry.cpp \
MachinePostDominators.cpp \
+ MachineRegionInfo.cpp \
MachineRegisterInfo.cpp \
MachineSSAUpdater.cpp \
MachineScheduler.cpp \
@@ -98,12 +104,13 @@ SRCS= AggressiveAntiDepBreaker.cpp \
SjLjEHPrepare.cpp \
SlotIndexes.cpp \
SpillPlacement.cpp \
- Spiller.cpp \
SplitKit.cpp \
StackColoring.cpp \
+ StackMapLivenessAnalysis.cpp \
StackMaps.cpp \
StackProtector.cpp \
StackSlotColoring.cpp \
+ StatepointExampleGC.cpp \
TailDuplication.cpp \
TargetFrameLoweringImpl.cpp \
TargetInstrInfo.cpp \
diff --git a/lib/clang/libllvmcore/Makefile b/lib/clang/libllvmcore/Makefile
index 137b1c3..921d0be 100644
--- a/lib/clang/libllvmcore/Makefile
+++ b/lib/clang/libllvmcore/Makefile
@@ -9,36 +9,44 @@ SRCS= AsmWriter.cpp \
Attributes.cpp \
AutoUpgrade.cpp \
BasicBlock.cpp \
+ Comdat.cpp \
ConstantFold.cpp \
+ ConstantRange.cpp \
Constants.cpp \
Core.cpp \
DIBuilder.cpp \
DataLayout.cpp \
DebugInfo.cpp \
DebugLoc.cpp \
+ DiagnosticInfo.cpp \
+ DiagnosticPrinter.cpp \
Dominators.cpp \
Function.cpp \
GCOV.cpp \
GVMaterializer.cpp \
Globals.cpp \
IRBuilder.cpp \
+ IRPrintingPasses.cpp \
InlineAsm.cpp \
Instruction.cpp \
Instructions.cpp \
IntrinsicInst.cpp \
LLVMContext.cpp \
LLVMContextImpl.cpp \
- LeakDetector.cpp \
LegacyPassManager.cpp \
+ MDBuilder.cpp \
+ Mangler.cpp \
Metadata.cpp \
+ MetadataTracking.cpp \
Module.cpp \
Pass.cpp \
PassManager.cpp \
PassRegistry.cpp \
- PrintModulePass.cpp \
+ Statepoint.cpp \
Type.cpp \
TypeFinder.cpp \
Use.cpp \
+ UseListOrder.cpp \
User.cpp \
Value.cpp \
ValueSymbolTable.cpp \
diff --git a/lib/clang/libllvmdebuginfo/Makefile b/lib/clang/libllvmdebuginfo/Makefile
index c8039dc..3cee40e 100644
--- a/lib/clang/libllvmdebuginfo/Makefile
+++ b/lib/clang/libllvmdebuginfo/Makefile
@@ -1,6 +1,6 @@
# $FreeBSD$
-.include <bsd.own.mk>
+.include <src.opts.mk>
LIB= llvmdebuginfo
@@ -21,4 +21,9 @@ SRCS= DIContext.cpp \
DWARFTypeUnit.cpp \
DWARFUnit.cpp
+.if ${MK_CLANG_EXTRAS} != "no"
+SRCS+= DWARFAcceleratorTable.cpp \
+ SyntaxHighlighting.cpp
+.endif
+
.include "../clang.lib.mk"
diff --git a/lib/clang/libllvmexecutionengine/Makefile b/lib/clang/libllvmexecutionengine/Makefile
index 382dd88..5a7e6c3 100644
--- a/lib/clang/libllvmexecutionengine/Makefile
+++ b/lib/clang/libllvmexecutionengine/Makefile
@@ -7,7 +7,7 @@ LIB= llvmexecutionengine
SRCDIR= lib/ExecutionEngine
SRCS= ExecutionEngine.cpp \
ExecutionEngineBindings.cpp \
- RTDyldMemoryManager.cpp \
+ GDBRegistrationListener.cpp \
TargetSelect.cpp
.include "../clang.lib.mk"
diff --git a/lib/clang/libllvminstrumentation/Makefile b/lib/clang/libllvminstrumentation/Makefile
index faba349..963b638 100644
--- a/lib/clang/libllvminstrumentation/Makefile
+++ b/lib/clang/libllvminstrumentation/Makefile
@@ -8,10 +8,11 @@ SRCDIR= lib/Transforms/Instrumentation
SRCS= AddressSanitizer.cpp \
BoundsChecking.cpp \
DataFlowSanitizer.cpp \
- DebugIR.cpp \
GCOVProfiling.cpp \
MemorySanitizer.cpp \
Instrumentation.cpp \
+ InstrProfiling.cpp \
+ SanitizerCoverage.cpp \
ThreadSanitizer.cpp
TGHDRS= Intrinsics
diff --git a/lib/clang/libllvmipa/Makefile b/lib/clang/libllvmipa/Makefile
index c866ca0..3380cf3 100644
--- a/lib/clang/libllvmipa/Makefile
+++ b/lib/clang/libllvmipa/Makefile
@@ -8,7 +8,6 @@ SRCDIR= lib/Analysis/IPA
SRCS= CallGraph.cpp \
CallGraphSCCPass.cpp \
CallPrinter.cpp \
- FindUsedTypes.cpp \
GlobalsModRef.cpp \
InlineCost.cpp
diff --git a/lib/clang/libllvmjit/Makefile b/lib/clang/libllvmjit/Makefile
deleted file mode 100644
index a04eeb6..0000000
--- a/lib/clang/libllvmjit/Makefile
+++ /dev/null
@@ -1,12 +0,0 @@
-# $FreeBSD$
-
-.include <bsd.own.mk>
-
-LIB= llvmjit
-
-SRCDIR= lib/ExecutionEngine/JIT
-SRCS= JIT.cpp \
- JITEmitter.cpp \
- JITMemoryManager.cpp
-
-.include "../clang.lib.mk"
diff --git a/lib/clang/libllvmmc/Makefile b/lib/clang/libllvmmc/Makefile
index 84ba618..f4582c2 100644
--- a/lib/clang/libllvmmc/Makefile
+++ b/lib/clang/libllvmmc/Makefile
@@ -5,7 +5,8 @@
LIB= llvmmc
SRCDIR= lib/MC
-SRCS= ELFObjectWriter.cpp \
+SRCS= ConstantPools.cpp \
+ ELFObjectWriter.cpp \
MCAsmBackend.cpp \
MCAsmInfo.cpp \
MCAsmInfoCOFF.cpp \
@@ -13,7 +14,6 @@ SRCS= ELFObjectWriter.cpp \
MCAsmInfoELF.cpp \
MCAsmStreamer.cpp \
MCAssembler.cpp \
- MCAtom.cpp \
MCCodeEmitter.cpp \
MCCodeGenInfo.cpp \
MCContext.cpp \
@@ -22,25 +22,18 @@ SRCS= ELFObjectWriter.cpp \
MCELFObjectTargetWriter.cpp \
MCELFStreamer.cpp \
MCExpr.cpp \
- MCExternalSymbolizer.cpp \
- MCFunction.cpp \
MCInst.cpp \
MCInstPrinter.cpp \
MCInstrAnalysis.cpp \
MCLabel.cpp \
+ MCLinkerOptimizationHint.cpp \
MCMachOStreamer.cpp \
MCMachObjectTargetWriter.cpp \
- MCModule.cpp \
- MCModuleYAML.cpp \
MCNullStreamer.cpp \
- MCObjectDisassembler.cpp \
MCObjectFileInfo.cpp \
MCObjectStreamer.cpp \
- MCObjectSymbolizer.cpp \
MCObjectWriter.cpp \
- MCPureStreamer.cpp \
MCRegisterInfo.cpp \
- MCRelocationInfo.cpp \
MCSection.cpp \
MCSectionCOFF.cpp \
MCSectionELF.cpp \
@@ -49,15 +42,15 @@ SRCS= ELFObjectWriter.cpp \
MCSubtargetInfo.cpp \
MCSymbol.cpp \
MCSymbolizer.cpp \
+ MCTargetOptions.cpp \
MCValue.cpp \
MCWin64EH.cpp \
+ MCWinEH.cpp \
MachObjectWriter.cpp \
+ StringTableBuilder.cpp \
SubtargetFeature.cpp \
WinCOFFObjectWriter.cpp \
- WinCOFFStreamer.cpp
-
-.if ${MK_CLANG_EXTRAS} != "no" || ${MK_LLDB} != "no"
-SRCS+= MCDisassembler.cpp
-.endif
+ WinCOFFStreamer.cpp \
+ YAML.cpp
.include "../clang.lib.mk"
diff --git a/lib/clang/libllvmmcdisassembler/Makefile b/lib/clang/libllvmmcdisassembler/Makefile
index cfcf919..2f8a940 100644
--- a/lib/clang/libllvmmcdisassembler/Makefile
+++ b/lib/clang/libllvmmcdisassembler/Makefile
@@ -5,6 +5,9 @@
LIB= llvmmcdisassembler
SRCDIR= lib/MC/MCDisassembler
-SRCS= Disassembler.cpp
+SRCS= Disassembler.cpp \
+ MCDisassembler.cpp \
+ MCExternalSymbolizer.cpp \
+ MCRelocationInfo.cpp
.include "../clang.lib.mk"
diff --git a/lib/clang/libllvmmipscodegen/Makefile b/lib/clang/libllvmmipscodegen/Makefile
index 9ba7099..4495f50 100644
--- a/lib/clang/libllvmmipscodegen/Makefile
+++ b/lib/clang/libllvmmipscodegen/Makefile
@@ -7,24 +7,26 @@ LIB= llvmmipscodegen
SRCDIR= lib/Target/Mips
SRCS= Mips16FrameLowering.cpp \
Mips16HardFloat.cpp \
+ Mips16HardFloatInfo.cpp \
Mips16ISelDAGToDAG.cpp \
Mips16ISelLowering.cpp \
Mips16InstrInfo.cpp \
Mips16RegisterInfo.cpp \
MipsAnalyzeImmediate.cpp \
MipsAsmPrinter.cpp \
- MipsCodeEmitter.cpp \
+ MipsCCState.cpp \
MipsConstantIslandPass.cpp \
MipsDelaySlotFiller.cpp \
+ MipsFastISel.cpp \
MipsFrameLowering.cpp \
MipsISelDAGToDAG.cpp \
MipsISelLowering.cpp \
MipsInstrInfo.cpp \
- MipsJITInfo.cpp \
MipsLongBranch.cpp \
MipsMCInstLower.cpp \
MipsMachineFunction.cpp \
MipsModuleISelDAGToDAG.cpp \
+ MipsOptimizePICCall.cpp \
MipsOs16.cpp \
MipsRegisterInfo.cpp \
MipsSEFrameLowering.cpp \
@@ -42,6 +44,7 @@ TGHDRS= Intrinsics \
MipsGenCallingConv \
MipsGenCodeEmitter \
MipsGenDAGISel \
+ MipsGenFastISel \
MipsGenInstrInfo \
MipsGenMCPseudoLowering \
MipsGenRegisterInfo \
diff --git a/lib/clang/libllvmmipsdesc/Makefile b/lib/clang/libllvmmipsdesc/Makefile
index 07cbbfa..f22ff80 100644
--- a/lib/clang/libllvmmipsdesc/Makefile
+++ b/lib/clang/libllvmmipsdesc/Makefile
@@ -5,12 +5,17 @@
LIB= llvmmipsdesc
SRCDIR= lib/Target/Mips/MCTargetDesc
-SRCS= MipsAsmBackend.cpp \
+SRCS= MipsABIFlagsSection.cpp \
+ MipsABIInfo.cpp \
+ MipsAsmBackend.cpp \
MipsELFObjectWriter.cpp \
+ MipsELFStreamer.cpp \
MipsMCAsmInfo.cpp \
MipsMCCodeEmitter.cpp \
+ MipsMCExpr.cpp \
MipsMCTargetDesc.cpp \
- MipsReginfo.cpp \
+ MipsNaClELFStreamer.cpp \
+ MipsOptionRecord.cpp \
MipsTargetStreamer.cpp
CFLAGS+= -I${LLVM_SRCS}/${SRCDIR}/..
diff --git a/lib/clang/libllvmobjcarcopts/Makefile b/lib/clang/libllvmobjcarcopts/Makefile
index 5c47aa8..ee3ca83 100644
--- a/lib/clang/libllvmobjcarcopts/Makefile
+++ b/lib/clang/libllvmobjcarcopts/Makefile
@@ -13,7 +13,8 @@ SRCS= ObjCARC.cpp \
ObjCARCUtil.cpp \
ObjCARCContract.cpp \
DependencyAnalysis.cpp \
- ProvenanceAnalysis.cpp
+ ProvenanceAnalysis.cpp \
+ ProvenanceAnalysisEvaluator.cpp
TGHDRS= Intrinsics
diff --git a/lib/clang/libllvmobject/Makefile b/lib/clang/libllvmobject/Makefile
index 7e48093..804fff8 100644
--- a/lib/clang/libllvmobject/Makefile
+++ b/lib/clang/libllvmobject/Makefile
@@ -13,10 +13,12 @@ SRCS= Archive.cpp \
ELFObjectFile.cpp \
ELFYAML.cpp \
Error.cpp \
+ IRObjectFile.cpp \
MachOObjectFile.cpp \
MachOUniversal.cpp \
Object.cpp \
ObjectFile.cpp \
- YAML.cpp
+ RecordStreamer.cpp \
+ SymbolicFile.cpp
.include "../clang.lib.mk"
diff --git a/lib/clang/libllvmpowerpccodegen/Makefile b/lib/clang/libllvmpowerpccodegen/Makefile
index 9fd268b..211bc22 100644
--- a/lib/clang/libllvmpowerpccodegen/Makefile
+++ b/lib/clang/libllvmpowerpccodegen/Makefile
@@ -8,14 +8,12 @@ SRCDIR= lib/Target/PowerPC
SRCS= PPCAsmPrinter.cpp \
PPCBranchSelector.cpp \
PPCCTRLoops.cpp \
- PPCCodeEmitter.cpp \
- PPCFastISel.cpp \
+ PPCFastISel.cpp \
PPCFrameLowering.cpp \
PPCHazardRecognizers.cpp \
PPCISelDAGToDAG.cpp \
PPCISelLowering.cpp \
PPCInstrInfo.cpp \
- PPCJITInfo.cpp \
PPCMCInstLower.cpp \
PPCMachineFunctionInfo.cpp \
PPCRegisterInfo.cpp \
diff --git a/lib/clang/libllvmpowerpcdisassembler/Makefile b/lib/clang/libllvmpowerpcdisassembler/Makefile
new file mode 100644
index 0000000..58735e4
--- /dev/null
+++ b/lib/clang/libllvmpowerpcdisassembler/Makefile
@@ -0,0 +1,16 @@
+# $FreeBSD$
+
+.include <bsd.own.mk>
+
+LIB= llvmpowerpcdisassembler
+
+SRCDIR= lib/Target/PowerPC/Disassembler
+INCDIR= lib/Target/PowerPC
+SRCS= PPCDisassembler.cpp
+
+TGHDRS= PPCGenDisassemblerTables \
+ PPCGenInstrInfo \
+ PPCGenRegisterInfo \
+ PPCGenSubtargetInfo
+
+.include "../clang.lib.mk"
diff --git a/lib/clang/libllvmpowerpcdisassembler/Makefile.depend b/lib/clang/libllvmpowerpcdisassembler/Makefile.depend
new file mode 100644
index 0000000..bf2f722
--- /dev/null
+++ b/lib/clang/libllvmpowerpcdisassembler/Makefile.depend
@@ -0,0 +1,23 @@
+# Autogenerated - do NOT edit!
+
+DEP_RELDIR := ${_PARSEDIR:S,${SRCTOP}/,,}
+
+DIRDEPS = \
+ include \
+ include/xlocale \
+ usr.bin/clang/tblgen.host \
+
+
+.include <dirdeps.mk>
+
+.if ${DEP_RELDIR} == ${_DEP_RELDIR}
+# local dependencies - needed for -jN in clean tree
+PPCDisassembler.o: PPCGenDisassemblerTables.inc.h
+PPCDisassembler.o: PPCGenInstrInfo.inc.h
+PPCDisassembler.o: PPCGenRegisterInfo.inc.h
+PPCDisassembler.o: PPCGenSubtargetInfo.inc.h
+PPCDisassembler.po: PPCGenDisassemblerTables.inc.h
+PPCDisassembler.po: PPCGenInstrInfo.inc.h
+PPCDisassembler.po: PPCGenRegisterInfo.inc.h
+PPCDisassembler.po: PPCGenSubtargetInfo.inc.h
+.endif
diff --git a/lib/clang/libllvmprofiledata/Makefile b/lib/clang/libllvmprofiledata/Makefile
new file mode 100644
index 0000000..332bf1c
--- /dev/null
+++ b/lib/clang/libllvmprofiledata/Makefile
@@ -0,0 +1,18 @@
+# $FreeBSD$
+
+.include <bsd.own.mk>
+
+LIB= llvmprofiledata
+
+SRCDIR= lib/ProfileData
+SRCS= CoverageMapping.cpp \
+ CoverageMappingReader.cpp \
+ CoverageMappingWriter.cpp \
+ InstrProf.cpp \
+ InstrProfReader.cpp \
+ InstrProfWriter.cpp \
+ SampleProf.cpp \
+ SampleProfReader.cpp \
+ SampleProfWriter.cpp
+
+.include "../clang.lib.mk"
diff --git a/lib/clang/libllvmjit/Makefile.depend b/lib/clang/libllvmprofiledata/Makefile.depend
index 4d8f064..639d45d 100644
--- a/lib/clang/libllvmjit/Makefile.depend
+++ b/lib/clang/libllvmprofiledata/Makefile.depend
@@ -5,8 +5,6 @@ DEP_RELDIR := ${_PARSEDIR:S,${SRCTOP}/,,}
DIRDEPS = \
include \
include/xlocale \
- lib/libc++ \
- lib/msun \
.include <dirdeps.mk>
diff --git a/lib/clang/libllvmruntimedyld/Makefile b/lib/clang/libllvmruntimedyld/Makefile
index 02ca4bd..75eb843 100644
--- a/lib/clang/libllvmruntimedyld/Makefile
+++ b/lib/clang/libllvmruntimedyld/Makefile
@@ -5,8 +5,9 @@
LIB= llvmruntimedyld
SRCDIR= lib/ExecutionEngine/RuntimeDyld
-SRCS= GDBRegistrar.cpp \
+SRCS= RTDyldMemoryManager.cpp \
RuntimeDyld.cpp \
+ RuntimeDyldChecker.cpp \
RuntimeDyldELF.cpp \
RuntimeDyldMachO.cpp
diff --git a/lib/clang/libllvmscalaropts/Makefile b/lib/clang/libllvmscalaropts/Makefile
index 8da4bf0..bb8dc96 100644
--- a/lib/clang/libllvmscalaropts/Makefile
+++ b/lib/clang/libllvmscalaropts/Makefile
@@ -6,7 +6,8 @@ LIB= llvmscalaropts
SRCDIR= lib/Transforms/Scalar
SRCS= ADCE.cpp \
- CodeGenPrepare.cpp \
+ AlignmentFromAssumptions.cpp \
+ ConstantHoisting.cpp \
ConstantProp.cpp \
CorrelatedValuePropagation.cpp \
DCE.cpp \
@@ -14,10 +15,10 @@ SRCS= ADCE.cpp \
EarlyCSE.cpp \
FlattenCFGPass.cpp \
GVN.cpp \
- GlobalMerge.cpp \
IndVarSimplify.cpp \
JumpThreading.cpp \
LICM.cpp \
+ LoadCombine.cpp \
LoopDeletion.cpp \
LoopIdiomRecognize.cpp \
LoopRerollPass.cpp \
@@ -27,6 +28,7 @@ SRCS= ADCE.cpp \
LoopUnswitch.cpp \
LowerAtomic.cpp \
MemCpyOptimizer.cpp \
+ MergedLoadStoreMotion.cpp \
PartiallyInlineLibCalls.cpp \
Reassociate.cpp \
Reg2Mem.cpp \
@@ -34,6 +36,8 @@ SRCS= ADCE.cpp \
SROA.cpp \
SampleProfile.cpp \
ScalarReplAggregates.cpp \
+ Scalarizer.cpp \
+ SeparateConstOffsetFromGEP.cpp \
SimplifyCFGPass.cpp \
Sink.cpp \
StructurizeCFG.cpp \
diff --git a/lib/clang/libllvmselectiondag/Makefile b/lib/clang/libllvmselectiondag/Makefile
index 7543102..b73a1c5 100644
--- a/lib/clang/libllvmselectiondag/Makefile
+++ b/lib/clang/libllvmselectiondag/Makefile
@@ -26,6 +26,7 @@ SRCS= DAGCombiner.cpp \
SelectionDAGDumper.cpp \
SelectionDAGISel.cpp \
SelectionDAGPrinter.cpp \
+ StatepointLowering.cpp \
TargetLowering.cpp \
TargetSelectionDAGInfo.cpp
diff --git a/lib/clang/libllvmsparccodegen/Makefile b/lib/clang/libllvmsparccodegen/Makefile
index 36cf0a6..29bbae1 100644
--- a/lib/clang/libllvmsparccodegen/Makefile
+++ b/lib/clang/libllvmsparccodegen/Makefile
@@ -7,12 +7,10 @@ LIB= llvmsparccodegen
SRCDIR= lib/Target/Sparc
SRCS= DelaySlotFiller.cpp \
SparcAsmPrinter.cpp \
- SparcCodeEmitter.cpp \
SparcFrameLowering.cpp \
SparcISelDAGToDAG.cpp \
SparcISelLowering.cpp \
SparcInstrInfo.cpp \
- SparcJITInfo.cpp \
SparcMCInstLower.cpp \
SparcMachineFunctionInfo.cpp \
SparcRegisterInfo.cpp \
diff --git a/lib/clang/libllvmsupport/Makefile b/lib/clang/libllvmsupport/Makefile
index b7cfe6a..f325b15 100644
--- a/lib/clang/libllvmsupport/Makefile
+++ b/lib/clang/libllvmsupport/Makefile
@@ -8,12 +8,14 @@ SRCDIR= lib/Support
SRCS= APFloat.cpp \
APInt.cpp \
APSInt.cpp \
+ ARMBuildAttrs.cpp \
+ ARMWinEH.cpp \
Allocator.cpp \
Atomic.cpp \
BlockFrequency.cpp \
BranchProbability.cpp \
CommandLine.cpp \
- ConstantRange.cpp \
+ Compression.cpp \
ConvertUTF.c \
ConvertUTFWrapper.cpp \
CrashRecoveryContext.cpp \
@@ -31,39 +33,44 @@ SRCS= APFloat.cpp \
GraphWriter.cpp \
Hashing.cpp \
Host.cpp \
- IncludeFile.cpp \
IntEqClasses.cpp \
IntervalMap.cpp \
IntrusiveRefCntPtr.cpp \
IsInf.cpp \
IsNAN.cpp \
+ LEB128.cpp \
+ LineIterator.cpp \
Locale.cpp \
LockFileManager.cpp \
MD5.cpp \
ManagedStatic.cpp \
+ MathExtras.cpp \
Memory.cpp \
MemoryBuffer.cpp \
MemoryObject.cpp \
Mutex.cpp \
+ Options.cpp \
Path.cpp \
PluginLoader.cpp \
PrettyStackTrace.cpp \
Process.cpp \
Program.cpp \
RWMutex.cpp \
+ RandomNumberGenerator.cpp \
Regex.cpp \
+ ScaledNumber.cpp \
SearchForAddressOfSpecialSymbol.cpp \
Signals.cpp \
SmallPtrSet.cpp \
SmallVector.cpp \
SourceMgr.cpp \
+ SpecialCaseList.cpp \
Statistic.cpp \
- StreamableMemoryObject.cpp \
+ StreamingMemoryObject.cpp \
StringExtras.cpp \
StringMap.cpp \
StringPool.cpp \
StringRef.cpp \
- StringRefMemoryObject.cpp \
TargetRegistry.cpp \
ThreadLocal.cpp \
Threading.cpp \
@@ -84,16 +91,10 @@ SRCS= APFloat.cpp \
regerror.c \
regexec.c \
regfree.c \
- regstrlcpy.c \
- system_error.cpp
-
-.if ${MK_CLANG_EXTRAS} != "no" || ${MK_LLDB} != "no"
-SRCS+= Disassembler.cpp
-.endif
+ regstrlcpy.c
.if ${MK_CLANG_EXTRAS} != "no"
-SRCS+= Compression.cpp \
- DataStream.cpp \
+SRCS+= DataStream.cpp \
FileUtilities.cpp \
SystemUtils.cpp
.endif
diff --git a/lib/clang/libllvmtablegen/Makefile b/lib/clang/libllvmtablegen/Makefile
index 9a764b3..fb0c5b8 100644
--- a/lib/clang/libllvmtablegen/Makefile
+++ b/lib/clang/libllvmtablegen/Makefile
@@ -8,6 +8,7 @@ SRCDIR= lib/TableGen
SRCS= Error.cpp \
Main.cpp \
Record.cpp \
+ SetTheory.cpp \
StringMatcher.cpp \
TableGenBackend.cpp \
TGLexer.cpp \
diff --git a/lib/clang/libllvmtarget/Makefile b/lib/clang/libllvmtarget/Makefile
index b85fbec..3f9619b 100644
--- a/lib/clang/libllvmtarget/Makefile
+++ b/lib/clang/libllvmtarget/Makefile
@@ -5,10 +5,8 @@
LIB= llvmtarget
SRCDIR= lib/Target
-SRCS= Mangler.cpp \
- Target.cpp \
+SRCS= Target.cpp \
TargetIntrinsicInfo.cpp \
- TargetJITInfo.cpp \
TargetLibraryInfo.cpp \
TargetLoweringObjectFile.cpp \
TargetMachine.cpp \
diff --git a/lib/clang/libllvmtransformutils/Makefile b/lib/clang/libllvmtransformutils/Makefile
index cfad040..a3cf212 100644
--- a/lib/clang/libllvmtransformutils/Makefile
+++ b/lib/clang/libllvmtransformutils/Makefile
@@ -5,7 +5,9 @@
LIB= llvmtransformutils
SRCDIR= lib/Transforms/Utils
-SRCS= BasicBlockUtils.cpp \
+SRCS= ASanStackFrameLayout.cpp \
+ AddDiscriminators.cpp \
+ BasicBlockUtils.cpp \
BreakCriticalEdges.cpp \
BuildLibCalls.cpp \
BypassSlowDivision.cpp \
@@ -13,6 +15,7 @@ SRCS= BasicBlockUtils.cpp \
CloneModule.cpp \
CmpInstAnalysis.cpp \
CodeExtractor.cpp \
+ CtorUtils.cpp \
DemoteRegToStack.cpp \
FlattenCFG.cpp \
GlobalStatus.cpp \
@@ -36,7 +39,7 @@ SRCS= BasicBlockUtils.cpp \
SimplifyIndVar.cpp \
SimplifyInstructions.cpp \
SimplifyLibCalls.cpp \
- SpecialCaseList.cpp \
+ SymbolRewriter.cpp \
UnifyFunctionExitNodes.cpp \
ValueMapper.cpp
diff --git a/lib/clang/libllvmx86asmparser/Makefile b/lib/clang/libllvmx86asmparser/Makefile
index 0d32f9c..f972065 100644
--- a/lib/clang/libllvmx86asmparser/Makefile
+++ b/lib/clang/libllvmx86asmparser/Makefile
@@ -6,7 +6,8 @@ LIB= llvmx86asmparser
SRCDIR= lib/Target/X86/AsmParser
INCDIR= lib/Target/X86
-SRCS= X86AsmParser.cpp
+SRCS= X86AsmInstrumentation.cpp \
+ X86AsmParser.cpp
TGHDRS= X86GenAsmMatcher \
X86GenInstrInfo \
diff --git a/lib/clang/libllvmx86codegen/Makefile b/lib/clang/libllvmx86codegen/Makefile
index ed7ab8e..b030b1f 100644
--- a/lib/clang/libllvmx86codegen/Makefile
+++ b/lib/clang/libllvmx86codegen/Makefile
@@ -6,8 +6,7 @@ LIB= llvmx86codegen
SRCDIR= lib/Target/X86
SRCS= X86AsmPrinter.cpp \
- X86COFFMachineModuleInfo.cpp \
- X86CodeEmitter.cpp \
+ X86CallFrameOptimization.cpp \
X86FastISel.cpp \
X86FixupLEAs.cpp \
X86FloatingPoint.cpp \
@@ -15,7 +14,6 @@ SRCS= X86AsmPrinter.cpp \
X86ISelDAGToDAG.cpp \
X86ISelLowering.cpp \
X86InstrInfo.cpp \
- X86JITInfo.cpp \
X86MCInstLower.cpp \
X86MachineFunctionInfo.cpp \
X86PadShortFunction.cpp \
diff --git a/lib/clang/libllvmx86desc/Makefile b/lib/clang/libllvmx86desc/Makefile
index 6401649..1ca2839 100644
--- a/lib/clang/libllvmx86desc/Makefile
+++ b/lib/clang/libllvmx86desc/Makefile
@@ -13,7 +13,8 @@ SRCS= X86AsmBackend.cpp \
X86MCTargetDesc.cpp \
X86MachORelocationInfo.cpp \
X86MachObjectWriter.cpp \
- X86WinCOFFObjectWriter.cpp
+ X86WinCOFFObjectWriter.cpp \
+ X86WinCOFFStreamer.cpp
CFLAGS+= -I${LLVM_SRCS}/${SRCDIR}/..
TGHDRS= X86GenInstrInfo \
diff --git a/lib/clang/libllvmx86disassembler/Makefile b/lib/clang/libllvmx86disassembler/Makefile
index e5489a0..23ec976 100644
--- a/lib/clang/libllvmx86disassembler/Makefile
+++ b/lib/clang/libllvmx86disassembler/Makefile
@@ -9,11 +9,12 @@ INCDIR= lib/Target/X86
SRCS= X86Disassembler.cpp
.if ${MK_CLANG_EXTRAS} != "no" || ${MK_LLDB} != "no"
-SRCS+= X86DisassemblerDecoder.c
+SRCS+= X86DisassemblerDecoder.cpp
.endif
TGHDRS= X86GenDisassemblerTables \
X86GenInstrInfo \
- X86GenRegisterInfo
+ X86GenRegisterInfo \
+ X86GenSubtargetInfo
.include "../clang.lib.mk"
OpenPOWER on IntegriCloud