summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/clang/Makefile1
-rw-r--r--lib/clang/clang.build.mk4
-rw-r--r--lib/clang/include/clang/Basic/Version.inc4
-rw-r--r--lib/clang/include/clang/Config/config.h12
-rw-r--r--lib/clang/include/llvm/Config/config.h3
-rw-r--r--lib/clang/libclangindex/Makefile23
-rw-r--r--lib/clang/libclangsema/Makefile1
-rw-r--r--lib/clang/libllvmruntimedyld/Makefile3
-rw-r--r--lib/clang/libllvmsupport/Makefile1
9 files changed, 19 insertions, 33 deletions
diff --git a/lib/clang/Makefile b/lib/clang/Makefile
index d6e9457..2d77383 100644
--- a/lib/clang/Makefile
+++ b/lib/clang/Makefile
@@ -12,7 +12,6 @@ SUBDIR= libclanganalysis \
libclangedit \
libclangfrontend \
libclangfrontendtool \
- libclangindex \
libclanglex \
libclangparse \
libclangrewrite \
diff --git a/lib/clang/clang.build.mk b/lib/clang/clang.build.mk
index a14918d..67868f1 100644
--- a/lib/clang/clang.build.mk
+++ b/lib/clang/clang.build.mk
@@ -25,9 +25,7 @@ LLVM_REQUIRES_RTTI=
CXXFLAGS+=-fno-rtti
.endif
-.ifdef TOOLS_PREFIX
-CFLAGS+=-DCLANG_PREFIX=\"${TOOLS_PREFIX}\"
-.endif
+CFLAGS+=-DDEFAULT_SYSROOT=\"${TOOLS_PREFIX}\"
.PATH: ${LLVM_SRCS}/${SRCDIR}
diff --git a/lib/clang/include/clang/Basic/Version.inc b/lib/clang/include/clang/Basic/Version.inc
index 55d4ea6..dd67a2b 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 1
#define CLANG_VENDOR "FreeBSD "
-#define CLANG_VENDOR_SUFFIX " 20120413"
+#define CLANG_VENDOR_SUFFIX " 20120503"
-#define SVN_REVISION "154661"
+#define SVN_REVISION "155985"
diff --git a/lib/clang/include/clang/Config/config.h b/lib/clang/include/clang/Config/config.h
index 7348308..8a7936b 100644
--- a/lib/clang/include/clang/Config/config.h
+++ b/lib/clang/include/clang/Config/config.h
@@ -11,10 +11,16 @@
/* Relative directory for resource files */
#define CLANG_RESOURCE_DIR ""
-/* Directory where gcc is installed. */
-#define GCC_INSTALL_PREFIX ""
-
/* 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 ""
+
#endif
diff --git a/lib/clang/include/llvm/Config/config.h b/lib/clang/include/llvm/Config/config.h
index f6001e9..c84c6d8 100644
--- a/lib/clang/include/llvm/Config/config.h
+++ b/lib/clang/include/llvm/Config/config.h
@@ -14,6 +14,9 @@
/* Directories clang will search for headers */
#define C_INCLUDE_DIRS ""
+/* Default <path> to all compiler invocations for --sysroot=<path>. */
+/* #undef DEFAULT_SYSROOT */
+
/* Define if position independent code is enabled */
#define ENABLE_PIC 0
diff --git a/lib/clang/libclangindex/Makefile b/lib/clang/libclangindex/Makefile
deleted file mode 100644
index 63b532c..0000000
--- a/lib/clang/libclangindex/Makefile
+++ /dev/null
@@ -1,23 +0,0 @@
-# $FreeBSD$
-
-LIB= clangindex
-
-SRCDIR= tools/clang/lib/Index
-SRCS= ASTLocation.cpp \
- Analyzer.cpp \
- DeclReferenceMap.cpp \
- Entity.cpp \
- GlobalSelector.cpp \
- Handlers.cpp \
- IndexProvider.cpp \
- Indexer.cpp \
- Program.cpp \
- SelectorMap.cpp \
-
-TGHDRS= AttrList \
- Attrs \
- DeclNodes \
- DiagnosticCommonKinds \
- StmtNodes
-
-.include "../clang.lib.mk"
diff --git a/lib/clang/libclangsema/Makefile b/lib/clang/libclangsema/Makefile
index e40a756..3b2b331 100644
--- a/lib/clang/libclangsema/Makefile
+++ b/lib/clang/libclangsema/Makefile
@@ -36,6 +36,7 @@ SRCS= AnalysisBasedWarnings.cpp \
SemaOverload.cpp \
SemaPseudoObject.cpp \
SemaStmt.cpp \
+ SemaStmtAttr.cpp \
SemaTemplate.cpp \
SemaTemplateDeduction.cpp \
SemaTemplateInstantiate.cpp \
diff --git a/lib/clang/libllvmruntimedyld/Makefile b/lib/clang/libllvmruntimedyld/Makefile
index 7280e1d..d5d5447 100644
--- a/lib/clang/libllvmruntimedyld/Makefile
+++ b/lib/clang/libllvmruntimedyld/Makefile
@@ -3,7 +3,8 @@
LIB= llvmruntimedyld
SRCDIR= lib/ExecutionEngine/RuntimeDyld
-SRCS= RuntimeDyld.cpp \
+SRCS= GDBRegistrar.cpp \
+ RuntimeDyld.cpp \
RuntimeDyldELF.cpp \
RuntimeDyldMachO.cpp
diff --git a/lib/clang/libllvmsupport/Makefile b/lib/clang/libllvmsupport/Makefile
index 19afb44..5fcff88 100644
--- a/lib/clang/libllvmsupport/Makefile
+++ b/lib/clang/libllvmsupport/Makefile
@@ -30,6 +30,7 @@ SRCS= APFloat.cpp \
IntervalMap.cpp \
IntEqClasses.cpp \
IntrusiveRefCntPtr.cpp \
+ Locale.cpp \
LockFileManager.cpp \
ManagedStatic.cpp \
Memory.cpp \
OpenPOWER on IntegriCloud