llvm 2.8 update

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

llvm 2.8 update

Ted Unangst-2
Here's what I have.  There appears to be an issue where clang doesn't
quite work, because it thinks the next stage is installed in ".".  See
below.  Otherwise, at least it builds. :)

/tmp> clang -v t.c
clang version 2.8 (branches/release_28)
Target: i386-unknown-openbsd4.8
Thread model: posix
 "/tmp/clang" -cc1 -triple i386-unknown-openbsd4.8 -S -disable-free
-disable-llvm-verifier -main-file-name t.c -mrelocation-model static
-mdisable-fp-elim -mconstructor-aliases -target-cpu i486
-target-linker-version 2.15 -v -resource-dir /lib/clang/2.8 -ferror-limit
19 -fmessage-length 80 -fgnu-runtime -fdiagnostics-show-option
-fcolor-diagnostics -o /tmp/cc-KoUUKA.s -x c t.c
clang: error: unable to execute command: /tmp/clang is not executable
clang: error: clang frontend command failed due to signal 1 (use -v to see
invocation)

Index: Makefile
===================================================================
RCS file: /cvs/ports/devel/llvm/Makefile,v
retrieving revision 1.28
diff -N -u Makefile
--- Makefile 15 Nov 2010 19:46:00 -0000 1.28
+++ Makefile 25 Dec 2010 02:14:48 -0000
@@ -2,9 +2,8 @@
 
 COMMENT = Low Level Virtual Machine (LLVM) compiler infrastructure
 
-LLVM_V = 2.7
+LLVM_V = 2.8
 DISTNAME = llvm-${LLVM_V}
-REVISION = 4
 
 CATEGORIES = devel
 
@@ -55,6 +54,7 @@
 USE_LIBTOOL = Yes
 USE_GROFF = Yes
 MAKE_ENV = REQUIRES_RTTI=1
+CFLAGS+= -Wno-system-headers
 
 # also supports cmake
 CONFIGURE_STYLE = gnu
Index: distinfo
===================================================================
RCS file: /cvs/ports/devel/llvm/distinfo,v
retrieving revision 1.6
diff -N -u distinfo
--- distinfo 29 Apr 2010 16:37:09 -0000 1.6
+++ distinfo 25 Dec 2010 02:14:48 -0000
@@ -1,10 +1,10 @@
-MD5 (clang-2.7.tgz) = uDJgqowTSUrfiXi18ji/Gw==
-MD5 (llvm-2.7.tgz) = rDImYfIOfWyBCxhp+Iatmw==
-RMD160 (clang-2.7.tgz) = F3/c9Zvkpgw3zw37BYU1yc27rU4=
-RMD160 (llvm-2.7.tgz) = D6LzYt1qRe/sNc6PoPjTbZjzLI8=
-SHA1 (clang-2.7.tgz) = TYMmv+IwinNVpeTKLrFyv/12Hh4=
-SHA1 (llvm-2.7.tgz) = BZ/CGw7BtknEo97IF1bl+SqhMaI=
-SHA256 (clang-2.7.tgz) = +zSUcZR/FVwc2hyKSju8f6Q3uG9oddmXj4bJFd/tYjo=
-SHA256 (llvm-2.7.tgz) = mWZL3IUDowYDgWavM/KOtCbZnil1daWddKGg3L3bvKU=
-SIZE (clang-2.7.tgz) = 4953739
-SIZE (llvm-2.7.tgz) = 8374297
+MD5 (clang-2.8.tgz) = EOFMkB/Dco7svVuCngEbWQ==
+MD5 (llvm-2.8.tgz) = Ig02G00XBR/0uyHGSr4Fug==
+RMD160 (clang-2.8.tgz) = 8AlWtt4pzAnzmSrqvRQPIYnGzzk=
+RMD160 (llvm-2.8.tgz) = P1px0H4QWnz0bq/HqQBqknA1ASw=
+SHA1 (clang-2.8.tgz) = lJd8hM4TYwfbvq3pXme/48JRYf8=
+SHA1 (llvm-2.8.tgz) = bUn+A50o6GZN4lSRx3XLLFmeMME=
+SHA256 (clang-2.8.tgz) = 7YNIFVPmo5qKKVPoljDYgdh4M1BvCWqQ8Y2T7Cve4ME=
+SHA256 (llvm-2.8.tgz) = Ja3bdC8cbMEod+0O6STdqWLYSDaO4JW+jkg0KuYT1Ds=
+SIZE (clang-2.8.tgz) = 5666777
+SIZE (llvm-2.8.tgz) = 9112527
Index: patches/patch-Makefile_config_in
===================================================================
RCS file: /cvs/ports/devel/llvm/patches/patch-Makefile_config_in,v
retrieving revision 1.3
diff -N -u patches/patch-Makefile_config_in
--- patches/patch-Makefile_config_in 29 Apr 2010 16:37:09 -0000 1.3
+++ patches/patch-Makefile_config_in 25 Dec 2010 02:14:48 -0000
@@ -1,7 +1,7 @@
 $OpenBSD: patch-Makefile_config_in,v 1.3 2010/04/29 16:37:09 jsg Exp $
---- Makefile.config.in.orig Thu Mar  4 21:56:19 2010
-+++ Makefile.config.in Tue Apr 27 21:04:40 2010
-@@ -79,11 +79,11 @@ LLVMMAKE := $(LLVM_SRC_ROOT)/make
+--- Makefile.config.in.orig Tue Aug  3 18:53:22 2010
++++ Makefile.config.in Fri Dec 24 18:29:13 2010
+@@ -83,11 +83,11 @@ LLVMMAKE := $(LLVM_SRC_ROOT)/make
  PROJ_bindir     := $(PROJ_prefix)/bin
  PROJ_libdir     := $(PROJ_prefix)/lib
  PROJ_datadir    := $(PROJ_prefix)/share
