summaryrefslogtreecommitdiffstats
path: root/lib/clang
diff options
context:
space:
mode:
Diffstat (limited to 'lib/clang')
-rw-r--r--lib/clang/clang.build.mk6
-rw-r--r--lib/clang/include/clang/Basic/Version.inc4
-rw-r--r--lib/clang/include/clang/Parse/AttrExprArgs.inc2
-rw-r--r--lib/clang/include/llvm/Config/config.h18
-rw-r--r--lib/clang/include/llvm/Config/llvm-config.h2
-rw-r--r--lib/clang/libclangparse/Makefile1
-rw-r--r--lib/clang/libclangstaticanalyzercheckers/Makefile3
-rw-r--r--lib/clang/libllvmarmdesc/Makefile3
-rw-r--r--lib/clang/libllvmlinker/Makefile3
-rw-r--r--lib/clang/libllvmmipscodegen/Makefile2
-rw-r--r--lib/clang/libllvmobject/Makefile1
-rw-r--r--lib/clang/libllvmsupport/Makefile3
-rw-r--r--lib/clang/libllvmvectorize/Makefile2
-rw-r--r--lib/clang/libllvmx86codegen/Makefile1
14 files changed, 38 insertions, 13 deletions
diff --git a/lib/clang/clang.build.mk b/lib/clang/clang.build.mk
index 9106f03..2cf1e5b 100644
--- a/lib/clang/clang.build.mk
+++ b/lib/clang/clang.build.mk
@@ -30,7 +30,7 @@ TARGET_ABI= unknown
TARGET_TRIPLE?= ${TARGET_ARCH:C/amd64/x86_64/}-${TARGET_ABI}-freebsd10.0
BUILD_TRIPLE?= ${BUILD_ARCH:C/amd64/x86_64/}-unknown-freebsd10.0
CFLAGS+= -DLLVM_DEFAULT_TARGET_TRIPLE=\"${TARGET_TRIPLE}\" \
- -DLLVM_HOSTTRIPLE=\"${BUILD_TRIPLE}\" \
+ -DLLVM_HOST_TRIPLE=\"${BUILD_TRIPLE}\" \
-DDEFAULT_SYSROOT=\"${TOOLS_PREFIX}\"
CXXFLAGS+= -fno-exceptions -fno-rtti
@@ -82,6 +82,10 @@ 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
+ ${CLANG_TBLGEN} -I ${CLANG_SRCS}/include \
+ -gen-clang-attr-expr-args-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}
diff --git a/lib/clang/include/clang/Basic/Version.inc b/lib/clang/include/clang/Basic/Version.inc
index 2f816b7..1b62e7f 100644
--- a/lib/clang/include/clang/Basic/Version.inc
+++ b/lib/clang/include/clang/Basic/Version.inc
@@ -5,6 +5,6 @@
#define CLANG_VERSION_MINOR 3
#define CLANG_VENDOR "FreeBSD "
-#define CLANG_VENDOR_SUFFIX " 20130405"
+#define CLANG_VENDOR_SUFFIX " 20130610"
-#define SVN_REVISION "178860"
+#define SVN_REVISION "183502"
diff --git a/lib/clang/include/clang/Parse/AttrExprArgs.inc b/lib/clang/include/clang/Parse/AttrExprArgs.inc
new file mode 100644
index 0000000..043e034
--- /dev/null
+++ b/lib/clang/include/clang/Parse/AttrExprArgs.inc
@@ -0,0 +1,2 @@
+/* $FreeBSD$ */
+#include "AttrExprArgs.inc.h"
diff --git a/lib/clang/include/llvm/Config/config.h b/lib/clang/include/llvm/Config/config.h
index b7462f5..d72aba8 100644
--- a/lib/clang/include/llvm/Config/config.h
+++ b/lib/clang/include/llvm/Config/config.h
@@ -83,6 +83,9 @@
/* 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
+
/* 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
@@ -231,6 +234,9 @@
/* 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
@@ -510,6 +516,9 @@
/* Define if the xdot.py program is available */
/* #undef HAVE_XDOT_PY */
+/* Define to 1 if you have the <zlib.h> header file. */
+#define HAVE_ZLIB_H 1
+
/* Have host's _alloca */
/* #undef HAVE__ALLOCA */
@@ -582,6 +591,9 @@
/* Define if threads enabled */
#define LLVM_ENABLE_THREADS 0
+/* Define if zlib is enabled */
+#define LLVM_ENABLE_ZLIB 1
+
/* Installation directory for config files */
/* #undef LLVM_ETCDIR */
@@ -589,7 +601,7 @@
#define LLVM_HAS_ATOMICS 0
/* Host triple LLVM will be executed on */
-/* #undef LLVM_HOSTTRIPLE */
+/* #undef LLVM_HOST_TRIPLE */
/* Installation directory for include files */
/* #undef LLVM_INCLUDEDIR */
@@ -703,13 +715,13 @@
#define PACKAGE_NAME "LLVM"
/* Define to the full name and version of this package. */
-#define PACKAGE_STRING "LLVM 3.3svn"
+#define PACKAGE_STRING "LLVM 3.3"
/* 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.3svn"
+#define PACKAGE_VERSION "3.3"
/* Define as the return type of signal handlers (`int' or `void'). */
#define RETSIGTYPE void
diff --git a/lib/clang/include/llvm/Config/llvm-config.h b/lib/clang/include/llvm/Config/llvm-config.h
index 4349e38..86e0e49 100644
--- a/lib/clang/include/llvm/Config/llvm-config.h
+++ b/lib/clang/include/llvm/Config/llvm-config.h
@@ -43,7 +43,7 @@
#define LLVM_HAS_ATOMICS 0
/* Host triple LLVM will be executed on */
-/* #undef LLVM_HOSTTRIPLE */
+/* #undef LLVM_HOST_TRIPLE */
/* Installation directory for include files */
/* #undef LLVM_INCLUDEDIR */
diff --git a/lib/clang/libclangparse/Makefile b/lib/clang/libclangparse/Makefile
index 2029693..279d003 100644
--- a/lib/clang/libclangparse/Makefile
+++ b/lib/clang/libclangparse/Makefile
@@ -23,6 +23,7 @@ SRCS= ParseAST.cpp \
TGHDRS= AttrLateParsed \
AttrList \
AttrParsedAttrList \
+ AttrExprArgs \
Attrs \
CommentCommandList \
CommentNodes \
diff --git a/lib/clang/libclangstaticanalyzercheckers/Makefile b/lib/clang/libclangstaticanalyzercheckers/Makefile
index d3b6a77..10968d2 100644
--- a/lib/clang/libclangstaticanalyzercheckers/Makefile
+++ b/lib/clang/libclangstaticanalyzercheckers/Makefile
@@ -5,7 +5,8 @@
LIB= clangstaticanalyzercheckers
SRCDIR= tools/clang/lib/StaticAnalyzer/Checkers
-SRCS= AnalyzerStatsChecker.cpp \
+SRCS= AllocationDiagnostics.cpp \
+ AnalyzerStatsChecker.cpp \
ArrayBoundChecker.cpp \
ArrayBoundCheckerV2.cpp \
BasicObjCFoundationChecks.cpp \
diff --git a/lib/clang/libllvmarmdesc/Makefile b/lib/clang/libllvmarmdesc/Makefile
index 369031b..777e669 100644
--- a/lib/clang/libllvmarmdesc/Makefile
+++ b/lib/clang/libllvmarmdesc/Makefile
@@ -12,7 +12,8 @@ SRCS= ARMAsmBackend.cpp \
ARMMCAsmInfo.cpp \
ARMMCCodeEmitter.cpp \
ARMMCExpr.cpp \
- ARMMCTargetDesc.cpp
+ ARMMCTargetDesc.cpp \
+ ARMUnwindOpAsm.cpp
CFLAGS+= -I${LLVM_SRCS}/${SRCDIR}/..
TGHDRS= ARMGenInstrInfo \
diff --git a/lib/clang/libllvmlinker/Makefile b/lib/clang/libllvmlinker/Makefile
index 51590ed..711b369 100644
--- a/lib/clang/libllvmlinker/Makefile
+++ b/lib/clang/libllvmlinker/Makefile
@@ -5,7 +5,6 @@
LIB= llvmlinker
SRCDIR= lib/Linker
-SRCS= LinkModules.cpp \
- Linker.cpp
+SRCS= LinkModules.cpp
.include "../clang.lib.mk"
diff --git a/lib/clang/libllvmmipscodegen/Makefile b/lib/clang/libllvmmipscodegen/Makefile
index fdb7287..e5a99c9 100644
--- a/lib/clang/libllvmmipscodegen/Makefile
+++ b/lib/clang/libllvmmipscodegen/Makefile
@@ -23,6 +23,8 @@ SRCS= Mips16FrameLowering.cpp \
MipsLongBranch.cpp \
MipsMCInstLower.cpp \
MipsMachineFunction.cpp \
+ MipsModuleISelDAGToDAG.cpp \
+ MipsOs16.cpp \
MipsRegisterInfo.cpp \
MipsSEFrameLowering.cpp \
MipsSEISelDAGToDAG.cpp \
diff --git a/lib/clang/libllvmobject/Makefile b/lib/clang/libllvmobject/Makefile
index c8c8068..7358c13 100644
--- a/lib/clang/libllvmobject/Makefile
+++ b/lib/clang/libllvmobject/Makefile
@@ -10,7 +10,6 @@ SRCS= Archive.cpp \
COFFObjectFile.cpp \
ELFObjectFile.cpp \
Error.cpp \
- MachOObject.cpp \
MachOObjectFile.cpp \
Object.cpp \
ObjectFile.cpp
diff --git a/lib/clang/libllvmsupport/Makefile b/lib/clang/libllvmsupport/Makefile
index 6dff622..6d043b4 100644
--- a/lib/clang/libllvmsupport/Makefile
+++ b/lib/clang/libllvmsupport/Makefile
@@ -85,7 +85,8 @@ SRCS= APFloat.cpp \
system_error.cpp
.if ${MK_CLANG_EXTRAS} != "no"
-SRCS+= DataExtractor.cpp \
+SRCS+= Compression.cpp \
+ DataExtractor.cpp \
DataStream.cpp \
Disassembler.cpp \
FileUtilities.cpp \
diff --git a/lib/clang/libllvmvectorize/Makefile b/lib/clang/libllvmvectorize/Makefile
index d0f5b73..9a760fa 100644
--- a/lib/clang/libllvmvectorize/Makefile
+++ b/lib/clang/libllvmvectorize/Makefile
@@ -7,6 +7,8 @@ LIB= llvmvectorize
SRCDIR= lib/Transforms/Vectorize
SRCS= BBVectorize.cpp \
LoopVectorize.cpp \
+ SLPVectorizer.cpp \
+ VecUtils.cpp \
Vectorize.cpp
TGHDRS= Intrinsics
diff --git a/lib/clang/libllvmx86codegen/Makefile b/lib/clang/libllvmx86codegen/Makefile
index 88620f2..ed7ab8e 100644
--- a/lib/clang/libllvmx86codegen/Makefile
+++ b/lib/clang/libllvmx86codegen/Makefile
@@ -9,6 +9,7 @@ SRCS= X86AsmPrinter.cpp \
X86COFFMachineModuleInfo.cpp \
X86CodeEmitter.cpp \
X86FastISel.cpp \
+ X86FixupLEAs.cpp \
X86FloatingPoint.cpp \
X86FrameLowering.cpp \
X86ISelDAGToDAG.cpp \
OpenPOWER on IntegriCloud