summaryrefslogtreecommitdiffstats
path: root/lib/clang
diff options
context:
space:
mode:
Diffstat (limited to 'lib/clang')
-rw-r--r--lib/clang/Makefile11
-rw-r--r--lib/clang/clang.build.mk29
-rw-r--r--lib/clang/include/Makefile17
-rw-r--r--lib/clang/include/PPCGenAsmMatcher.inc2
-rw-r--r--lib/clang/include/PPCGenFastISel.inc2
-rw-r--r--lib/clang/include/SparcGenAsmMatcher.inc2
-rw-r--r--lib/clang/include/SparcGenAsmWriter.inc2
-rw-r--r--lib/clang/include/SparcGenCallingConv.inc2
-rw-r--r--lib/clang/include/SparcGenCodeEmitter.inc2
-rw-r--r--lib/clang/include/SparcGenDAGISel.inc2
-rw-r--r--lib/clang/include/SparcGenDisassemblerTables.inc2
-rw-r--r--lib/clang/include/SparcGenInstrInfo.inc2
-rw-r--r--lib/clang/include/SparcGenMCCodeEmitter.inc2
-rw-r--r--lib/clang/include/SparcGenRegisterInfo.inc2
-rw-r--r--lib/clang/include/SparcGenSubtargetInfo.inc2
-rw-r--r--lib/clang/include/clang/Basic/Version.inc8
-rw-r--r--lib/clang/include/clang/Parse/AttrExprArgs.inc2
-rw-r--r--lib/clang/include/clang/Parse/AttrIdentifierArg.inc2
-rw-r--r--lib/clang/include/clang/Parse/AttrTypeArg.inc2
-rw-r--r--lib/clang/include/clang/Sema/AttrParsedAttrImpl.inc2
-rw-r--r--lib/clang/include/llvm/Config/AsmParsers.def2
-rw-r--r--lib/clang/include/llvm/Config/AsmPrinters.def1
-rw-r--r--lib/clang/include/llvm/Config/Disassemblers.def1
-rw-r--r--lib/clang/include/llvm/Config/Targets.def1
-rw-r--r--lib/clang/include/llvm/Config/config.h107
-rw-r--r--lib/clang/include/llvm/Config/llvm-config.h5
-rw-r--r--lib/clang/libclanganalysis/Makefile1
-rw-r--r--lib/clang/libclangast/Makefile4
-rw-r--r--lib/clang/libclangcodegen/Makefile3
-rw-r--r--lib/clang/libclangdriver/Makefile6
-rw-r--r--lib/clang/libclangparse/Makefile5
-rw-r--r--lib/clang/libclangsema/Makefile4
-rw-r--r--lib/clang/libclangstaticanalyzercheckers/Makefile4
-rw-r--r--lib/clang/libclangstaticanalyzercore/Makefile4
-rw-r--r--lib/clang/liblldbAPI/Makefile4
-rw-r--r--lib/clang/liblldbCommands/Makefile1
-rw-r--r--lib/clang/liblldbCore/Makefile5
-rw-r--r--lib/clang/liblldbDataFormatters/Makefile4
-rw-r--r--lib/clang/liblldbHostCommon/Makefile3
-rw-r--r--lib/clang/liblldbPluginProcessElfCore/Makefile4
-rw-r--r--lib/clang/liblldbPluginProcessFreeBSD/Makefile3
-rw-r--r--lib/clang/liblldbPluginProcessPOSIX/Makefile9
-rw-r--r--lib/clang/liblldbPluginProcessUtility/Makefile3
-rw-r--r--lib/clang/liblldbPluginSymbolFileDWARF/Makefile1
-rw-r--r--lib/clang/liblldbTarget/Makefile5
-rw-r--r--lib/clang/liblldbUtility/Makefile1
-rw-r--r--lib/clang/libllvmanalysis/Makefile12
-rw-r--r--lib/clang/libllvmarchive/Makefile12
-rw-r--r--lib/clang/libllvmarchive/Makefile.depend17
-rw-r--r--lib/clang/libllvmarmdesc/Makefile3
-rw-r--r--lib/clang/libllvmasmprinter/Makefile1
-rw-r--r--lib/clang/libllvmcodegen/Makefile4
-rw-r--r--lib/clang/libllvmcore/Makefile1
-rw-r--r--lib/clang/libllvmdebuginfo/Makefile5
-rw-r--r--lib/clang/libllvmexecutionengine/Makefile1
-rw-r--r--lib/clang/libllvminstrumentation/Makefile7
-rw-r--r--lib/clang/libllvmjit/Makefile1
-rw-r--r--lib/clang/libllvmmc/Makefile8
-rw-r--r--lib/clang/libllvmmipscodegen/Makefile1
-rw-r--r--lib/clang/libllvmmipsdesc/Makefile5
-rw-r--r--lib/clang/libllvmobject/Makefile7
-rw-r--r--lib/clang/libllvmoption/Makefile13
-rw-r--r--lib/clang/libllvmpowerpcasmparser/Makefile16
-rw-r--r--lib/clang/libllvmpowerpccodegen/Makefile3
-rw-r--r--lib/clang/libllvmpowerpcdesc/Makefile6
-rw-r--r--lib/clang/libllvmscalaropts/Makefile13
-rw-r--r--lib/clang/libllvmsparcasmparser/Makefile16
-rw-r--r--lib/clang/libllvmsparccodegen/Makefile34
-rw-r--r--lib/clang/libllvmsparcdesc/Makefile22
-rw-r--r--lib/clang/libllvmsparcdisassembler/Makefile16
-rw-r--r--lib/clang/libllvmsparcinfo/Makefile15
-rw-r--r--lib/clang/libllvmsparcinstprinter/Makefile16
-rw-r--r--lib/clang/libllvmsupport/Makefile8
-rw-r--r--lib/clang/libllvmtransformutils/Makefile3
-rw-r--r--lib/clang/libllvmvectorize/Makefile1
-rw-r--r--lib/clang/libllvmx86desc/Makefile4
76 files changed, 381 insertions, 178 deletions
diff --git a/lib/clang/Makefile b/lib/clang/Makefile
index 3f30c96..d335d80 100644
--- a/lib/clang/Makefile
+++ b/lib/clang/Makefile
@@ -37,7 +37,6 @@ SUBDIR= libclanganalysis \
${_libclangstaticanalyzer} \
\
libllvmanalysis \
- libllvmarchive \
libllvmasmparser \
libllvmasmprinter \
libllvmbitreader \
@@ -54,6 +53,7 @@ SUBDIR= libclanganalysis \
libllvmmcparser \
libllvmobjcarcopts \
libllvmobject \
+ libllvmoption \
libllvmscalaropts \
libllvmselectiondag \
libllvmsupport \
@@ -74,10 +74,17 @@ SUBDIR= libclanganalysis \
libllvmmipsdisassembler \
libllvmmipsinfo \
libllvmmipsinstprinter \
+ libllvmpowerpcasmparser \
libllvmpowerpccodegen \
libllvmpowerpcdesc \
libllvmpowerpcinfo \
libllvmpowerpcinstprinter \
+ libllvmsparcasmparser \
+ libllvmsparccodegen \
+ libllvmsparcdesc \
+ libllvmsparcdisassembler \
+ libllvmsparcinfo \
+ libllvmsparcinstprinter \
libllvmx86asmparser \
libllvmx86codegen \
libllvmx86desc \
@@ -140,4 +147,6 @@ SUBDIR+=liblldb \
SUBDIR+= include
+SUBDIR_PARALLEL=
+
.include <bsd.subdir.mk>
diff --git a/lib/clang/clang.build.mk b/lib/clang/clang.build.mk
index 7202a44..0ba18f0 100644
--- a/lib/clang/clang.build.mk
+++ b/lib/clang/clang.build.mk
@@ -23,12 +23,14 @@ BUILD_ARCH?= ${MACHINE_ARCH}
.if (${TARGET_ARCH} == "arm" || ${TARGET_ARCH} == "armv6") && \
${MK_ARM_EABI} != "no"
TARGET_ABI= gnueabi
+.elif ${TARGET_ARCH} == "armv6hf"
+TARGET_ABI= gnueabihf
.else
TARGET_ABI= unknown
.endif
-TARGET_TRIPLE?= ${TARGET_ARCH:C/amd64/x86_64/}-${TARGET_ABI}-freebsd11.0
-BUILD_TRIPLE?= ${BUILD_ARCH:C/amd64/x86_64/}-unknown-freebsd11.0
+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
CFLAGS+= -DLLVM_DEFAULT_TARGET_TRIPLE=\"${TARGET_TRIPLE}\" \
-DLLVM_HOST_TRIPLE=\"${BUILD_TRIPLE}\" \
-DDEFAULT_SYSROOT=\"${TOOLS_PREFIX}\"
@@ -56,7 +58,7 @@ Intrinsics.inc.h: ${LLVM_SRCS}/include/llvm/IR/Intrinsics.td \
-gen-intrinsic -o ${.TARGET} \
${LLVM_SRCS}/include/llvm/IR/Intrinsics.td
.for arch in \
- ARM/ARM Mips/Mips PowerPC/PPC X86/X86
+ ARM/ARM Mips/Mips PowerPC/PPC Sparc/Sparc X86/X86
. for hdr in \
AsmMatcher/-gen-asm-matcher \
AsmWriter1/-gen-asm-writer,-asmwriternum=1 \
@@ -86,13 +88,14 @@ AttrDump.inc.h: ${CLANG_SRCS}/include/clang/Basic/Attr.td
${CLANG_TBLGEN} -I ${CLANG_SRCS}/include \
-gen-clang-attr-dump -o ${.TARGET} ${.ALLSRC}
-AttrExprArgs.inc.h: ${CLANG_SRCS}/include/clang/Basic/Attr.td
+AttrIdentifierArg.inc.h: ${CLANG_SRCS}/include/clang/Basic/Attr.td
${CLANG_TBLGEN} -I ${CLANG_SRCS}/include \
- -gen-clang-attr-expr-args-list -o ${.TARGET} ${.ALLSRC}
+ -gen-clang-attr-identifier-arg-list -o ${.TARGET} ${.ALLSRC}
AttrImpl.inc.h: ${CLANG_SRCS}/include/clang/Basic/Attr.td
${CLANG_TBLGEN} -I ${CLANG_SRCS}/include \
-gen-clang-attr-impl -o ${.TARGET} ${.ALLSRC}
+
AttrLateParsed.inc.h: ${CLANG_SRCS}/include/clang/Basic/Attr.td
${CLANG_TBLGEN} -I ${CLANG_SRCS}/include \
-gen-clang-attr-late-parsed-list -o ${.TARGET} ${.ALLSRC}
@@ -101,6 +104,10 @@ AttrList.inc.h: ${CLANG_SRCS}/include/clang/Basic/Attr.td
${CLANG_TBLGEN} -I ${CLANG_SRCS}/include \
-gen-clang-attr-list -o ${.TARGET} ${.ALLSRC}
+AttrParsedAttrImpl.inc.h: ${CLANG_SRCS}/include/clang/Basic/Attr.td
+ ${CLANG_TBLGEN} -I ${CLANG_SRCS}/include \
+ -gen-clang-attr-parsed-attr-impl -o ${.TARGET} ${.ALLSRC}
+
AttrParsedAttrKinds.inc.h: ${CLANG_SRCS}/include/clang/Basic/Attr.td
${CLANG_TBLGEN} -I ${CLANG_SRCS}/include \
-gen-clang-attr-parsed-attr-kinds -o ${.TARGET} ${.ALLSRC}
@@ -129,6 +136,10 @@ AttrTemplateInstantiate.inc.h: ${CLANG_SRCS}/include/clang/Basic/Attr.td
${CLANG_TBLGEN} -I ${CLANG_SRCS}/include \
-gen-clang-attr-template-instantiate -o ${.TARGET} ${.ALLSRC}
+AttrTypeArg.inc.h: ${CLANG_SRCS}/include/clang/Basic/Attr.td
+ ${CLANG_TBLGEN} -I ${CLANG_SRCS}/include \
+ -gen-clang-attr-type-arg-list -o ${.TARGET} ${.ALLSRC}
+
CommentCommandInfo.inc.h: ${CLANG_SRCS}/include/clang/AST/CommentCommands.td
${CLANG_TBLGEN} \
-gen-clang-comment-command-info -o ${.TARGET} ${.ALLSRC}
@@ -164,6 +175,10 @@ StmtNodes.inc.h: ${CLANG_SRCS}/include/clang/Basic/StmtNodes.td
${CLANG_TBLGEN} \
-gen-clang-stmt-nodes -o ${.TARGET} ${.ALLSRC}
+arm_neon.h: ${CLANG_SRCS}/include/clang/Basic/arm_neon.td
+ ${CLANG_TBLGEN} \
+ -gen-arm-neon -o ${.TARGET} ${.ALLSRC}
+
arm_neon.inc.h: ${CLANG_SRCS}/include/clang/Basic/arm_neon.td
${CLANG_TBLGEN} \
-gen-arm-neon-sema -o ${.TARGET} ${.ALLSRC}
@@ -184,11 +199,11 @@ Diagnostic${hdr}Kinds.inc.h: ${CLANG_SRCS}/include/clang/Basic/Diagnostic.td
.endfor
Options.inc.h: ${CLANG_SRCS}/include/clang/Driver/Options.td
- ${CLANG_TBLGEN} -I ${CLANG_SRCS}/include/clang/Driver \
+ ${TBLGEN} -I ${LLVM_SRCS}/include -I ${CLANG_SRCS}/include/clang/Driver \
-gen-opt-parser-defs -o ${.TARGET} ${.ALLSRC}
CC1AsOptions.inc.h: ${CLANG_SRCS}/include/clang/Driver/CC1AsOptions.td
- ${CLANG_TBLGEN} -I ${CLANG_SRCS}/include/clang/Driver \
+ ${TBLGEN} -I ${LLVM_SRCS}/include -I ${CLANG_SRCS}/include/clang/Driver \
-gen-opt-parser-defs -o ${.TARGET} ${.ALLSRC}
Checkers.inc.h: ${CLANG_SRCS}/lib/StaticAnalyzer/Checkers/Checkers.td \
diff --git a/lib/clang/include/Makefile b/lib/clang/include/Makefile
index 1c6bd5c..2b5a976 100644
--- a/lib/clang/include/Makefile
+++ b/lib/clang/include/Makefile
@@ -1,8 +1,14 @@
# $FreeBSD$
-.PATH: ${.CURDIR}/../../../contrib/llvm/tools/clang/lib/Headers
+.include <bsd.own.mk>
-INCSDIR=${INCLUDEDIR}/clang/3.3
+LLVM_SRCS= ${.CURDIR}/../../../contrib/llvm
+
+.include "../clang.build.mk"
+
+.PATH: ${LLVM_SRCS}/tools/clang/lib/Headers
+
+INCSDIR=${INCLUDEDIR}/clang/3.4
INCS= __wmmintrin_aes.h \
__wmmintrin_pclmul.h \
@@ -29,11 +35,16 @@ INCS= __wmmintrin_aes.h \
prfchwintrin.h \
rdseedintrin.h \
rtmintrin.h \
+ shaintrin.h \
smmintrin.h \
+ tbmintrin.h \
tmmintrin.h \
wmmintrin.h \
x86intrin.h \
xmmintrin.h \
- xopintrin.h
+ xopintrin.h \
+ ${GENINCS}
+GENINCS= arm_neon.h
+CLEANFILES= ${GENINCS}
.include <bsd.prog.mk>
diff --git a/lib/clang/include/PPCGenAsmMatcher.inc b/lib/clang/include/PPCGenAsmMatcher.inc
new file mode 100644
index 0000000..0538126
--- /dev/null
+++ b/lib/clang/include/PPCGenAsmMatcher.inc
@@ -0,0 +1,2 @@
+/* $FreeBSD$ */
+#include "PPCGenAsmMatcher.inc.h"
diff --git a/lib/clang/include/PPCGenFastISel.inc b/lib/clang/include/PPCGenFastISel.inc
new file mode 100644
index 0000000..fec1988
--- /dev/null
+++ b/lib/clang/include/PPCGenFastISel.inc
@@ -0,0 +1,2 @@
+/* $FreeBSD$ */
+#include "PPCGenFastISel.inc.h"
diff --git a/lib/clang/include/SparcGenAsmMatcher.inc b/lib/clang/include/SparcGenAsmMatcher.inc
new file mode 100644
index 0000000..3522c59
--- /dev/null
+++ b/lib/clang/include/SparcGenAsmMatcher.inc
@@ -0,0 +1,2 @@
+/* $FreeBSD$ */
+#include "SparcGenAsmMatcher.inc.h"
diff --git a/lib/clang/include/SparcGenAsmWriter.inc b/lib/clang/include/SparcGenAsmWriter.inc
new file mode 100644
index 0000000..c5ae5dc
--- /dev/null
+++ b/lib/clang/include/SparcGenAsmWriter.inc
@@ -0,0 +1,2 @@
+/* $FreeBSD$ */
+#include "SparcGenAsmWriter.inc.h"
diff --git a/lib/clang/include/SparcGenCallingConv.inc b/lib/clang/include/SparcGenCallingConv.inc
new file mode 100644
index 0000000..dde4d8f
--- /dev/null
+++ b/lib/clang/include/SparcGenCallingConv.inc
@@ -0,0 +1,2 @@
+/* $FreeBSD$ */
+#include "SparcGenCallingConv.inc.h"
diff --git a/lib/clang/include/SparcGenCodeEmitter.inc b/lib/clang/include/SparcGenCodeEmitter.inc
new file mode 100644
index 0000000..0cd2fee
--- /dev/null
+++ b/lib/clang/include/SparcGenCodeEmitter.inc
@@ -0,0 +1,2 @@
+/* $FreeBSD$ */
+#include "SparcGenCodeEmitter.inc.h"
diff --git a/lib/clang/include/SparcGenDAGISel.inc b/lib/clang/include/SparcGenDAGISel.inc
new file mode 100644
index 0000000..d85ed6c
--- /dev/null
+++ b/lib/clang/include/SparcGenDAGISel.inc
@@ -0,0 +1,2 @@
+/* $FreeBSD$ */
+#include "SparcGenDAGISel.inc.h"
diff --git a/lib/clang/include/SparcGenDisassemblerTables.inc b/lib/clang/include/SparcGenDisassemblerTables.inc
new file mode 100644
index 0000000..0749ef2
--- /dev/null
+++ b/lib/clang/include/SparcGenDisassemblerTables.inc
@@ -0,0 +1,2 @@
+/* $FreeBSD$ */
+#include "SparcGenDisassemblerTables.inc.h"
diff --git a/lib/clang/include/SparcGenInstrInfo.inc b/lib/clang/include/SparcGenInstrInfo.inc
new file mode 100644
index 0000000..81c8e0b
--- /dev/null
+++ b/lib/clang/include/SparcGenInstrInfo.inc
@@ -0,0 +1,2 @@
+/* $FreeBSD$ */
+#include "SparcGenInstrInfo.inc.h"
diff --git a/lib/clang/include/SparcGenMCCodeEmitter.inc b/lib/clang/include/SparcGenMCCodeEmitter.inc
new file mode 100644
index 0000000..1e6d6ef
--- /dev/null
+++ b/lib/clang/include/SparcGenMCCodeEmitter.inc
@@ -0,0 +1,2 @@
+/* $FreeBSD$ */
+#include "SparcGenMCCodeEmitter.inc.h"
diff --git a/lib/clang/include/SparcGenRegisterInfo.inc b/lib/clang/include/SparcGenRegisterInfo.inc
new file mode 100644
index 0000000..0c3a91c
--- /dev/null
+++ b/lib/clang/include/SparcGenRegisterInfo.inc
@@ -0,0 +1,2 @@
+/* $FreeBSD$ */
+#include "SparcGenRegisterInfo.inc.h"
diff --git a/lib/clang/include/SparcGenSubtargetInfo.inc b/lib/clang/include/SparcGenSubtargetInfo.inc
new file mode 100644
index 0000000..ac63a72
--- /dev/null
+++ b/lib/clang/include/SparcGenSubtargetInfo.inc
@@ -0,0 +1,2 @@
+/* $FreeBSD$ */
+#include "SparcGenSubtargetInfo.inc.h"
diff --git a/lib/clang/include/clang/Basic/Version.inc b/lib/clang/include/clang/Basic/Version.inc
index 1b62e7f..d63713e 100644
--- a/lib/clang/include/clang/Basic/Version.inc
+++ b/lib/clang/include/clang/Basic/Version.inc
@@ -1,10 +1,10 @@
/* $FreeBSD$ */
-#define CLANG_VERSION 3.3
+#define CLANG_VERSION 3.4
#define CLANG_VERSION_MAJOR 3
-#define CLANG_VERSION_MINOR 3
+#define CLANG_VERSION_MINOR 4
#define CLANG_VENDOR "FreeBSD "
-#define CLANG_VENDOR_SUFFIX " 20130610"
+#define CLANG_VENDOR_SUFFIX " 20140216"
-#define SVN_REVISION "183502"
+#define SVN_REVISION "197956"
diff --git a/lib/clang/include/clang/Parse/AttrExprArgs.inc b/lib/clang/include/clang/Parse/AttrExprArgs.inc
deleted file mode 100644
index 043e034..0000000
--- a/lib/clang/include/clang/Parse/AttrExprArgs.inc
+++ /dev/null
@@ -1,2 +0,0 @@
-/* $FreeBSD$ */
-#include "AttrExprArgs.inc.h"
diff --git a/lib/clang/include/clang/Parse/AttrIdentifierArg.inc b/lib/clang/include/clang/Parse/AttrIdentifierArg.inc
new file mode 100644
index 0000000..2969a50
--- /dev/null
+++ b/lib/clang/include/clang/Parse/AttrIdentifierArg.inc
@@ -0,0 +1,2 @@
+/* $FreeBSD$ */
+#include "AttrIdentifierArg.inc.h"
diff --git a/lib/clang/include/clang/Parse/AttrTypeArg.inc b/lib/clang/include/clang/Parse/AttrTypeArg.inc
new file mode 100644
index 0000000..8eb4699
--- /dev/null
+++ b/lib/clang/include/clang/Parse/AttrTypeArg.inc
@@ -0,0 +1,2 @@
+/* $FreeBSD$ */
+#include "AttrTypeArg.inc.h"
diff --git a/lib/clang/include/clang/Sema/AttrParsedAttrImpl.inc b/lib/clang/include/clang/Sema/AttrParsedAttrImpl.inc
new file mode 100644
index 0000000..9577856
--- /dev/null
+++ b/lib/clang/include/clang/Sema/AttrParsedAttrImpl.inc
@@ -0,0 +1,2 @@
+/* $FreeBSD$ */
+#include "AttrParsedAttrImpl.inc.h"
diff --git a/lib/clang/include/llvm/Config/AsmParsers.def b/lib/clang/include/llvm/Config/AsmParsers.def
index 024462e..e0165f0 100644
--- a/lib/clang/include/llvm/Config/AsmParsers.def
+++ b/lib/clang/include/llvm/Config/AsmParsers.def
@@ -2,6 +2,8 @@
LLVM_ASM_PARSER(ARM)
LLVM_ASM_PARSER(Mips)
+LLVM_ASM_PARSER(PowerPC)
+LLVM_ASM_PARSER(Sparc)
LLVM_ASM_PARSER(X86)
#undef LLVM_ASM_PARSER
diff --git a/lib/clang/include/llvm/Config/AsmPrinters.def b/lib/clang/include/llvm/Config/AsmPrinters.def
index ca335df..97ca952 100644
--- a/lib/clang/include/llvm/Config/AsmPrinters.def
+++ b/lib/clang/include/llvm/Config/AsmPrinters.def
@@ -3,6 +3,7 @@
LLVM_ASM_PRINTER(ARM)
LLVM_ASM_PRINTER(Mips)
LLVM_ASM_PRINTER(PowerPC)
+LLVM_ASM_PRINTER(Sparc)
LLVM_ASM_PRINTER(X86)
#undef LLVM_ASM_PRINTER
diff --git a/lib/clang/include/llvm/Config/Disassemblers.def b/lib/clang/include/llvm/Config/Disassemblers.def
index 1b26531..25406a4 100644
--- a/lib/clang/include/llvm/Config/Disassemblers.def
+++ b/lib/clang/include/llvm/Config/Disassemblers.def
@@ -2,6 +2,7 @@
LLVM_DISASSEMBLER(ARM)
LLVM_DISASSEMBLER(Mips)
+LLVM_DISASSEMBLER(Sparc)
LLVM_DISASSEMBLER(X86)
#undef LLVM_DISASSEMBLER
diff --git a/lib/clang/include/llvm/Config/Targets.def b/lib/clang/include/llvm/Config/Targets.def
index 85c3ffe..e51e06a 100644
--- a/lib/clang/include/llvm/Config/Targets.def
+++ b/lib/clang/include/llvm/Config/Targets.def
@@ -3,6 +3,7 @@
LLVM_TARGET(ARM)
LLVM_TARGET(Mips)
LLVM_TARGET(PowerPC)
+LLVM_TARGET(Sparc)
LLVM_TARGET(X86)
#undef LLVM_TARGET
diff --git a/lib/clang/include/llvm/Config/config.h b/lib/clang/include/llvm/Config/config.h
index d72aba8..985d259 100644
--- a/lib/clang/include/llvm/Config/config.h
+++ b/lib/clang/include/llvm/Config/config.h
@@ -8,6 +8,9 @@
/* Get __FreeBSD_version. */
#include <osreldate.h>
+/* Define if building universal (internal helper macro) */
+/* #undef AC_APPLE_UNIVERSAL_BUILD */
+
/* Bug report URL. */
#define BUG_REPORT_URL "http://llvm.org/bugs/"
@@ -26,6 +29,9 @@
/* Define if you want backtraces on crash */
#define ENABLE_BACKTRACES 1
+/* Define to enable crash handling overrides */
+#define ENABLE_CRASH_OVERRIDES 1
+
/* Define if position independent code is enabled */
#define ENABLE_PIC 0
@@ -56,15 +62,9 @@
/* Define to 1 if you have the `argz_stringify' function. */
/* #undef HAVE_ARGZ_STRINGIFY */
-/* Define to 1 if you have the <assert.h> header file. */
-#define HAVE_ASSERT_H 1
-
/* Define to 1 if you have the `backtrace' function. */
/* #undef HAVE_BACKTRACE */
-/* Define to 1 if you have the `bcopy' function. */
-/* #undef HAVE_BCOPY */
-
/* Define to 1 if you have the `ceilf' function. */
#define HAVE_CEILF 1
@@ -80,9 +80,6 @@
/* can use __crashreporter_info__ */
#define HAVE_CRASHREPORTER_INFO 0
-/* Define to 1 if you have the <ctype.h> header file. */
-#define HAVE_CTYPE_H 1
-
/* Define to 1 if you have the <cxxabi.h> header file. */
#define HAVE_CXXABI_H 1
@@ -105,9 +102,6 @@
/* Define if you have the GNU dld library. */
/* #undef HAVE_DLD */
-/* Define to 1 if you have the <dld.h> header file. */
-/* #undef HAVE_DLD_H */
-
/* Define to 1 if you have the `dlerror' function. */
#define HAVE_DLERROR 1
@@ -117,9 +111,6 @@
/* Define if dlopen() is available on this platform. */
#define HAVE_DLOPEN 1
-/* Define to 1 if you have the <dl.h> header file. */
-/* #undef HAVE_DL_H */
-
/* Define if the dot program is available */
/* #undef HAVE_DOT */
@@ -171,6 +162,12 @@
/* Define to 1 if you have the `fmodf' function. */
#define HAVE_FMODF 1
+/* Define to 1 if you have the `futimens' function. */
+/* #undef HAVE_FUTIMENS */
+
+/* Define to 1 if you have the `futimes' function. */
+#define HAVE_FUTIMES 1
+
/* Define to 1 if you have the `getcwd' function. */
#define HAVE_GETCWD 1
@@ -192,9 +189,6 @@
/* Define if the gv program is available */
/* #undef HAVE_GV */
-/* Define to 1 if you have the `index' function. */
-/* #undef HAVE_INDEX */
-
/* Define to 1 if the system has the type `int64_t'. */
#define HAVE_INT64_T 1
@@ -231,16 +225,16 @@
/* Define to 1 if you have the `pthread' library (-lpthread). */
/* #undef HAVE_LIBPTHREAD */
+/* 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
-/* Define to 1 if you have the <limits.h> header file. */
-#define HAVE_LIMITS_H 1
-
-/* Define if you can use -Wl,-export-dynamic. */
+/* Define if you can use -rdynamic. */
#define HAVE_LINK_EXPORT_DYNAMIC 1
/* Define to 1 if you have the <link.h> header file. */
@@ -282,12 +276,6 @@
/* Define to 1 if you have the `malloc_zone_statistics' function. */
/* #undef HAVE_MALLOC_ZONE_STATISTICS */
-/* Define to 1 if you have the `memcpy' function. */
-#define HAVE_MEMCPY 1
-
-/* Define to 1 if you have the `memmove' function. */
-#define HAVE_MEMMOVE 1
-
/* Define to 1 if you have the <memory.h> header file. */
#define HAVE_MEMORY_H 1
@@ -358,9 +346,6 @@
/* Define to 1 if you have the `realpath' function. */
#define HAVE_REALPATH 1
-/* Define to 1 if you have the `rindex' function. */
-/* #undef HAVE_RINDEX */
-
/* Define to 1 if you have the `rintf' function. */
#define HAVE_RINTF 1
@@ -400,9 +385,6 @@
/* Define to 1 if you have the <stdint.h> header file. */
#define HAVE_STDINT_H 1
-/* Define to 1 if you have the <stdio.h> header file. */
-#define HAVE_STDIO_H 1
-
/* Define to 1 if you have the <stdlib.h> header file. */
#define HAVE_STDLIB_H 1
@@ -412,15 +394,6 @@
/* Set to 1 if the std::isnan function is found in <cmath> */
#define HAVE_STD_ISNAN_IN_CMATH 1
-/* Define to 1 if you have the `strchr' function. */
-#define HAVE_STRCHR 1
-
-/* Define to 1 if you have the `strcmp' function. */
-#define HAVE_STRCMP 1
-
-/* Define to 1 if you have the `strdup' function. */
-#define HAVE_STRDUP 1
-
/* Define to 1 if you have the `strerror' function. */
#define HAVE_STRERROR 1
@@ -433,9 +406,6 @@
/* Define to 1 if you have the <string.h> header file. */
#define HAVE_STRING_H 1
-/* Define to 1 if you have the `strrchr' function. */
-#define HAVE_STRRCHR 1
-
/* Define to 1 if you have the `strtof' function. */
#define HAVE_STRTOF 1
@@ -452,9 +422,6 @@
*/
/* #undef HAVE_SYS_DIR_H */
-/* Define to 1 if you have the <sys/dl.h> header file. */
-/* #undef HAVE_SYS_DL_H */
-
/* Define to 1 if you have the <sys/ioctl.h> header file. */
#define HAVE_SYS_IOCTL_H 1
@@ -486,6 +453,9 @@
/* Define to 1 if you have <sys/wait.h> that is POSIX.1 compatible. */
#define HAVE_SYS_WAIT_H 1
+/* Define if the setupterm() function is supported this platform. */
+#define HAVE_TERMINFO 1
+
/* Define to 1 if you have the <termios.h> header file. */
#define HAVE_TERMIOS_H 1
@@ -507,14 +477,11 @@
/* Define to 1 if you have the <valgrind/valgrind.h> header file. */
/* #undef HAVE_VALGRIND_VALGRIND_H */
-/* Define to 1 if you have the <windows.h> header file. */
-/* #undef HAVE_WINDOWS_H */
-
/* Define to 1 if you have the `writev' function. */
#define HAVE_WRITEV 1
-/* Define if the xdot.py program is available */
-/* #undef HAVE_XDOT_PY */
+/* 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
@@ -609,9 +576,6 @@
/* Installation directory for .info files */
/* #undef LLVM_INFODIR */
-/* Installation directory for libraries */
-/* #undef LLVM_LIBDIR */
-
/* Installation directory for man pages */
/* #undef LLVM_MANDIR */
@@ -666,8 +630,8 @@
/* 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 */
+/* Define to path to xdot program if found or 'echo xdot' otherwise */
+/* #undef LLVM_PATH_XDOT */
/* Installation prefix directory */
#define LLVM_PREFIX ""
@@ -682,7 +646,7 @@
#define LLVM_VERSION_MAJOR 3
/* Minor version of the LLVM API */
-#define LLVM_VERSION_MINOR 3
+#define LLVM_VERSION_MINOR 4
/* Define if the OS needs help to load dependent libraries for dlopen(). */
#define LTDL_DLOPEN_DEPLIBS 1
@@ -691,10 +655,6 @@
*/
#define LTDL_OBJDIR ".libs/"
-/* Define to the name of the environment variable that determines the dynamic
- library search path. */
-#define LTDL_SHLIBPATH_VAR "LD_LIBRARY_PATH"
-
/* Define to the extension used for shared libraries, say, ".so". */
#define LTDL_SHLIB_EXT ".so"
@@ -715,13 +675,16 @@
#define PACKAGE_NAME "LLVM"
/* Define to the full name and version of this package. */
-#define PACKAGE_STRING "LLVM 3.3"
+#define PACKAGE_STRING "LLVM 3.4"
/* Define to the one symbol short name of this package. */
#define PACKAGE_TARNAME "llvm"
+/* Define to the home page for this package. */
+/* #undef PACKAGE_URL */
+
/* Define to the version of this package. */
-#define PACKAGE_VERSION "3.3"
+#define PACKAGE_VERSION "3.4"
/* Define as the return type of signal handlers (`int' or `void'). */
#define RETSIGTYPE void
@@ -744,6 +707,18 @@
/* Type of 1st arg on ELM Callback */
/* #undef WIN32_ELMCB_PCSTR */
+/* Define WORDS_BIGENDIAN to 1 if your processor stores words with the most
+ significant byte first (like Motorola and SPARC, unlike Intel). */
+#if defined AC_APPLE_UNIVERSAL_BUILD
+# if defined __BIG_ENDIAN__
+# define WORDS_BIGENDIAN 1
+# endif
+#else
+# ifndef WORDS_BIGENDIAN
+/* # undef WORDS_BIGENDIAN */
+# endif
+#endif
+
/* Define to empty if `const' does not conform to ANSI C. */
/* #undef const */
diff --git a/lib/clang/include/llvm/Config/llvm-config.h b/lib/clang/include/llvm/Config/llvm-config.h
index 86e0e49..c746687 100644
--- a/lib/clang/include/llvm/Config/llvm-config.h
+++ b/lib/clang/include/llvm/Config/llvm-config.h
@@ -51,9 +51,6 @@
/* Installation directory for .info files */
/* #undef LLVM_INFODIR */
-/* Installation directory for libraries */
-/* #undef LLVM_LIBDIR */
-
/* Installation directory for man pages */
/* #undef LLVM_MANDIR */
@@ -124,6 +121,6 @@
#define LLVM_VERSION_MAJOR 3
/* Minor version of the LLVM API */
-#define LLVM_VERSION_MINOR 3
+#define LLVM_VERSION_MINOR 4
#endif
diff --git a/lib/clang/libclanganalysis/Makefile b/lib/clang/libclanganalysis/Makefile
index 40deb80..f71b689 100644
--- a/lib/clang/libclanganalysis/Makefile
+++ b/lib/clang/libclanganalysis/Makefile
@@ -12,6 +12,7 @@ SRCS= AnalysisDeclContext.cpp \
CFGStmtMap.cpp \
CallGraph.cpp \
CocoaConventions.cpp \
+ Consumed.cpp \
Dominators.cpp \
FormatString.cpp \
LiveVariables.cpp \
diff --git a/lib/clang/libclangast/Makefile b/lib/clang/libclangast/Makefile
index a867725..71cd684 100644
--- a/lib/clang/libclangast/Makefile
+++ b/lib/clang/libclangast/Makefile
@@ -11,6 +11,7 @@ SRCS= APValue.cpp \
ASTDiagnostic.cpp \
ASTDumper.cpp \
ASTImporter.cpp \
+ ASTTypeTraits.cpp \
AttrImpl.cpp \
CXXInheritance.cpp \
Comment.cpp \
@@ -29,7 +30,6 @@ SRCS= APValue.cpp \
DeclPrinter.cpp \
DeclTemplate.cpp \
DeclarationName.cpp \
- DumpXML.cpp \
Expr.cpp \
ExprCXX.cpp \
ExprClassification.cpp \
@@ -38,8 +38,8 @@ SRCS= APValue.cpp \
InheritViz.cpp \
ItaniumCXXABI.cpp \
ItaniumMangle.cpp \
- LambdaMangleContext.cpp \
Mangle.cpp \
+ MangleNumberingContext.cpp \
MicrosoftCXXABI.cpp \
MicrosoftMangle.cpp \
NSAPI.cpp \
diff --git a/lib/clang/libclangcodegen/Makefile b/lib/clang/libclangcodegen/Makefile
index cf58049..3b45f6b 100644
--- a/lib/clang/libclangcodegen/Makefile
+++ b/lib/clang/libclangcodegen/Makefile
@@ -36,6 +36,7 @@ SRCS= BackendUtil.cpp \
CGStmt.cpp \
CGVTT.cpp \
CGVTables.cpp \
+ CodeGenABITypes.cpp \
CodeGenAction.cpp \
CodeGenFunction.cpp \
CodeGenModule.cpp \
@@ -43,6 +44,7 @@ SRCS= BackendUtil.cpp \
CodeGenTypes.cpp \
ItaniumCXXABI.cpp \
MicrosoftCXXABI.cpp \
+ MicrosoftVBTables.cpp \
ModuleBuilder.cpp \
TargetInfo.cpp
@@ -53,6 +55,7 @@ TGHDRS= AttrList \
DeclNodes \
DiagnosticCommonKinds \
DiagnosticFrontendKinds \
+ DiagnosticSemaKinds \
Intrinsics \
StmtNodes \
arm_neon
diff --git a/lib/clang/libclangdriver/Makefile b/lib/clang/libclangdriver/Makefile
index aae2a05..91a8f61 100644
--- a/lib/clang/libclangdriver/Makefile
+++ b/lib/clang/libclangdriver/Makefile
@@ -6,16 +6,13 @@ LIB= clangdriver
SRCDIR= tools/clang/lib/Driver
SRCS= Action.cpp \
- Arg.cpp \
- ArgList.cpp \
CC1AsOptions.cpp \
Compilation.cpp \
Driver.cpp \
DriverOptions.cpp \
Job.cpp \
- OptTable.cpp \
- Option.cpp \
Phases.cpp \
+ SanitizerArgs.cpp \
Tool.cpp \
ToolChain.cpp \
ToolChains.cpp \
@@ -26,6 +23,7 @@ SRCS= Action.cpp \
TGHDRS= CC1AsOptions \
DiagnosticCommonKinds \
DiagnosticDriverKinds \
+ DiagnosticSemaKinds \
Options
.include "../clang.lib.mk"
diff --git a/lib/clang/libclangparse/Makefile b/lib/clang/libclangparse/Makefile
index 279d003..b204d87 100644
--- a/lib/clang/libclangparse/Makefile
+++ b/lib/clang/libclangparse/Makefile
@@ -20,10 +20,11 @@ SRCS= ParseAST.cpp \
ParseTentative.cpp \
Parser.cpp
-TGHDRS= AttrLateParsed \
+TGHDRS= AttrIdentifierArg \
+ AttrLateParsed \
AttrList \
AttrParsedAttrList \
- AttrExprArgs \
+ AttrTypeArg \
Attrs \
CommentCommandList \
CommentNodes \
diff --git a/lib/clang/libclangsema/Makefile b/lib/clang/libclangsema/Makefile
index c9f56d4..9157b46 100644
--- a/lib/clang/libclangsema/Makefile
+++ b/lib/clang/libclangsema/Makefile
@@ -49,9 +49,11 @@ SRCS= AnalysisBasedWarnings.cpp \
SemaTemplateInstantiateDecl.cpp \
SemaTemplateVariadic.cpp \
SemaType.cpp \
- TargetAttributesSema.cpp
+ TargetAttributesSema.cpp \
+ TypeLocBuilder.cpp
TGHDRS= AttrList \
+ AttrParsedAttrImpl \
AttrParsedAttrKinds \
AttrParsedAttrList \
AttrSpellingListIndex \
diff --git a/lib/clang/libclangstaticanalyzercheckers/Makefile b/lib/clang/libclangstaticanalyzercheckers/Makefile
index 10968d2..db27182 100644
--- a/lib/clang/libclangstaticanalyzercheckers/Makefile
+++ b/lib/clang/libclangstaticanalyzercheckers/Makefile
@@ -24,7 +24,6 @@ SRCS= AllocationDiagnostics.cpp \
CheckerDocumentation.cpp \
ChrootChecker.cpp \
ClangCheckers.cpp \
- CommonBugCategories.cpp \
DeadStoresChecker.cpp \
DebugCheckers.cpp \
DereferenceChecker.cpp \
@@ -35,6 +34,7 @@ SRCS= AllocationDiagnostics.cpp \
FixedAddressChecker.cpp \
GenericTaintChecker.cpp \
IdempotentOperationChecker.cpp \
+ IdenticalExprChecker.cpp \
IvarInvalidationChecker.cpp \
LLVMConventionsChecker.cpp \
MacOSKeychainAPIChecker.cpp \
@@ -44,8 +44,8 @@ SRCS= AllocationDiagnostics.cpp \
MallocSizeofChecker.cpp \
NSAutoreleasePoolChecker.cpp \
NSErrorChecker.cpp \
- NonNullParamChecker.cpp \
NoReturnFunctionChecker.cpp \
+ NonNullParamChecker.cpp \
ObjCAtSyncChecker.cpp \
ObjCContainersASTChecker.cpp \
ObjCContainersChecker.cpp \
diff --git a/lib/clang/libclangstaticanalyzercore/Makefile b/lib/clang/libclangstaticanalyzercore/Makefile
index eda991e..74f49bf 100644
--- a/lib/clang/libclangstaticanalyzercore/Makefile
+++ b/lib/clang/libclangstaticanalyzercore/Makefile
@@ -18,6 +18,7 @@ SRCS= APSIntType.cpp \
CheckerHelpers.cpp \
CheckerManager.cpp \
CheckerRegistry.cpp \
+ CommonBugCategories.cpp \
ConstraintManager.cpp \
CoreEngine.cpp \
Environment.cpp \
@@ -41,8 +42,7 @@ SRCS= APSIntType.cpp \
SimpleSValBuilder.cpp \
Store.cpp \
SubEngine.cpp \
- SymbolManager.cpp \
- TextPathDiagnostics.cpp
+ SymbolManager.cpp
TGHDRS= AttrList \
Attrs \
diff --git a/lib/clang/liblldbAPI/Makefile b/lib/clang/liblldbAPI/Makefile
index 275b26f..d041d09 100644
--- a/lib/clang/liblldbAPI/Makefile
+++ b/lib/clang/liblldbAPI/Makefile
@@ -25,14 +25,16 @@ SRCS= SBAddress.cpp \
SBFrame.cpp \
SBFunction.cpp \
SBHostOS.cpp \
- SBInputReader.cpp \
SBInstruction.cpp \
SBInstructionList.cpp \
SBLineEntry.cpp \
SBListener.cpp \
SBModule.cpp \
SBModuleSpec.cpp \
+ SBPlatform.cpp \
SBProcess.cpp \
+ SBQueue.cpp \
+ SBQueueItem.cpp \
SBSection.cpp \
SBSourceManager.cpp \
SBStream.cpp \
diff --git a/lib/clang/liblldbCommands/Makefile b/lib/clang/liblldbCommands/Makefile
index 6709017..f7baf83 100644
--- a/lib/clang/liblldbCommands/Makefile
+++ b/lib/clang/liblldbCommands/Makefile
@@ -14,6 +14,7 @@ SRCS= CommandCompletions.cpp \
CommandObjectDisassemble.cpp \
CommandObjectExpression.cpp \
CommandObjectFrame.cpp \
+ CommandObjectGUI.cpp \
CommandObjectHelp.cpp \
CommandObjectLog.cpp \
CommandObjectMemory.cpp \
diff --git a/lib/clang/liblldbCore/Makefile b/lib/clang/liblldbCore/Makefile
index 4457531..e0335f4 100644
--- a/lib/clang/liblldbCore/Makefile
+++ b/lib/clang/liblldbCore/Makefile
@@ -32,9 +32,7 @@ SRCS= Address.cpp \
FileLineResolver.cpp \
FileSpecList.cpp \
History.cpp \
- InputReader.cpp \
- InputReaderEZ.cpp \
- InputReaderStack.cpp \
+ IOHandler.cpp \
Language.cpp \
Listener.cpp \
Log.cpp \
@@ -55,6 +53,7 @@ SRCS= Address.cpp \
StreamAsynchronousIO.cpp \
StreamCallback.cpp \
StreamFile.cpp \
+ StreamGDBRemote.cpp \
StreamString.cpp \
StringList.cpp \
Timer.cpp \
diff --git a/lib/clang/liblldbDataFormatters/Makefile b/lib/clang/liblldbDataFormatters/Makefile
index ca8a6c8..b224215 100644
--- a/lib/clang/liblldbDataFormatters/Makefile
+++ b/lib/clang/liblldbDataFormatters/Makefile
@@ -15,6 +15,7 @@ SRCS= CF.cpp \
LibCxx.cpp \
LibCxxList.cpp \
LibCxxMap.cpp \
+ LibCxxUnorderedMap.cpp \
LibStdcpp.cpp \
NSArray.cpp \
NSDictionary.cpp \
@@ -23,7 +24,8 @@ SRCS= CF.cpp \
TypeCategoryMap.cpp \
TypeFormat.cpp \
TypeSummary.cpp \
- TypeSynthetic.cpp
+ TypeSynthetic.cpp \
+ ValueObjectPrinter.cpp
TGHDRS= DiagnosticCommonKinds \
DeclNodes \
diff --git a/lib/clang/liblldbHostCommon/Makefile b/lib/clang/liblldbHostCommon/Makefile
index e787cbc..f2022bb 100644
--- a/lib/clang/liblldbHostCommon/Makefile
+++ b/lib/clang/liblldbHostCommon/Makefile
@@ -7,10 +7,13 @@ LIB= lldbHostCommon
SRCDIR= tools/lldb/source/Host/common
SRCS= Condition.cpp \
DynamicLibrary.cpp \
+ Editline.cpp \
File.cpp \
FileSpec.cpp \
Host.cpp \
Mutex.cpp \
+ OptionParser.cpp \
+ ProcessRunLock.cpp \
SocketAddress.cpp \
Symbols.cpp \
Terminal.cpp \
diff --git a/lib/clang/liblldbPluginProcessElfCore/Makefile b/lib/clang/liblldbPluginProcessElfCore/Makefile
index 1d5dec3..30198b5 100644
--- a/lib/clang/liblldbPluginProcessElfCore/Makefile
+++ b/lib/clang/liblldbPluginProcessElfCore/Makefile
@@ -10,8 +10,8 @@ CFLAGS+=-I${.CURDIR}/../../../contrib/llvm/tools/lldb/source/Plugins/Process/Uti
SRCDIR= tools/lldb/source/Plugins/Process/elf-core
SRCS= ProcessElfCore.cpp \
ThreadElfCore.cpp \
- RegisterContextCoreLinux_x86_64.cpp \
- RegisterContextCoreFreeBSD_x86_64.cpp
+ RegisterContextPOSIXCore_mips64.cpp \
+ RegisterContextPOSIXCore_x86_64.cpp
TGHDRS= DiagnosticCommonKinds \
DeclNodes \
diff --git a/lib/clang/liblldbPluginProcessFreeBSD/Makefile b/lib/clang/liblldbPluginProcessFreeBSD/Makefile
index 80e668e..2002b7d 100644
--- a/lib/clang/liblldbPluginProcessFreeBSD/Makefile
+++ b/lib/clang/liblldbPluginProcessFreeBSD/Makefile
@@ -9,7 +9,8 @@ CFLAGS+=-I${.CURDIR}/../../../contrib/llvm/tools/lldb/source/Plugins/Process/Fre
CFLAGS+=-I${.CURDIR}/../../../contrib/llvm/tools/lldb/source/Plugins/Process/POSIX
SRCDIR= tools/lldb/source/Plugins/Process/FreeBSD
-SRCS= ProcessFreeBSD.cpp \
+SRCS= FreeBSDThread.cpp \
+ ProcessFreeBSD.cpp \
ProcessMonitor.cpp
TGHDRS= DiagnosticCommonKinds \
diff --git a/lib/clang/liblldbPluginProcessPOSIX/Makefile b/lib/clang/liblldbPluginProcessPOSIX/Makefile
index cee18c5..f681fd3 100644
--- a/lib/clang/liblldbPluginProcessPOSIX/Makefile
+++ b/lib/clang/liblldbPluginProcessPOSIX/Makefile
@@ -15,10 +15,15 @@ SRCS= POSIXStopInfo.cpp \
ProcessMessage.cpp \
ProcessPOSIX.cpp \
ProcessPOSIXLog.cpp \
+ RegisterContextFreeBSD_i386.cpp \
+ RegisterContextFreeBSD_mips64.cpp \
RegisterContextFreeBSD_x86_64.cpp \
- RegisterContext_i386.cpp \
+ RegisterContextLinux_i386.cpp \
RegisterContextLinux_x86_64.cpp \
- RegisterContext_x86_64.cpp
+ RegisterContextPOSIXProcessMonitor_mips64.cpp \
+ RegisterContextPOSIXProcessMonitor_x86.cpp \
+ RegisterContextPOSIX_mips64.cpp \
+ RegisterContextPOSIX_x86.cpp
TGHDRS= DiagnosticCommonKinds \
DeclNodes \
diff --git a/lib/clang/liblldbPluginProcessUtility/Makefile b/lib/clang/liblldbPluginProcessUtility/Makefile
index d0b221f..1459254 100644
--- a/lib/clang/liblldbPluginProcessUtility/Makefile
+++ b/lib/clang/liblldbPluginProcessUtility/Makefile
@@ -6,11 +6,14 @@ LIB= lldbPluginProcessUtility
SRCDIR= tools/lldb/source/Plugins/Process/Utility
SRCS= DynamicRegisterInfo.cpp \
+ HistoryThread.cpp \
+ HistoryUnwind.cpp \
InferiorCallPOSIX.cpp \
RegisterContextDarwin_arm.cpp \
RegisterContextDarwin_i386.cpp \
RegisterContextDarwin_x86_64.cpp \
RegisterContextDummy.cpp \
+ RegisterContextHistory.cpp \
RegisterContextLLDB.cpp \
RegisterContextMach_arm.cpp \
RegisterContextMach_i386.cpp \
diff --git a/lib/clang/liblldbPluginSymbolFileDWARF/Makefile b/lib/clang/liblldbPluginSymbolFileDWARF/Makefile
index 92845e4..ac23199 100644
--- a/lib/clang/liblldbPluginSymbolFileDWARF/Makefile
+++ b/lib/clang/liblldbPluginSymbolFileDWARF/Makefile
@@ -7,6 +7,7 @@ LIB= lldbPluginSymbolFileDWARF
SRCDIR= tools/lldb/source/Plugins/SymbolFile/DWARF
SRCS= DWARFAbbreviationDeclaration.cpp \
DWARFCompileUnit.cpp \
+ DWARFDataExtractor.cpp \
DWARFDebugAbbrev.cpp \
DWARFDebugAranges.cpp \
DWARFDebugArangeSet.cpp \
diff --git a/lib/clang/liblldbTarget/Makefile b/lib/clang/liblldbTarget/Makefile
index c6384be..2e0226d 100644
--- a/lib/clang/liblldbTarget/Makefile
+++ b/lib/clang/liblldbTarget/Makefile
@@ -17,12 +17,17 @@ SRCS= ABI.cpp \
PathMappingList.cpp \
Platform.cpp \
Process.cpp \
+ Queue.cpp \
+ QueueItem.cpp \
+ QueueList.cpp \
RegisterContext.cpp \
+ SectionLoadHistory.cpp \
SectionLoadList.cpp \
StackFrame.cpp \
StackFrameList.cpp \
StackID.cpp \
StopInfo.cpp \
+ SystemRuntime.cpp \
Target.cpp \
TargetList.cpp \
Thread.cpp \
diff --git a/lib/clang/liblldbUtility/Makefile b/lib/clang/liblldbUtility/Makefile
index 9c944e4..e5723b2 100644
--- a/lib/clang/liblldbUtility/Makefile
+++ b/lib/clang/liblldbUtility/Makefile
@@ -9,7 +9,6 @@ SRCS= ARM_DWARF_Registers.cpp \
KQueue.cpp \
PseudoTerminal.cpp \
Range.cpp \
- RefCounter.cpp \
SharingPtr.cpp \
StringExtractor.cpp \
StringExtractorGDBRemote.cpp \
diff --git a/lib/clang/libllvmanalysis/Makefile b/lib/clang/libllvmanalysis/Makefile
index 1bd8e9e..34725fc 100644
--- a/lib/clang/libllvmanalysis/Makefile
+++ b/lib/clang/libllvmanalysis/Makefile
@@ -13,11 +13,13 @@ SRCS= AliasAnalysis.cpp \
Analysis.cpp \
BasicAliasAnalysis.cpp \
BranchProbabilityInfo.cpp \
+ CFG.cpp \
CFGPrinter.cpp \
CaptureTracking.cpp \
CodeMetrics.cpp \
ConstantFolding.cpp \
CostModel.cpp \
+ Delinearization.cpp \
DependenceAnalysis.cpp \
DomPrinter.cpp \
DominanceFrontier.cpp \
@@ -39,17 +41,7 @@ SRCS= AliasAnalysis.cpp \
ModuleDebugInfoPrinter.cpp \
NoAliasAnalysis.cpp \
PHITransAddr.cpp \
- PathNumbering.cpp \
- PathProfileInfo.cpp \
- PathProfileVerifier.cpp \
PostDominators.cpp \
- ProfileDataLoader.cpp \
- ProfileDataLoaderPass.cpp \
- ProfileEstimatorPass.cpp \
- ProfileInfo.cpp \
- ProfileInfoLoader.cpp \
- ProfileInfoLoaderPass.cpp \
- ProfileVerifierPass.cpp \
PtrUseVisitor.cpp \
RegionInfo.cpp \
RegionPass.cpp \
diff --git a/lib/clang/libllvmarchive/Makefile b/lib/clang/libllvmarchive/Makefile
deleted file mode 100644
index d553405..0000000
--- a/lib/clang/libllvmarchive/Makefile
+++ /dev/null
@@ -1,12 +0,0 @@
-# $FreeBSD$
-
-.include <bsd.own.mk>
-
-LIB= llvmarchive
-
-SRCDIR= lib/Archive
-SRCS= Archive.cpp \
- ArchiveReader.cpp \
- ArchiveWriter.cpp
-
-.include "../clang.lib.mk"
diff --git a/lib/clang/libllvmarchive/Makefile.depend b/lib/clang/libllvmarchive/Makefile.depend
deleted file mode 100644
index 422d37c..0000000
--- a/lib/clang/libllvmarchive/Makefile.depend
+++ /dev/null
@@ -1,17 +0,0 @@
-# Autogenerated - do NOT edit!
-
-DEP_RELDIR := ${_PARSEDIR:S,${SRCTOP}/,,}
-
-DIRDEPS = \
- gnu/lib/libstdc++ \
- gnu/lib/libsupc++ \
- include \
- include/xlocale \
- lib/msun \
-
-
-.include <dirdeps.mk>
-
-.if ${DEP_RELDIR} == ${_DEP_RELDIR}
-# local dependencies - needed for -jN in clean tree
-.endif
diff --git a/lib/clang/libllvmarmdesc/Makefile b/lib/clang/libllvmarmdesc/Makefile
index 777e669..73999ad 100644
--- a/lib/clang/libllvmarmdesc/Makefile
+++ b/lib/clang/libllvmarmdesc/Makefile
@@ -8,11 +8,12 @@ SRCDIR= lib/Target/ARM/MCTargetDesc
SRCS= ARMAsmBackend.cpp \
ARMELFObjectWriter.cpp \
ARMELFStreamer.cpp \
- ARMMachObjectWriter.cpp \
ARMMCAsmInfo.cpp \
ARMMCCodeEmitter.cpp \
ARMMCExpr.cpp \
ARMMCTargetDesc.cpp \
+ ARMMachORelocationInfo.cpp \
+ ARMMachObjectWriter.cpp \
ARMUnwindOpAsm.cpp
CFLAGS+= -I${LLVM_SRCS}/${SRCDIR}/..
diff --git a/lib/clang/libllvmasmprinter/Makefile b/lib/clang/libllvmasmprinter/Makefile
index 5df0898..afb0ecf 100644
--- a/lib/clang/libllvmasmprinter/Makefile
+++ b/lib/clang/libllvmasmprinter/Makefile
@@ -10,6 +10,7 @@ SRCS= ARMException.cpp \
AsmPrinterDwarf.cpp \
AsmPrinterInlineAsm.cpp \
DIE.cpp \
+ DIEHash.cpp \
DwarfAccelTable.cpp \
DwarfCFIException.cpp \
DwarfCompileUnit.cpp \
diff --git a/lib/clang/libllvmcodegen/Makefile b/lib/clang/libllvmcodegen/Makefile
index 1d41a6a..e43f39d 100644
--- a/lib/clang/libllvmcodegen/Makefile
+++ b/lib/clang/libllvmcodegen/Makefile
@@ -41,6 +41,7 @@ SRCS= AggressiveAntiDepBreaker.cpp \
LiveRangeCalc.cpp \
LiveRangeEdit.cpp \
LiveRegMatrix.cpp \
+ LiveRegUnits.cpp \
LiveStackAnalysis.cpp \
LiveVariables.cpp \
LocalStackSlotAllocation.cpp \
@@ -94,16 +95,15 @@ SRCS= AggressiveAntiDepBreaker.cpp \
ScheduleDAGPrinter.cpp \
ScoreboardHazardRecognizer.cpp \
ShadowStackGC.cpp \
- ShrinkWrapping.cpp \
SjLjEHPrepare.cpp \
SlotIndexes.cpp \
SpillPlacement.cpp \
Spiller.cpp \
SplitKit.cpp \
StackColoring.cpp \
+ StackMaps.cpp \
StackProtector.cpp \
StackSlotColoring.cpp \
- StrongPHIElimination.cpp \
TailDuplication.cpp \
TargetFrameLoweringImpl.cpp \
TargetInstrInfo.cpp \
diff --git a/lib/clang/libllvmcore/Makefile b/lib/clang/libllvmcore/Makefile
index 4cbf3d6..137b1c3 100644
--- a/lib/clang/libllvmcore/Makefile
+++ b/lib/clang/libllvmcore/Makefile
@@ -29,6 +29,7 @@ SRCS= AsmWriter.cpp \
LLVMContext.cpp \
LLVMContextImpl.cpp \
LeakDetector.cpp \
+ LegacyPassManager.cpp \
Metadata.cpp \
Module.cpp \
Pass.cpp \
diff --git a/lib/clang/libllvmdebuginfo/Makefile b/lib/clang/libllvmdebuginfo/Makefile
index 72218ad..c8039dc 100644
--- a/lib/clang/libllvmdebuginfo/Makefile
+++ b/lib/clang/libllvmdebuginfo/Makefile
@@ -15,7 +15,10 @@ SRCS= DIContext.cpp \
DWARFDebugFrame.cpp \
DWARFDebugInfoEntry.cpp \
DWARFDebugLine.cpp \
+ DWARFDebugLoc.cpp \
DWARFDebugRangeList.cpp \
- DWARFFormValue.cpp
+ DWARFFormValue.cpp \
+ DWARFTypeUnit.cpp \
+ DWARFUnit.cpp
.include "../clang.lib.mk"
diff --git a/lib/clang/libllvmexecutionengine/Makefile b/lib/clang/libllvmexecutionengine/Makefile
index 3ec39c7..382dd88 100644
--- a/lib/clang/libllvmexecutionengine/Makefile
+++ b/lib/clang/libllvmexecutionengine/Makefile
@@ -7,6 +7,7 @@ LIB= llvmexecutionengine
SRCDIR= lib/ExecutionEngine
SRCS= ExecutionEngine.cpp \
ExecutionEngineBindings.cpp \
+ RTDyldMemoryManager.cpp \
TargetSelect.cpp
.include "../clang.lib.mk"
diff --git a/lib/clang/libllvminstrumentation/Makefile b/lib/clang/libllvminstrumentation/Makefile
index e5e8b59..faba349 100644
--- a/lib/clang/libllvminstrumentation/Makefile
+++ b/lib/clang/libllvminstrumentation/Makefile
@@ -6,15 +6,12 @@ LIB= llvminstrumentation
SRCDIR= lib/Transforms/Instrumentation
SRCS= AddressSanitizer.cpp \
- BlackList.cpp \
BoundsChecking.cpp \
- EdgeProfiling.cpp \
+ DataFlowSanitizer.cpp \
+ DebugIR.cpp \
GCOVProfiling.cpp \
MemorySanitizer.cpp \
Instrumentation.cpp \
- OptimalEdgeProfiling.cpp \
- PathProfiling.cpp \
- ProfilingUtils.cpp \
ThreadSanitizer.cpp
TGHDRS= Intrinsics
diff --git a/lib/clang/libllvmjit/Makefile b/lib/clang/libllvmjit/Makefile
index 682f704..a04eeb6 100644
--- a/lib/clang/libllvmjit/Makefile
+++ b/lib/clang/libllvmjit/Makefile
@@ -6,7 +6,6 @@ LIB= llvmjit
SRCDIR= lib/ExecutionEngine/JIT
SRCS= JIT.cpp \
- JITDwarfEmitter.cpp \
JITEmitter.cpp \
JITMemoryManager.cpp
diff --git a/lib/clang/libllvmmc/Makefile b/lib/clang/libllvmmc/Makefile
index 045d217..7fdc474 100644
--- a/lib/clang/libllvmmc/Makefile
+++ b/lib/clang/libllvmmc/Makefile
@@ -10,6 +10,7 @@ SRCS= ELFObjectWriter.cpp \
MCAsmInfo.cpp \
MCAsmInfoCOFF.cpp \
MCAsmInfoDarwin.cpp \
+ MCAsmInfoELF.cpp \
MCAsmStreamer.cpp \
MCAssembler.cpp \
MCAtom.cpp \
@@ -21,6 +22,8 @@ SRCS= ELFObjectWriter.cpp \
MCELFObjectTargetWriter.cpp \
MCELFStreamer.cpp \
MCExpr.cpp \
+ MCExternalSymbolizer.cpp \
+ MCFunction.cpp \
MCInst.cpp \
MCInstPrinter.cpp \
MCInstrAnalysis.cpp \
@@ -28,12 +31,16 @@ SRCS= ELFObjectWriter.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 \
@@ -41,6 +48,7 @@ SRCS= ELFObjectWriter.cpp \
MCStreamer.cpp \
MCSubtargetInfo.cpp \
MCSymbol.cpp \
+ MCSymbolizer.cpp \
MCValue.cpp \
MCWin64EH.cpp \
MachObjectWriter.cpp \
diff --git a/lib/clang/libllvmmipscodegen/Makefile b/lib/clang/libllvmmipscodegen/Makefile
index e5a99c9..9ba7099 100644
--- a/lib/clang/libllvmmipscodegen/Makefile
+++ b/lib/clang/libllvmmipscodegen/Makefile
@@ -6,6 +6,7 @@ LIB= llvmmipscodegen
SRCDIR= lib/Target/Mips
SRCS= Mips16FrameLowering.cpp \
+ Mips16HardFloat.cpp \
Mips16ISelDAGToDAG.cpp \
Mips16ISelLowering.cpp \
Mips16InstrInfo.cpp \
diff --git a/lib/clang/libllvmmipsdesc/Makefile b/lib/clang/libllvmmipsdesc/Makefile
index c5e60c6..07cbbfa 100644
--- a/lib/clang/libllvmmipsdesc/Makefile
+++ b/lib/clang/libllvmmipsdesc/Makefile
@@ -6,13 +6,12 @@ LIB= llvmmipsdesc
SRCDIR= lib/Target/Mips/MCTargetDesc
SRCS= MipsAsmBackend.cpp \
- MipsDirectObjLower.cpp \
MipsELFObjectWriter.cpp \
- MipsELFStreamer.cpp \
MipsMCAsmInfo.cpp \
MipsMCCodeEmitter.cpp \
MipsMCTargetDesc.cpp \
- MipsReginfo.cpp
+ MipsReginfo.cpp \
+ MipsTargetStreamer.cpp
CFLAGS+= -I${LLVM_SRCS}/${SRCDIR}/..
TGHDRS= MipsGenInstrInfo \
diff --git a/lib/clang/libllvmobject/Makefile b/lib/clang/libllvmobject/Makefile
index 7358c13..7e48093 100644
--- a/lib/clang/libllvmobject/Makefile
+++ b/lib/clang/libllvmobject/Makefile
@@ -8,10 +8,15 @@ SRCDIR= lib/Object
SRCS= Archive.cpp \
Binary.cpp \
COFFObjectFile.cpp \
+ COFFYAML.cpp \
+ ELF.cpp \
ELFObjectFile.cpp \
+ ELFYAML.cpp \
Error.cpp \
MachOObjectFile.cpp \
+ MachOUniversal.cpp \
Object.cpp \
- ObjectFile.cpp
+ ObjectFile.cpp \
+ YAML.cpp
.include "../clang.lib.mk"
diff --git a/lib/clang/libllvmoption/Makefile b/lib/clang/libllvmoption/Makefile
new file mode 100644
index 0000000..bf88dba
--- /dev/null
+++ b/lib/clang/libllvmoption/Makefile
@@ -0,0 +1,13 @@
+# $FreeBSD$
+
+.include <bsd.own.mk>
+
+LIB= llvmoption
+
+SRCDIR= lib/Option
+SRCS= Arg.cpp \
+ ArgList.cpp \
+ OptTable.cpp \
+ Option.cpp
+
+.include "../clang.lib.mk"
diff --git a/lib/clang/libllvmpowerpcasmparser/Makefile b/lib/clang/libllvmpowerpcasmparser/Makefile
new file mode 100644
index 0000000..ff1f533
--- /dev/null
+++ b/lib/clang/libllvmpowerpcasmparser/Makefile
@@ -0,0 +1,16 @@
+# $FreeBSD$
+
+.include <bsd.own.mk>
+
+LIB= llvmpowerpcasmparser
+
+SRCDIR= lib/Target/PowerPC/AsmParser
+INCDIR= lib/Target/PowerPC
+SRCS= PPCAsmParser.cpp
+
+TGHDRS= PPCGenAsmMatcher \
+ PPCGenInstrInfo \
+ PPCGenRegisterInfo \
+ PPCGenSubtargetInfo
+
+.include "../clang.lib.mk"
diff --git a/lib/clang/libllvmpowerpccodegen/Makefile b/lib/clang/libllvmpowerpccodegen/Makefile
index 0c77b5c..9fd268b 100644
--- a/lib/clang/libllvmpowerpccodegen/Makefile
+++ b/lib/clang/libllvmpowerpccodegen/Makefile
@@ -9,6 +9,7 @@ SRCS= PPCAsmPrinter.cpp \
PPCBranchSelector.cpp \
PPCCTRLoops.cpp \
PPCCodeEmitter.cpp \
+ PPCFastISel.cpp \
PPCFrameLowering.cpp \
PPCHazardRecognizers.cpp \
PPCISelDAGToDAG.cpp \
@@ -21,12 +22,14 @@ SRCS= PPCAsmPrinter.cpp \
PPCSelectionDAGInfo.cpp \
PPCSubtarget.cpp \
PPCTargetMachine.cpp \
+ PPCTargetObjectFile.cpp \
PPCTargetTransformInfo.cpp
TGHDRS= Intrinsics \
PPCGenCallingConv \
PPCGenCodeEmitter \
PPCGenDAGISel \
+ PPCGenFastISel \
PPCGenInstrInfo \
PPCGenMCCodeEmitter \
PPCGenRegisterInfo \
diff --git a/lib/clang/libllvmpowerpcdesc/Makefile b/lib/clang/libllvmpowerpcdesc/Makefile
index e48b484..b64b948 100644
--- a/lib/clang/libllvmpowerpcdesc/Makefile
+++ b/lib/clang/libllvmpowerpcdesc/Makefile
@@ -6,11 +6,13 @@ LIB= llvmpowerpcdesc
SRCDIR= lib/Target/PowerPC/MCTargetDesc
SRCS= PPCAsmBackend.cpp \
+ PPCELFObjectWriter.cpp \
PPCMCAsmInfo.cpp \
PPCMCCodeEmitter.cpp \
+ PPCMCExpr.cpp \
PPCMCTargetDesc.cpp \
- PPCPredicates.cpp \
- PPCELFObjectWriter.cpp
+ PPCMachObjectWriter.cpp \
+ PPCPredicates.cpp
CFLAGS+= -I${LLVM_SRCS}/${SRCDIR}/..
TGHDRS= PPCGenInstrInfo \
diff --git a/lib/clang/libllvmscalaropts/Makefile b/lib/clang/libllvmscalaropts/Makefile
index 38d945c..1f4edff 100644
--- a/lib/clang/libllvmscalaropts/Makefile
+++ b/lib/clang/libllvmscalaropts/Makefile
@@ -6,42 +6,41 @@ LIB= llvmscalaropts
SRCDIR= lib/Transforms/Scalar
SRCS= ADCE.cpp \
- BasicBlockPlacement.cpp \
CodeGenPrepare.cpp \
ConstantProp.cpp \
CorrelatedValuePropagation.cpp \
DCE.cpp \
DeadStoreElimination.cpp \
EarlyCSE.cpp \
- GlobalMerge.cpp \
+ FlattenCFGPass.cpp \
GVN.cpp \
+ GlobalMerge.cpp \
IndVarSimplify.cpp \
JumpThreading.cpp \
LICM.cpp \
LoopDeletion.cpp \
LoopIdiomRecognize.cpp \
- LoopInstSimplify.cpp \
+ LoopRerollPass.cpp \
LoopRotation.cpp \
LoopStrengthReduce.cpp \
LoopUnrollPass.cpp \
LoopUnswitch.cpp \
LowerAtomic.cpp \
MemCpyOptimizer.cpp \
+ PartiallyInlineLibCalls.cpp \
Reassociate.cpp \
Reg2Mem.cpp \
SCCP.cpp \
SROA.cpp \
- Scalar.cpp \
+ SampleProfile.cpp \
ScalarReplAggregates.cpp \
SimplifyCFGPass.cpp \
- SimplifyLibCalls.cpp \
Sink.cpp \
+ StructurizeCFG.cpp \
TailRecursionElimination.cpp
.if ${MK_CLANG_EXTRAS} != "no"
SRCS+= LoopInstSimplify.cpp \
- LowerAtomic.cpp \
- Reg2Mem.cpp \
Scalar.cpp
.endif
diff --git a/lib/clang/libllvmsparcasmparser/Makefile b/lib/clang/libllvmsparcasmparser/Makefile
new file mode 100644
index 0000000..f4e4f25
--- /dev/null
+++ b/lib/clang/libllvmsparcasmparser/Makefile
@@ -0,0 +1,16 @@
+# $FreeBSD$
+
+.include <bsd.own.mk>
+
+LIB= llvmsparcasmparser
+
+SRCDIR= lib/Target/Sparc/AsmParser
+INCDIR= lib/Target/Sparc
+SRCS= SparcAsmParser.cpp
+
+TGHDRS= SparcGenAsmMatcher \
+ SparcGenInstrInfo \
+ SparcGenRegisterInfo \
+ SparcGenSubtargetInfo
+
+.include "../clang.lib.mk"
diff --git a/lib/clang/libllvmsparccodegen/Makefile b/lib/clang/libllvmsparccodegen/Makefile
new file mode 100644
index 0000000..36cf0a6
--- /dev/null
+++ b/lib/clang/libllvmsparccodegen/Makefile
@@ -0,0 +1,34 @@
+# $FreeBSD$
+
+.include <bsd.own.mk>
+
+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 \
+ SparcSelectionDAGInfo.cpp \
+ SparcSubtarget.cpp \
+ SparcTargetMachine.cpp \
+ SparcTargetObjectFile.cpp
+
+TGHDRS= Intrinsics \
+ SparcGenAsmWriter \
+ SparcGenCallingConv \
+ SparcGenCodeEmitter \
+ SparcGenDAGISel \
+ SparcGenInstrInfo \
+ SparcGenMCCodeEmitter \
+ SparcGenRegisterInfo \
+ SparcGenSubtargetInfo
+
+.include "../clang.lib.mk"
diff --git a/lib/clang/libllvmsparcdesc/Makefile b/lib/clang/libllvmsparcdesc/Makefile
new file mode 100644
index 0000000..20605fb
--- /dev/null
+++ b/lib/clang/libllvmsparcdesc/Makefile
@@ -0,0 +1,22 @@
+# $FreeBSD$
+
+.include <bsd.own.mk>
+
+LIB= llvmsparcdesc
+
+SRCDIR= lib/Target/Sparc/MCTargetDesc
+SRCS= SparcAsmBackend.cpp \
+ SparcELFObjectWriter.cpp \
+ SparcMCAsmInfo.cpp \
+ SparcMCCodeEmitter.cpp \
+ SparcMCExpr.cpp \
+ SparcMCTargetDesc.cpp \
+ SparcTargetStreamer.cpp
+CFLAGS+= -I${LLVM_SRCS}/${SRCDIR}/..
+
+TGHDRS= SparcGenInstrInfo \
+ SparcGenMCCodeEmitter \
+ SparcGenRegisterInfo \
+ SparcGenSubtargetInfo
+
+.include "../clang.lib.mk"
diff --git a/lib/clang/libllvmsparcdisassembler/Makefile b/lib/clang/libllvmsparcdisassembler/Makefile
new file mode 100644
index 0000000..a388ff2
--- /dev/null
+++ b/lib/clang/libllvmsparcdisassembler/Makefile
@@ -0,0 +1,16 @@
+# $FreeBSD$
+
+.include <bsd.own.mk>
+
+LIB= llvmsparcdisassembler
+
+SRCDIR= lib/Target/Sparc/Disassembler
+INCDIR= lib/Target/Sparc
+SRCS= SparcDisassembler.cpp
+
+TGHDRS= SparcGenDisassemblerTables \
+ SparcGenInstrInfo \
+ SparcGenRegisterInfo \
+ SparcGenSubtargetInfo
+
+.include "../clang.lib.mk"
diff --git a/lib/clang/libllvmsparcinfo/Makefile b/lib/clang/libllvmsparcinfo/Makefile
new file mode 100644
index 0000000..6c8052e
--- /dev/null
+++ b/lib/clang/libllvmsparcinfo/Makefile
@@ -0,0 +1,15 @@
+# $FreeBSD$
+
+.include <bsd.own.mk>
+
+LIB= llvmsparcinfo
+
+SRCDIR= lib/Target/Sparc/TargetInfo
+INCDIR= lib/Target/Sparc
+SRCS= SparcTargetInfo.cpp
+
+TGHDRS= SparcGenInstrInfo \
+ SparcGenRegisterInfo \
+ SparcGenSubtargetInfo
+
+.include "../clang.lib.mk"
diff --git a/lib/clang/libllvmsparcinstprinter/Makefile b/lib/clang/libllvmsparcinstprinter/Makefile
new file mode 100644
index 0000000..e15c55e
--- /dev/null
+++ b/lib/clang/libllvmsparcinstprinter/Makefile
@@ -0,0 +1,16 @@
+# $FreeBSD$
+
+.include <bsd.own.mk>
+
+LIB= llvmsparcinstprinter
+
+SRCDIR= lib/Target/Sparc/InstPrinter
+INCDIR= lib/Target/Sparc
+SRCS= SparcInstPrinter.cpp
+
+TGHDRS= SparcGenAsmWriter \
+ SparcGenInstrInfo \
+ SparcGenRegisterInfo \
+ SparcGenSubtargetInfo
+
+.include "../clang.lib.mk"
diff --git a/lib/clang/libllvmsupport/Makefile b/lib/clang/libllvmsupport/Makefile
index ff9b9cb..eb3f633 100644
--- a/lib/clang/libllvmsupport/Makefile
+++ b/lib/clang/libllvmsupport/Makefile
@@ -18,6 +18,7 @@ SRCS= APFloat.cpp \
ConvertUTFWrapper.cpp \
CrashRecoveryContext.cpp \
DAGDeltaAlgorithm.cpp \
+ DataExtractor.cpp \
Debug.cpp \
DeltaAlgorithm.cpp \
Dwarf.cpp \
@@ -38,13 +39,13 @@ SRCS= APFloat.cpp \
IsNAN.cpp \
Locale.cpp \
LockFileManager.cpp \
+ MD5.cpp \
ManagedStatic.cpp \
Memory.cpp \
MemoryBuffer.cpp \
MemoryObject.cpp \
Mutex.cpp \
Path.cpp \
- PathV2.cpp \
PluginLoader.cpp \
PrettyStackTrace.cpp \
Process.cpp \
@@ -62,6 +63,7 @@ SRCS= APFloat.cpp \
StringMap.cpp \
StringPool.cpp \
StringRef.cpp \
+ StringRefMemoryObject.cpp \
TargetRegistry.cpp \
ThreadLocal.cpp \
Threading.cpp \
@@ -70,6 +72,7 @@ SRCS= APFloat.cpp \
ToolOutputFile.cpp \
Triple.cpp \
Twine.cpp \
+ Unicode.cpp \
Valgrind.cpp \
Watchdog.cpp \
YAMLParser.cpp \
@@ -85,8 +88,7 @@ SRCS= APFloat.cpp \
system_error.cpp
.if ${MK_CLANG_EXTRAS} != "no" || ${MK_LLDB} != "no"
-SRCS+= DataExtractor.cpp \
- Disassembler.cpp
+SRCS+= Disassembler.cpp
.endif
.if ${MK_CLANG_EXTRAS} != "no"
diff --git a/lib/clang/libllvmtransformutils/Makefile b/lib/clang/libllvmtransformutils/Makefile
index cfdc85f..f742092 100644
--- a/lib/clang/libllvmtransformutils/Makefile
+++ b/lib/clang/libllvmtransformutils/Makefile
@@ -14,6 +14,8 @@ SRCS= BasicBlockUtils.cpp \
CmpInstAnalysis.cpp \
CodeExtractor.cpp \
DemoteRegToStack.cpp \
+ FlattenCFG.cpp \
+ GlobalStatus.cpp \
InlineFunction.cpp \
InstructionNamer.cpp \
IntegerDivision.cpp \
@@ -34,6 +36,7 @@ SRCS= BasicBlockUtils.cpp \
SimplifyIndVar.cpp \
SimplifyInstructions.cpp \
SimplifyLibCalls.cpp \
+ SpecialCaseList.cpp \
UnifyFunctionExitNodes.cpp \
ValueMapper.cpp
diff --git a/lib/clang/libllvmvectorize/Makefile b/lib/clang/libllvmvectorize/Makefile
index 9a760fa..7a63c9e 100644
--- a/lib/clang/libllvmvectorize/Makefile
+++ b/lib/clang/libllvmvectorize/Makefile
@@ -8,7 +8,6 @@ SRCDIR= lib/Transforms/Vectorize
SRCS= BBVectorize.cpp \
LoopVectorize.cpp \
SLPVectorizer.cpp \
- VecUtils.cpp \
Vectorize.cpp
TGHDRS= Intrinsics
diff --git a/lib/clang/libllvmx86desc/Makefile b/lib/clang/libllvmx86desc/Makefile
index a177129..6401649 100644
--- a/lib/clang/libllvmx86desc/Makefile
+++ b/lib/clang/libllvmx86desc/Makefile
@@ -7,10 +7,12 @@ LIB= llvmx86desc
SRCDIR= lib/Target/X86/MCTargetDesc
SRCS= X86AsmBackend.cpp \
X86ELFObjectWriter.cpp \
- X86MachObjectWriter.cpp \
+ X86ELFRelocationInfo.cpp \
X86MCAsmInfo.cpp \
X86MCCodeEmitter.cpp \
X86MCTargetDesc.cpp \
+ X86MachORelocationInfo.cpp \
+ X86MachObjectWriter.cpp \
X86WinCOFFObjectWriter.cpp
CFLAGS+= -I${LLVM_SRCS}/${SRCDIR}/..
OpenPOWER on IntegriCloud