Index: patches/patch-Makefile_rules
===================================================================
RCS file: patches/patch-Makefile_rules
diff -N -u patches/patch-Makefile_rules
--- /dev/null 24 Dec 2010 19:14:48 -0000
+++ patches/patch-Makefile_rules 25 Dec 2010 02:14:48 -0000
@@ -0,0 +1,12 @@
+$OpenBSD$
+--- Makefile.rules.orig Fri Dec 24 18:29:17 2010
++++ Makefile.rules Fri Dec 24 18:30:12 2010
+@@ -942,7 +942,7 @@ ifdef EXPORTED_SYMBOL_FILE
+ # export file.
+
+ # The option --version-script is not effective on GNU ld win32.
+-ifneq (,$(filter $(HOST_OS),Cygwin MingW))
++ifneq (,$(filter $(HOST_OS),Cygwin MingW OpenBSD))
+   HAVE_LINK_VERSION_SCRIPT := 0
+ endif
+
Index: patches/patch-tools_clang_lib_Driver_Tools_cpp
===================================================================
RCS file: /cvs/ports/devel/llvm/patches/patch-tools_clang_lib_Driver_Tools_cpp,v
retrieving revision 1.5
diff -N -u patches/patch-tools_clang_lib_Driver_Tools_cpp
--- patches/patch-tools_clang_lib_Driver_Tools_cpp 12 Jun 2010 12:15:08 -0000 1.5
+++ /dev/null 25 Dec 2010 01:57:02 -0000
@@ -1,24 +0,0 @@
-$OpenBSD: patch-tools_clang_lib_Driver_Tools_cpp,v 1.5 2010/06/12 12:15:08 sthen Exp $
---- tools/clang/lib/Driver/Tools.cpp.orig Sun Mar  7 04:46:18 2010
-+++ tools/clang/lib/Driver/Tools.cpp Thu Jun 10 16:12:25 2010
-@@ -576,6 +576,11 @@ void Clang::AddX86TargetArgs(const ArgList &Args,
-         CPUName = "core2";
-       else if (getToolChain().getArchName() == "i386")
-         CPUName = "yonah";
-+    } else if (getToolChain().getOS().startswith("openbsd"))  {
-+      if (getToolChain().getArchName() == "x86_64")
-+        CPUName = "x86-64";
-+      else if (getToolChain().getArchName() == "i386")
-+        CPUName = "i486";
-     } else {
-       if (getToolChain().getArchName() == "x86_64")
-         CPUName = "x86-64";
-@@ -2551,7 +2556,7 @@ void openbsd::Link::ConstructJob(Compilation &C, const
-   if (Triple.substr(0, 6) == "x86_64")
-     Triple.replace(0, 6, "amd64");
-   CmdArgs.push_back(Args.MakeArgString("-L/usr/lib/gcc-lib/" + Triple +
--                                       "/3.3.5"));
-+                                       "/4.2.1"));
-
-   Args.AddAllArgs(CmdArgs, options::OPT_L);
-   Args.AddAllArgs(CmdArgs, options::OPT_T_Group);
Index: patches/patch-tools_clang_lib_Frontend_InitHeaderSearch_cpp
===================================================================
RCS file: /cvs/ports/devel/llvm/patches/patch-tools_clang_lib_Frontend_InitHeaderSearch_cpp,v
retrieving revision 1.2
diff -N -u patches/patch-tools_clang_lib_Frontend_InitHeaderSearch_cpp
--- patches/patch-tools_clang_lib_Frontend_InitHeaderSearch_cpp 12 Jun 2010 12:15:08 -0000 1.2
+++ /dev/null 25 Dec 2010 01:57:02 -0000
@@ -1,19 +0,0 @@
-$OpenBSD: patch-tools_clang_lib_Frontend_InitHeaderSearch_cpp,v 1.2 2010/06/12 12:15:08 sthen Exp $
---- tools/clang/lib/Frontend/InitHeaderSearch.cpp.orig Sat Mar  6 20:38:10 2010
-+++ tools/clang/lib/Frontend/InitHeaderSearch.cpp Wed Apr 28 21:11:32 2010
-@@ -581,6 +581,15 @@ void InitHeaderSearch::AddDefaultCPlusPlusIncludePaths
-   case llvm::Triple::FreeBSD:
-     AddGnuCPlusPlusIncludePaths("/usr/include/c++/4.2", "", "", "", triple);
-     break;
-+  case llvm::Triple::OpenBSD:
-+    {
-+      std::string t = triple.getTriple();
-+      if (t.substr(0, 6) == "x86_64")
-+        t.replace(0, 6, "amd64");
-+      AddGnuCPlusPlusIncludePaths("/usr/include/g++",
-+          t, "", "", triple);
-+    }
-+    break;
-   case llvm::Triple::Solaris:
-     // Solaris - Fall though..
-   case llvm::Triple::AuroraUX:
Index: patches/patch-tools_clang_lib_Lex_Lexer_cpp
===================================================================
RCS file: /cvs/ports/devel/llvm/patches/patch-tools_clang_lib_Lex_Lexer_cpp,v
retrieving revision 1.5
diff -N -u patches/patch-tools_clang_lib_Lex_Lexer_cpp
--- patches/patch-tools_clang_lib_Lex_Lexer_cpp 29 Apr 2010 16:37:09 -0000 1.5
+++ patches/patch-tools_clang_lib_Lex_Lexer_cpp 25 Dec 2010 02:14:48 -0000
@@ -1,7 +1,7 @@
 $OpenBSD: patch-tools_clang_lib_Lex_Lexer_cpp,v 1.5 2010/04/29 16:37:09 jsg Exp $
---- tools/clang/lib/Lex/Lexer.cpp.orig Wed Feb  3 22:06:21 2010
-+++ tools/clang/lib/Lex/Lexer.cpp Tue Apr 27 20:57:36 2010
-@@ -1104,6 +1104,7 @@ static bool isEndOfBlockCommentWithEscapedNewLine(cons
+--- tools/clang/lib/Lex/Lexer.cpp.orig Tue Aug 31 12:42:00 2010
++++ tools/clang/lib/Lex/Lexer.cpp Fri Dec 24 18:29:13 2010
+@@ -1334,6 +1334,7 @@ static bool isEndOfBlockCommentWithEscapedNewLine(cons
    return true;
  }
 
Index: patches/patch-tools_clang_lib_Parse_AttributeList_cpp
===================================================================
RCS file: /cvs/ports/devel/llvm/patches/patch-tools_clang_lib_Parse_AttributeList_cpp,v
retrieving revision 1.2
diff -N -u patches/patch-tools_clang_lib_Parse_AttributeList_cpp
--- patches/patch-tools_clang_lib_Parse_AttributeList_cpp 29 Apr 2010 16:37:09 -0000 1.2
+++ patches/patch-tools_clang_lib_Parse_AttributeList_cpp 25 Dec 2010 02:14:48 -0000
@@ -1,10 +1,11 @@
 $OpenBSD: patch-tools_clang_lib_Parse_AttributeList_cpp,v 1.2 2010/04/29 16:37:09 jsg Exp $
---- tools/clang/lib/Parse/AttributeList.cpp.orig Tue Feb 23 23:00:30 2010
-+++ tools/clang/lib/Parse/AttributeList.cpp Tue Apr 27 21:03:13 2010
-@@ -119,5 +119,6 @@ AttributeList::Kind AttributeList::getKind(const Ident
-     .Case("cf_returns_retained", AT_cf_returns_retained)
+--- tools/clang/lib/Sema/AttributeList.cpp.orig Thu Sep  2 21:29:35 2010
++++ tools/clang/lib/Sema/AttributeList.cpp Fri Dec 24 18:29:13 2010
+@@ -125,6 +125,7 @@ AttributeList::Kind AttributeList::getKind(const Ident
      .Case("reqd_work_group_size", AT_reqd_wg_size)
+     .Case("init_priority", AT_init_priority)
      .Case("no_instrument_function", AT_no_instrument_function)
 +    .Case("bounded", IgnoredAttribute) // XXX
-     .Default(UnknownAttribute);
- }
+     .Case("thiscall", AT_thiscall)
+     .Case("pascal", AT_pascal)
+     .Case("__cdecl", AT_cdecl)
Index: patches/patch-tools_clang_lib_Sema_SemaDeclAttr_cpp
===================================================================
RCS file: /cvs/ports/devel/llvm/patches/patch-tools_clang_lib_Sema_SemaDeclAttr_cpp,v
retrieving revision 1.3
diff -N -u patches/patch-tools_clang_lib_Sema_SemaDeclAttr_cpp
--- patches/patch-tools_clang_lib_Sema_SemaDeclAttr_cpp 29 Apr 2010 16:37:09 -0000 1.3
+++ patches/patch-tools_clang_lib_Sema_SemaDeclAttr_cpp 25 Dec 2010 02:14:48 -0000
@@ -1,7 +1,7 @@
 $OpenBSD: patch-tools_clang_lib_Sema_SemaDeclAttr_cpp,v 1.3 2010/04/29 16:37:09 jsg Exp $
---- tools/clang/lib/Sema/SemaDeclAttr.cpp.orig Thu Feb 25 04:26:51 2010
-+++ tools/clang/lib/Sema/SemaDeclAttr.cpp Wed Apr 28 21:11:32 2010
-@@ -1133,7 +1133,7 @@ static FormatAttrKind getFormatAttrKind(llvm::StringRe
+--- tools/clang/lib/Sema/SemaDeclAttr.cpp.orig Thu Sep  2 21:29:35 2010
++++ tools/clang/lib/Sema/SemaDeclAttr.cpp Fri Dec 24 18:29:13 2010
+@@ -1387,7 +1387,7 @@ static FormatAttrKind getFormatAttrKind(llvm::StringRe
    if (Format == "scanf" || Format == "printf" || Format == "printf0" ||
        Format == "strfmon" || Format == "cmn_err" || Format == "strftime" ||
        Format == "NSString" || Format == "CFString" || Format == "vcmn_err" ||
@@ -9,4 +9,4 @@
 +      Format == "zcmn_err" || Format == "kprintf")
      return SupportedFormat;
 
-   return InvalidFormat;
+   if (Format == "gcc_diag" || Format == "gcc_cdiag" ||
Index: pkg/PLIST
===================================================================
RCS file: /cvs/ports/devel/llvm/pkg/PLIST,v
retrieving revision 1.12
diff -N -u pkg/PLIST
--- pkg/PLIST 28 Sep 2010 07:38:24 -0000 1.12
+++ pkg/PLIST 25 Dec 2010 02:14:48 -0000
@@ -1,6 +1,7 @@
 @comment $OpenBSD: PLIST,v 1.12 2010/09/28 07:38:24 sthen Exp $
 @bin bin/bugpoint
 bin/c++-analyzer
+@bin bin/c-index-test
 bin/ccc-analyzer
 @bin bin/clang
 bin/clang++
@@ -10,10 +11,12 @@
 @bin bin/llvm-as
 @bin bin/llvm-bcanalyzer
 bin/llvm-config
+@bin bin/llvm-diff
 @bin bin/llvm-dis
 @bin bin/llvm-extract
 @bin bin/llvm-ld
 @bin bin/llvm-link
+@bin bin/llvm-mc
 @bin bin/llvm-nm
 @bin bin/llvm-prof
 @bin bin/llvm-ranlib
@@ -32,35 +35,43 @@
 include/clang/AST/ASTContext.h
 include/clang/AST/ASTDiagnostic.h
 include/clang/AST/ASTImporter.h
+include/clang/AST/ASTVector.h
 include/clang/AST/Attr.h
+include/clang/AST/AttrImpl.inc
+include/clang/AST/Attrs.inc
 include/clang/AST/CXXInheritance.h
 include/clang/AST/CanonicalType.h
 include/clang/AST/CharUnits.h
 include/clang/AST/Decl.h
+include/clang/AST/DeclAccessPair.h
 include/clang/AST/DeclBase.h
 include/clang/AST/DeclCXX.h
 include/clang/AST/DeclContextInternals.h
+include/clang/AST/DeclFriend.h
 include/clang/AST/DeclGroup.h
-include/clang/AST/DeclNodes.def
+include/clang/AST/DeclNodes.inc
 include/clang/AST/DeclObjC.h
 include/clang/AST/DeclTemplate.h
 include/clang/AST/DeclVisitor.h
 include/clang/AST/DeclarationName.h
+include/clang/AST/DependentDiagnostic.h
 include/clang/AST/Expr.h
 include/clang/AST/ExprCXX.h
 include/clang/AST/ExprObjC.h
 include/clang/AST/ExternalASTSource.h
 include/clang/AST/FullExpr.h
 include/clang/AST/NestedNameSpecifier.h
+include/clang/AST/OperationKinds.h
 include/clang/AST/ParentMap.h
 include/clang/AST/PrettyPrinter.h
 include/clang/AST/RecordLayout.h
+include/clang/AST/RecursiveASTVisitor.h
 include/clang/AST/Redeclarable.h
 include/clang/AST/Stmt.h
 include/clang/AST/StmtCXX.h
 include/clang/AST/StmtGraphTraits.h
 include/clang/AST/StmtIterator.h
-include/clang/AST/StmtNodes.def
+include/clang/AST/StmtNodes.inc
 include/clang/AST/StmtObjC.h
 include/clang/AST/StmtVisitor.h
 include/clang/AST/TemplateBase.h
@@ -74,15 +85,18 @@
 include/clang/AST/TypeOrdering.h
 include/clang/AST/TypeVisitor.h
 include/clang/AST/UnresolvedSet.h
+include/clang/AST/UsuallyTinyPtrVector.h
 include/clang/Analysis/
 include/clang/Analysis/Analyses/
+include/clang/Analysis/Analyses/FormatString.h
 include/clang/Analysis/Analyses/LiveVariables.h
-include/clang/Analysis/Analyses/PrintfFormatString.h
+include/clang/Analysis/Analyses/PseudoConstantAnalysis.h
 include/clang/Analysis/Analyses/ReachableCode.h
 include/clang/Analysis/Analyses/UninitializedValues.h
 include/clang/Analysis/AnalysisContext.h
 include/clang/Analysis/AnalysisDiagnostic.h
 include/clang/Analysis/CFG.h
+include/clang/Analysis/CFGStmtMap.h
 include/clang/Analysis/FlowSensitive/
 include/clang/Analysis/FlowSensitive/DataflowSolver.h
 include/clang/Analysis/FlowSensitive/DataflowValues.h
@@ -90,13 +104,14 @@
 include/clang/Analysis/Support/
 include/clang/Analysis/Support/BlkExprDeclBitVector.h
 include/clang/Analysis/Support/BumpVector.h
-include/clang/Analysis/Support/Optional.h
 include/clang/Analysis/Support/SaveAndRestore.h
 include/clang/Analysis/Visitors/
 include/clang/Analysis/Visitors/CFGRecStmtDeclVisitor.h
 include/clang/Analysis/Visitors/CFGRecStmtVisitor.h
 include/clang/Analysis/Visitors/CFGStmtVisitor.h
 include/clang/Basic/
+include/clang/Basic/AttrKinds.h
+include/clang/Basic/AttrList.inc
 include/clang/Basic/Builtins.def
 include/clang/Basic/Builtins.h
 include/clang/Basic/BuiltinsARM.def
@@ -135,7 +150,10 @@
 include/clang/Basic/TokenKinds.h
 include/clang/Basic/TypeTraits.h
 include/clang/Basic/Version.h
+include/clang/Basic/Version.inc
+include/clang/Basic/arm_neon.inc
 include/clang/Checker/
+include/clang/Checker/AnalysisConsumer.h
 include/clang/Checker/BugReporter/
 include/clang/Checker/BugReporter/BugReporter.h
 include/clang/Checker/BugReporter/BugType.h
@@ -145,11 +163,14 @@
 include/clang/Checker/Checkers/LocalCheckers.h
 include/clang/Checker/DomainSpecific/
 include/clang/Checker/DomainSpecific/CocoaConventions.h
+include/clang/Checker/FrontendActions.h
 include/clang/Checker/ManagerRegistry.h
+include/clang/Checker/PathDiagnosticClients.h
 include/clang/Checker/PathSensitive/
 include/clang/Checker/PathSensitive/AnalysisManager.h
 include/clang/Checker/PathSensitive/BasicValueFactory.h
 include/clang/Checker/PathSensitive/Checker.h
+include/clang/Checker/PathSensitive/CheckerHelpers.h
 include/clang/Checker/PathSensitive/CheckerVisitor.def
 include/clang/Checker/PathSensitive/CheckerVisitor.h
 include/clang/Checker/PathSensitive/ConstraintManager.h
@@ -174,12 +195,15 @@
 include/clang/Checker/PathSensitive/SymbolManager.h
 include/clang/Checker/PathSensitive/ValueManager.h
 include/clang/CodeGen/
-include/clang/CodeGen/CodeGenOptions.h
+include/clang/CodeGen/BackendUtil.h
+include/clang/CodeGen/CodeGenAction.h
 include/clang/CodeGen/ModuleBuilder.h
 include/clang/Driver/
 include/clang/Driver/Action.h
 include/clang/Driver/Arg.h
 include/clang/Driver/ArgList.h
+include/clang/Driver/CC1AsOptions.h
+include/clang/Driver/CC1AsOptions.inc
 include/clang/Driver/CC1Options.h
 include/clang/Driver/CC1Options.inc
 include/clang/Driver/Compilation.h
@@ -202,9 +226,9 @@
 include/clang/Frontend/ASTConsumers.h
 include/clang/Frontend/ASTUnit.h
 include/clang/Frontend/Analyses.def
-include/clang/Frontend/AnalysisConsumer.h
+include/clang/Frontend/AnalyzerOptions.h
 include/clang/Frontend/ChainedDiagnosticClient.h
-include/clang/Frontend/CodeGenAction.h
+include/clang/Frontend/CodeGenOptions.h
 include/clang/Frontend/CommandLineSourceLoc.h
 include/clang/Frontend/CompilerInstance.h
 include/clang/Frontend/CompilerInvocation.h
@@ -214,7 +238,6 @@
 include/clang/Frontend/DiagnosticOptions.h
 include/clang/Frontend/DocumentXML.def
 include/clang/Frontend/DocumentXML.h
-include/clang/Frontend/FixItRewriter.h
 include/clang/Frontend/FrontendAction.h
 include/clang/Frontend/FrontendActions.h
 include/clang/Frontend/FrontendDiagnostic.h
@@ -223,10 +246,6 @@
 include/clang/Frontend/HeaderSearchOptions.h
 include/clang/Frontend/LangStandard.h
 include/clang/Frontend/LangStandards.def
-include/clang/Frontend/PCHBitCodes.h
-include/clang/Frontend/PCHReader.h
-include/clang/Frontend/PCHWriter.h
-include/clang/Frontend/PathDiagnosticClients.h
 include/clang/Frontend/PreprocessorOptions.h
 include/clang/Frontend/PreprocessorOutputOptions.h
 include/clang/Frontend/StmtXML.def
@@ -235,6 +254,8 @@
 include/clang/Frontend/TypeXML.def
 include/clang/Frontend/Utils.h
 include/clang/Frontend/VerifyDiagnosticsClient.h
+include/clang/FrontendTool/
+include/clang/FrontendTool/Utils.h
 include/clang/Index/
 include/clang/Index/ASTLocation.h
 include/clang/Index/Analyzer.h
@@ -249,8 +270,8 @@
 include/clang/Index/STLExtras.h
 include/clang/Index/SelectorMap.h
 include/clang/Index/TranslationUnit.h
-include/clang/Index/Utils.h
 include/clang/Lex/
+include/clang/Lex/CodeCompletionHandler.h
 include/clang/Lex/DirectoryLookup.h
 include/clang/Lex/ExternalPreprocessorSource.h
 include/clang/Lex/HeaderMap.h
@@ -264,6 +285,7 @@
 include/clang/Lex/PTHLexer.h
 include/clang/Lex/PTHManager.h
 include/clang/Lex/Pragma.h
+include/clang/Lex/PreprocessingRecord.h
 include/clang/Lex/Preprocessor.h
 include/clang/Lex/PreprocessorLexer.h
 include/clang/Lex/ScratchBuffer.h
@@ -271,27 +293,51 @@
 include/clang/Lex/TokenConcatenation.h
 include/clang/Lex/TokenLexer.h
 include/clang/Parse/
-include/clang/Parse/Action.h
-include/clang/Parse/AttributeList.h
-include/clang/Parse/DeclSpec.h
-include/clang/Parse/Designator.h
-include/clang/Parse/Ownership.h
+include/clang/Parse/ParseAST.h
 include/clang/Parse/ParseDiagnostic.h
 include/clang/Parse/Parser.h
-include/clang/Parse/Scope.h
-include/clang/Parse/Template.h
 include/clang/Rewrite/
+include/clang/Rewrite/ASTConsumers.h
 include/clang/Rewrite/DeltaTree.h
+include/clang/Rewrite/FixItRewriter.h
+include/clang/Rewrite/FrontendActions.h
 include/clang/Rewrite/HTMLRewrite.h
 include/clang/Rewrite/RewriteRope.h
 include/clang/Rewrite/Rewriter.h
+include/clang/Rewrite/Rewriters.h
 include/clang/Rewrite/TokenRewriter.h
 include/clang/Sema/
+include/clang/Sema/AnalysisBasedWarnings.h
+include/clang/Sema/AttributeList.h
+include/clang/Sema/CXXFieldCollector.h
 include/clang/Sema/CodeCompleteConsumer.h
+include/clang/Sema/DeclSpec.h
+include/clang/Sema/DelayedDiagnostic.h
+include/clang/Sema/Designator.h
 include/clang/Sema/ExternalSemaSource.h
-include/clang/Sema/ParseAST.h
+include/clang/Sema/IdentifierResolver.h
+include/clang/Sema/Initialization.h
+include/clang/Sema/Lookup.h
+include/clang/Sema/ObjCMethodList.h
+include/clang/Sema/Overload.h
+include/clang/Sema/Ownership.h
+include/clang/Sema/ParsedTemplate.h
+include/clang/Sema/PrettyDeclStackTrace.h
+include/clang/Sema/Scope.h
+include/clang/Sema/ScopeInfo.h
+include/clang/Sema/Sema.h
 include/clang/Sema/SemaConsumer.h
 include/clang/Sema/SemaDiagnostic.h
+include/clang/Sema/SemaInternal.h
+include/clang/Sema/Template.h
+include/clang/Sema/TemplateDeduction.h
+include/clang/Serialization/
+include/clang/Serialization/ASTBitCodes.h
+include/clang/Serialization/ASTDeserializationListener.h
+include/clang/Serialization/ASTReader.h
+include/clang/Serialization/ASTWriter.h
+include/clang/Serialization/AttrPCHRead.inc
+include/clang/Serialization/AttrPCHWrite.inc
 include/llvm/
 include/llvm-c/
 include/llvm-c/Analysis.h
@@ -311,6 +357,7 @@
 include/llvm/ADT/APInt.h
 include/llvm/ADT/APSInt.h
 include/llvm/ADT/BitVector.h
+include/llvm/ADT/DAGDeltaAlgorithm.h
 include/llvm/ADT/DeltaAlgorithm.h
 include/llvm/ADT/DenseMap.h
 include/llvm/ADT/DenseMapInfo.h
@@ -325,6 +372,8 @@
 include/llvm/ADT/ImmutableSet.h
 include/llvm/ADT/IndexedMap.h
 include/llvm/ADT/IntrusiveRefCntPtr.h
+include/llvm/ADT/NullablePtr.h
+include/llvm/ADT/Optional.h
 include/llvm/ADT/OwningPtr.h
 include/llvm/ADT/PointerIntPair.h
 include/llvm/ADT/PointerUnion.h
@@ -362,6 +411,7 @@
 include/llvm/Analysis/CFGPrinter.h
 include/llvm/Analysis/CallGraph.h
 include/llvm/Analysis/CaptureTracking.h
+include/llvm/Analysis/CodeMetrics.h
 include/llvm/Analysis/ConstantFolding.h
 include/llvm/Analysis/ConstantsScanner.h
 include/llvm/Analysis/DOTGraphTraitsPass.h
@@ -379,7 +429,9 @@
 include/llvm/Analysis/LazyValueInfo.h
 include/llvm/Analysis/LibCallAliasAnalysis.h
 include/llvm/Analysis/LibCallSemantics.h
+include/llvm/Analysis/Lint.h
 include/llvm/Analysis/LiveValues.h
+include/llvm/Analysis/Loads.h
 include/llvm/Analysis/LoopDependenceAnalysis.h
 include/llvm/Analysis/LoopInfo.h
 include/llvm/Analysis/LoopPass.h
@@ -392,16 +444,20 @@
 include/llvm/Analysis/ProfileInfo.h
 include/llvm/Analysis/ProfileInfoLoader.h
 include/llvm/Analysis/ProfileInfoTypes.h
+include/llvm/Analysis/RegionInfo.h
+include/llvm/Analysis/RegionIterator.h
+include/llvm/Analysis/RegionPrinter.h
 include/llvm/Analysis/ScalarEvolution.h
 include/llvm/Analysis/ScalarEvolutionExpander.h
 include/llvm/Analysis/ScalarEvolutionExpressions.h
+include/llvm/Analysis/ScalarEvolutionNormalization.h
 include/llvm/Analysis/SparsePropagation.h
 include/llvm/Analysis/Trace.h
 include/llvm/Analysis/ValueTracking.h
 include/llvm/Analysis/Verifier.h
 include/llvm/Argument.h
 include/llvm/Assembly/
-include/llvm/Assembly/AsmAnnotationWriter.h
+include/llvm/Assembly/AssemblyAnnotationWriter.h
 include/llvm/Assembly/Parser.h
 include/llvm/Assembly/PrintModulePass.h
 include/llvm/Assembly/Writer.h
@@ -419,17 +475,18 @@
 include/llvm/CallGraphSCCPass.h
 include/llvm/CallingConv.h
 include/llvm/CodeGen/
+include/llvm/CodeGen/Analysis.h
 include/llvm/CodeGen/AsmPrinter.h
 include/llvm/CodeGen/BinaryObject.h
 include/llvm/CodeGen/CalcSpillWeights.h
 include/llvm/CodeGen/CallingConvLower.h
-include/llvm/CodeGen/DwarfWriter.h
-include/llvm/CodeGen/ELFRelocation.h
 include/llvm/CodeGen/FastISel.h
+include/llvm/CodeGen/FunctionLoweringInfo.h
 include/llvm/CodeGen/GCMetadata.h
 include/llvm/CodeGen/GCMetadataPrinter.h
 include/llvm/CodeGen/GCStrategy.h
 include/llvm/CodeGen/GCs.h
+include/llvm/CodeGen/ISDOpcodes.h
 include/llvm/CodeGen/IntrinsicLowering.h
 include/llvm/CodeGen/JITCodeEmitter.h
 include/llvm/CodeGen/LatencyPriorityQueue.h
@@ -464,6 +521,7 @@
 include/llvm/CodeGen/MachineSSAUpdater.h
 include/llvm/CodeGen/ObjectCodeEmitter.h
 include/llvm/CodeGen/Passes.h
+include/llvm/CodeGen/PostRAHazardRecognizer.h
 include/llvm/CodeGen/ProcessImplicitDefs.h
 include/llvm/CodeGen/PseudoSourceValue.h
 include/llvm/CodeGen/RegAllocRegistry.h
@@ -482,14 +540,13 @@
 include/llvm/CodeGen/ValueTypes.td
 include/llvm/CompilerDriver/
 include/llvm/CompilerDriver/Action.h
+include/llvm/CompilerDriver/AutoGenerated.h
 include/llvm/CompilerDriver/BuiltinOptions.h
 include/llvm/CompilerDriver/Common.td
 include/llvm/CompilerDriver/CompilationGraph.h
 include/llvm/CompilerDriver/Error.h
-include/llvm/CompilerDriver/ForceLinkage.h
-include/llvm/CompilerDriver/ForceLinkageMacros.h
+include/llvm/CompilerDriver/Main.h
 include/llvm/CompilerDriver/Main.inc
-include/llvm/CompilerDriver/Plugin.h
 include/llvm/CompilerDriver/Tool.h
 include/llvm/Config/
 include/llvm/Config/AsmParsers.def
@@ -498,6 +555,8 @@
 include/llvm/Config/Targets.def
 include/llvm/Config/config.h
 include/llvm/Config/config.h.cmake
+include/llvm/Config/llvm-config.h
+include/llvm/Config/llvm-config.h.cmake
 include/llvm/Constant.h
 include/llvm/Constants.h
 include/llvm/DerivedTypes.h
@@ -533,31 +592,42 @@
 include/llvm/LinkAllVMCore.h
 include/llvm/Linker.h
 include/llvm/MC/
+include/llvm/MC/EDInstInfo.h
+include/llvm/MC/ELFObjectWriter.h
 include/llvm/MC/MCAsmInfo.h
 include/llvm/MC/MCAsmInfoCOFF.h
 include/llvm/MC/MCAsmInfoDarwin.h
+include/llvm/MC/MCAsmLayout.h
 include/llvm/MC/MCAssembler.h
 include/llvm/MC/MCCodeEmitter.h
 include/llvm/MC/MCContext.h
 include/llvm/MC/MCDirectives.h
 include/llvm/MC/MCDisassembler.h
+include/llvm/MC/MCDwarf.h
+include/llvm/MC/MCELFSymbolFlags.h
 include/llvm/MC/MCExpr.h
 include/llvm/MC/MCFixup.h
 include/llvm/MC/MCInst.h
 include/llvm/MC/MCInstPrinter.h
+include/llvm/MC/MCLabel.h
+include/llvm/MC/MCMachOSymbolFlags.h
+include/llvm/MC/MCObjectStreamer.h
+include/llvm/MC/MCObjectWriter.h
 include/llvm/MC/MCParser/
 include/llvm/MC/MCParser/AsmCond.h
 include/llvm/MC/MCParser/AsmLexer.h
-include/llvm/MC/MCParser/AsmParser.h
 include/llvm/MC/MCParser/MCAsmLexer.h
 include/llvm/MC/MCParser/MCAsmParser.h
+include/llvm/MC/MCParser/MCAsmParserExtension.h
 include/llvm/MC/MCParser/MCParsedAsmOperand.h
 include/llvm/MC/MCSection.h
+include/llvm/MC/MCSectionCOFF.h
 include/llvm/MC/MCSectionELF.h
 include/llvm/MC/MCSectionMachO.h
 include/llvm/MC/MCStreamer.h
 include/llvm/MC/MCSymbol.h
 include/llvm/MC/MCValue.h
+include/llvm/MC/MachObjectWriter.h
 include/llvm/MC/SectionKind.h
 include/llvm/Metadata.h
 include/llvm/Module.h
@@ -567,17 +637,20 @@
 include/llvm/PassAnalysisSupport.h
 include/llvm/PassManager.h
 include/llvm/PassManagers.h
+include/llvm/PassRegistry.h
 include/llvm/PassSupport.h
 include/llvm/Support/
 include/llvm/Support/AlignOf.h
 include/llvm/Support/Allocator.h
 include/llvm/Support/CFG.h
+include/llvm/Support/COFF.h
 include/llvm/Support/CallSite.h
 include/llvm/Support/Casting.h
 include/llvm/Support/CommandLine.h
 include/llvm/Support/Compiler.h
 include/llvm/Support/ConstantFolder.h
 include/llvm/Support/ConstantRange.h
+include/llvm/Support/CrashRecoveryContext.h
 include/llvm/Support/DOTGraphTraits.h
 include/llvm/Support/DataFlow.h
 include/llvm/Support/Debug.h
@@ -616,7 +689,6 @@
 include/llvm/Support/Registry.h
 include/llvm/Support/RegistryParser.h
 include/llvm/Support/SMLoc.h
-include/llvm/Support/SlowOperationInformer.h
 include/llvm/Support/SourceMgr.h
 include/llvm/Support/StableBasicBlockNumbering.h
 include/llvm/Support/StandardPasses.h
@@ -654,6 +726,7 @@
 include/llvm/System/ThreadLocal.h
 include/llvm/System/Threading.h
 include/llvm/System/TimeValue.h
+include/llvm/System/Valgrind.h
 include/llvm/Target/
 include/llvm/Target/Mangler.h
 include/llvm/Target/SubtargetFeature.h
@@ -661,6 +734,7 @@
 include/llvm/Target/TargetAsmBackend.h
 include/llvm/Target/TargetAsmLexer.h
 include/llvm/Target/TargetAsmParser.h
+include/llvm/Target/TargetCallingConv.h
 include/llvm/Target/TargetCallingConv.td
 include/llvm/Target/TargetData.h
 include/llvm/Target/TargetELFWriterInfo.h
@@ -680,6 +754,7 @@
 include/llvm/Target/TargetSchedule.td
 include/llvm/Target/TargetSelect.h
 include/llvm/Target/TargetSelectionDAG.td
+include/llvm/Target/TargetSelectionDAGInfo.h
 include/llvm/Target/TargetSubtarget.h
 include/llvm/Transforms/
 include/llvm/Transforms/IPO/
@@ -698,7 +773,7 @@
 include/llvm/Transforms/Utils/Local.h
 include/llvm/Transforms/Utils/PromoteMemToReg.h
 include/llvm/Transforms/Utils/SSAUpdater.h
-include/llvm/Transforms/Utils/SSI.h
+include/llvm/Transforms/Utils/SSAUpdaterImpl.h
 include/llvm/Transforms/Utils/UnifyFunctionExitNodes.h
 include/llvm/Transforms/Utils/UnrollLoop.h
 include/llvm/Transforms/Utils/ValueMapper.h
@@ -709,31 +784,39 @@
 include/llvm/Value.h
 include/llvm/ValueSymbolTable.h
 lib/clang/
-lib/clang/1.1/
-lib/clang/1.1/include/
-lib/clang/1.1/include/emmintrin.h
-lib/clang/1.1/include/float.h
-lib/clang/1.1/include/iso646.h
-lib/clang/1.1/include/limits.h
-lib/clang/1.1/include/mm_malloc.h
-lib/clang/1.1/include/mmintrin.h
-lib/clang/1.1/include/pmmintrin.h
-lib/clang/1.1/include/smmintrin.h
-lib/clang/1.1/include/stdarg.h
-lib/clang/1.1/include/stdbool.h
-lib/clang/1.1/include/stddef.h
-lib/clang/1.1/include/stdint.h
-lib/clang/1.1/include/tgmath.h
-lib/clang/1.1/include/tmmintrin.h
-lib/clang/1.1/include/xmmintrin.h
-lib/libCIndex.a
-lib/libCIndex.so
+lib/clang/2.8/
+lib/clang/2.8/include/
+lib/clang/2.8/include/altivec.h
+lib/clang/2.8/include/arm_neon.h
+lib/clang/2.8/include/avxintrin.h
+lib/clang/2.8/include/emmintrin.h
+lib/clang/2.8/include/float.h
+lib/clang/2.8/include/immintrin.h
+lib/clang/2.8/include/iso646.h
+lib/clang/2.8/include/limits.h
+lib/clang/2.8/include/mm_malloc.h
+lib/clang/2.8/include/mmintrin.h
+lib/clang/2.8/include/nmmintrin.h
+lib/clang/2.8/include/pmmintrin.h
+lib/clang/2.8/include/smmintrin.h
+lib/clang/2.8/include/stdarg.h
+lib/clang/2.8/include/stdbool.h
+lib/clang/2.8/include/stddef.h
+lib/clang/2.8/include/stdint.h
+lib/clang/2.8/include/tgmath.h
+lib/clang/2.8/include/tmmintrin.h
+lib/clang/2.8/include/varargs.h
+lib/clang/2.8/include/wmmintrin.h
+lib/clang/2.8/include/x86intrin.h
+lib/clang/2.8/include/xmmintrin.h
+lib/libBugpointPasses.so
 lib/libCompilerDriver.a
 lib/libEnhancedDisassembly.a
 lib/libEnhancedDisassembly.so
 lib/libLLVMARMAsmParser.a
 lib/libLLVMARMAsmPrinter.a
 lib/libLLVMARMCodeGen.a
+lib/libLLVMARMDisassembler.a
 lib/libLLVMARMInfo.a
 lib/libLLVMAlphaAsmPrinter.a
 lib/libLLVMAlphaCodeGen.a
@@ -766,9 +849,8 @@
 lib/libLLVMMBlazeCodeGen.a
 lib/libLLVMMBlazeInfo.a
 lib/libLLVMMC.a
+lib/libLLVMMCDisassembler.a
 lib/libLLVMMCParser.a
-lib/libLLVMMSIL.a
-lib/libLLVMMSILInfo.a
 lib/libLLVMMSP430AsmPrinter.a
 lib/libLLVMMSP430CodeGen.a
 lib/libLLVMMSP430Info.a
@@ -807,6 +889,8 @@
 lib/libLTO.a
 lib/libLTO.so
 lib/libUnitTestMain.a
+lib/libclang.a
+lib/libclang.so
 lib/libclangAST.a
 lib/libclangAnalysis.a
 lib/libclangBasic.a
@@ -814,13 +898,13 @@
 lib/libclangCodeGen.a
 lib/libclangDriver.a
 lib/libclangFrontend.a
+lib/libclangFrontendTool.a
 lib/libclangIndex.a
 lib/libclangLex.a
 lib/libclangParse.a
 lib/libclangRewrite.a
 lib/libclangSema.a
-lib/libplugin_llvmc_Base.a
-lib/libplugin_llvmc_Clang.a
+lib/libclangSerialization.a
 lib/libprofile_rt.so
 @man man/man1/bugpoint.1
 @man man/man1/clang.1
@@ -831,6 +915,7 @@
 @man man/man1/llvm-as.1
 @man man/man1/llvm-bcanalyzer.1
 @man man/man1/llvm-config.1
+@man man/man1/llvm-diff.1
 @man man/man1/llvm-dis.1
 @man man/man1/llvm-extract.1
 @man man/man1/llvm-ld.1
@@ -865,6 +950,7 @@
 share/doc/llvm/html/CommandGuide/llvm-as.html
 share/doc/llvm/html/CommandGuide/llvm-bcanalyzer.html
 share/doc/llvm/html/CommandGuide/llvm-config.html
+share/doc/llvm/html/CommandGuide/llvm-diff.html
 share/doc/llvm/html/CommandGuide/llvm-dis.html
 share/doc/llvm/html/CommandGuide/llvm-extract.html
 share/doc/llvm/html/CommandGuide/llvm-ld.html
@@ -958,6 +1044,7 @@
 share/doc/llvm/ps/llvm-as.ps
 share/doc/llvm/ps/llvm-bcanalyzer.ps
 share/doc/llvm/ps/llvm-config.ps
+share/doc/llvm/ps/llvm-diff.ps
 share/doc/llvm/ps/llvm-dis.ps
 share/doc/llvm/ps/llvm-extract.ps
 share/doc/llvm/ps/llvm-ld.ps

Reply | Threaded
Open this post in threaded view
|

Re: llvm 2.8 update

Vladimir Kirillov-2
On 21:20 Fri 24 Dec, Ted Unangst wrote:

> Here's what I have.  There appears to be an issue where clang doesn't
> quite work, because it thinks the next stage is installed in ".".  See
> below.  Otherwise, at least it builds. :)
>
> /tmp> clang -v t.c
> clang version 2.8 (branches/release_28)
> Target: i386-unknown-openbsd4.8
> Thread model: posix
>  "/tmp/clang" -cc1 -triple i386-unknown-openbsd4.8 -S -disable-free
> -disable-llvm-verifier -main-file-name t.c -mrelocation-model static
> -mdisable-fp-elim -mconstructor-aliases -target-cpu i486
> -target-linker-version 2.15 -v -resource-dir /lib/clang/2.8 -ferror-limit
> 19 -fmessage-length 80 -fgnu-runtime -fdiagnostics-show-option
> -fcolor-diagnostics -o /tmp/cc-KoUUKA.s -x c t.c
> clang: error: unable to execute command: /tmp/clang is not executable
> clang: error: clang frontend command failed due to signal 1 (use -v to see
> invocation)

I workaround this with a simple script which uses the full path to
clang:

#!/bin/sh
exec /home/proger/dev/llvm/Debug+Asserts/bin/clang $*