llvm: updated to 6.0.1

6.0.1:

Non-comprehensive list of changes in this release

Support for retpolines was added to help mitigate “branch target injection” (variant 2) of the “Spectre” speculative side channels described by Project Zero and the Spectre paper.
The Redirects argument of llvm::sys::ExecuteAndWait and llvm::sys::ExecuteNoWait was changed to an ArrayRef of optional StringRef‘s to make it safer and more convenient to use.
The backend name was added to the Target Registry to allow run-time information to be fed back into TableGen. Out-of-tree targets will need to add the name used in the def X : Target definition to the call to RegisterTarget.
The Debugify pass was added to opt to facilitate testing of debug info preservation. This pass attaches synthetic DILocations and DIVariables to the instructions in a Module. The CheckDebugify pass determines how much of the metadata is lost.
Significantly improved quality of CodeView debug info for Windows.
Preliminary support for Sanitizers and sibling features on X86(_64) NetBSD (ASan, UBsan, TSan, MSan, SafeStack, libFuzzer).

Changes to the LLVM IR
----------------------
The fast-math-flags (FMF) have been updated. Previously, the ‘fast’ flag indicated that floating-point reassociation was allowed and all other flags were set too. The ‘fast’ flag still exists, but there is a new flag called ‘reassoc’ to indicate specifically that reassociation is allowed. A new bit called ‘afn’ was also added to selectively allow approximations for common mathlib functions like square-root. The new flags provide more flexibility to enable/disable specific floating-point optimizations. Making the optimizer respond appropriately to these flags is an ongoing effort.

Changes to the AArch64 Target
-----------------------------
Enabled the new GlobalISel instruction selection framework by default at -O0.

Changes to the ARM Target
-------------------------
Support for enabling SjLj exception handling on platforms where it isn’t the default.

Changes to the Hexagon Target
-----------------------------
The Hexagon backend now supports V65 ISA.
The -mhvx option now takes an optional value that specifies the ISA version of the HVX coprocessor. The available values are v60, v62 and v65. By default, the value is set to be the same as the CPU version.
The compiler option -mhvx-double is deprecated and will be removed in the next release of the compiler. Programmers should use the -mhvx-length option to specify the desired vector length: -mhvx-length=64b for 64-byte vectors and -mhvx-length=128b for 128-byte vectors. While the current default vector length is 64 bytes, users should always specify the length explicitly, since the default value may change in the future.
The target feature hvx-double is deprecated and will be removed in the next release. LLVM IR generators should use target features hvx-length64b and hvx-length128b to indicate the vector length. The length should always be specified when HVX code generation is enabled.

Changes to the MIPS Target
--------------------------
Fixed numerous bugs:

fpowi on MIPS64 giving incorrect results when used with a negative integer.
Usage of the asm ‘c’ constraint with the wrong datatype causing an assert/crash.
Fixed a conversion bug when using the DSP ASE.
Fixed an inconsistency where objects were not marked as using the microMIPS as when the micromips function attribute or the ”.set micromips” directive was used.
Reordered the MIPSR6 specific hazard scheduler pass to after the delay slot filler, fixing a class of rare edge case bugs where the delay slot filler would violate ISA restrictions.
Fixed a crash when using a type of unknown size with gp relative addressing.
Corrected the j macro for microMIPS.
Corrected the encoding of movep for microMIPS32r6.
Fixed an issue with the usage of insert instructions having an invalid set of operands.
Fixed an issue where TLS symbols were not marked as such.
Enabled the usage of register scavenging with MSA, due to its shorter offsets for loads and stores.
Corrected the ELF headers when using the DSP ASE.

New features:

The long branch pass now generates some R6 specific instructions when targeting MIPSR6.
The delay slot filler now performs more branch conversions if delay slots cannot be filled.
The MIPS MT ASE is now fully supported.
Added support for the lapc pseudo instruction.
Improved the selection of multiple instructions (dext, nmadd, nmsub).
Further improved microMIPS codesize reduction.

Deprecation notices:

microMIPS64R6 support was been deprecated since 5.0, and has now been completely removed.

Changes to the SystemZ Target
-----------------------------
During this release the SystemZ target has:

Added support for 128-bit atomic operations.
Added support for the “o” constraint for inline asm statements.

Changes to the X86 Target
-------------------------
During this release the X86 target has:

Added support for enabling SjLj exception handling on platforms where it isn’t the default.
Added intrinsics for Intel Extensions: VAES, GFNI, VPCLMULQDQ, AVX512VBMI2, AVX512BITALG, AVX512VNNI.
Added support for Intel Icelake CPU.
Fixed some X87 codegen bugs.
Added instruction scheduling information for Intel Sandy Bridge, Ivy Bridge, Haswell, Broadwell, and Skylake CPUs.
Improved scheduler model for AMD Jaguar CPUs.
Improved llvm-mc’s disassembler for some EVEX encoded instructions.
Add support for i8 and i16 vector signed/unsigned min/max horizontal reductions.
Improved codegen for memory comparisons
Improved codegen for i32 vector multiplies
Improved codegen for scalar integer absolute values
Improved codegen for vector integer rotations (XOP and AVX512)
Improved codegen of data being transferred between GPRs and K-registers.
Improved codegen for vector truncations.
Improved folding of address computations into gather/scatter instructions.
Gained initial support recognizing variable shuffles from vector element extracts and inserts.
Improved documentation for SSE/AVX intrinsics in intrin.h header files.
Gained support for emitting retpolines, including automatic insertion of the necessary thunks or using external thunks.
This commit is contained in:
adam 2018-08-07 10:44:50 +00:00
parent 2d1ffdd272
commit 6c333bb958
16 changed files with 215 additions and 97 deletions

View file

@ -1,6 +1,6 @@
# $NetBSD: Makefile,v 1.16 2018/05/22 12:39:23 adam Exp $
# $NetBSD: Makefile,v 1.17 2018/08/07 10:44:50 adam Exp $
DISTNAME= lldb-5.0.2.src
DISTNAME= lldb-6.0.1.src
PKGNAME= ${DISTNAME:S/.src//}
CATEGORIES= lang devel
MASTER_SITES= http://llvm.org/releases/${PKGVERSION_NOREV}/

View file

@ -1,14 +1,16 @@
@comment $NetBSD: PLIST,v 1.7 2017/12/01 19:22:12 adam Exp $
@comment $NetBSD: PLIST,v 1.8 2018/08/07 10:44:50 adam Exp $
bin/lldb
bin/lldb-argdumper
bin/lldb-mi
bin/lldb-server
bin/lldb-test
include/lldb/API/LLDB.h
include/lldb/API/SBAddress.h
include/lldb/API/SBAttachInfo.h
include/lldb/API/SBBlock.h
include/lldb/API/SBBreakpoint.h
include/lldb/API/SBBreakpointLocation.h
include/lldb/API/SBBreakpointName.h
include/lldb/API/SBBroadcaster.h
include/lldb/API/SBCommandInterpreter.h
include/lldb/API/SBCommandReturnObject.h
@ -39,6 +41,7 @@ include/lldb/API/SBModule.h
include/lldb/API/SBModuleSpec.h
include/lldb/API/SBPlatform.h
include/lldb/API/SBProcess.h
include/lldb/API/SBProcessInfo.h
include/lldb/API/SBQueue.h
include/lldb/API/SBQueueItem.h
include/lldb/API/SBSection.h
@ -76,6 +79,7 @@ include/lldb/Breakpoint/BreakpointList.h
include/lldb/Breakpoint/BreakpointLocation.h
include/lldb/Breakpoint/BreakpointLocationCollection.h
include/lldb/Breakpoint/BreakpointLocationList.h
include/lldb/Breakpoint/BreakpointName.h
include/lldb/Breakpoint/BreakpointOptions.h
include/lldb/Breakpoint/BreakpointResolver.h
include/lldb/Breakpoint/BreakpointResolverAddress.h
@ -95,7 +99,7 @@ include/lldb/Core/AddressRange.h
include/lldb/Core/AddressResolver.h
include/lldb/Core/AddressResolverFileLine.h
include/lldb/Core/AddressResolverName.h
include/lldb/Core/ArchSpec.h
include/lldb/Core/Architecture.h
include/lldb/Core/Broadcaster.h
include/lldb/Core/ClangForward.h
include/lldb/Core/Communication.h
@ -225,6 +229,7 @@ include/lldb/Host/Socket.h
include/lldb/Host/SocketAddress.h
include/lldb/Host/StringConvert.h
include/lldb/Host/Symbols.h
include/lldb/Host/TaskPool.h
include/lldb/Host/Terminal.h
include/lldb/Host/ThreadLauncher.h
include/lldb/Host/Time.h
@ -426,6 +431,7 @@ include/lldb/Target/UnixSignals.h
include/lldb/Target/Unwind.h
include/lldb/Target/UnwindAssembly.h
include/lldb/Utility/AnsiTerminal.h
include/lldb/Utility/ArchSpec.h
include/lldb/Utility/Baton.h
include/lldb/Utility/CleanUp.h
include/lldb/Utility/Connection.h
@ -464,7 +470,6 @@ include/lldb/Utility/StringExtractor.h
include/lldb/Utility/StringLexer.h
include/lldb/Utility/StringList.h
include/lldb/Utility/StructuredData.h
include/lldb/Utility/TaskPool.h
include/lldb/Utility/TildeExpressionResolver.h
include/lldb/Utility/Timeout.h
include/lldb/Utility/Timer.h
@ -488,7 +493,7 @@ include/lldb/lldb-types.h
include/lldb/lldb-versioning.h
lib/liblldb.so
lib/liblldb.so.${PKGVERSION}
${PLIST.posix}lib/liblldb.so.5
${PLIST.posix}lib/liblldb.so.6
lib/liblldbBase.a
lib/liblldbBreakpoint.a
lib/liblldbCommands.a
@ -512,6 +517,7 @@ lib/liblldbPluginABISysV_ppc64.a
lib/liblldbPluginABISysV_s390x.a
lib/liblldbPluginABISysV_x86_64.a
lib/liblldbPluginAppleObjCRuntime.a
lib/liblldbPluginArchitectureArm.a
lib/liblldbPluginCPlusPlusLanguage.a
lib/liblldbPluginCXXItaniumABI.a
lib/liblldbPluginDisassemblerLLVM.a
@ -577,7 +583,6 @@ lib/liblldbPluginUnwindAssemblyX86.a
lib/liblldbSymbol.a
lib/liblldbTarget.a
lib/liblldbUtility.a
lib/liblldbUtilityHelpers.a
${PYSITELIB}/lldb/__init__.py
${PYSITELIB}/lldb/_lldb.so
${PYSITELIB}/lldb/embedded_interpreter.py

View file

@ -1,8 +1,9 @@
$NetBSD: distinfo,v 1.11 2018/05/22 12:39:23 adam Exp $
$NetBSD: distinfo,v 1.12 2018/08/07 10:44:50 adam Exp $
SHA1 (lldb-5.0.2.src.tar.xz) = dc49387d583f013e99bfd82fddf24a7ce912814f
RMD160 (lldb-5.0.2.src.tar.xz) = 805f97c1315c7bf391a3ddc7ca78e5403a336f54
SHA512 (lldb-5.0.2.src.tar.xz) = 66eaaead60cc908ac061bedb4fac9cb96cecb7f4e5a79a51b6fa080e8f61f718b14e5f3581ead832b495bf10f055d4253d199236a0947dd22395ec80bf2afcf4
Size (lldb-5.0.2.src.tar.xz) = 19220632 bytes
SHA1 (lldb-6.0.1.src.tar.xz) = 907a32c7170067f485121a1e8ff793b16d1ff491
RMD160 (lldb-6.0.1.src.tar.xz) = 60b396b12067b99590c3966578809974a2283b55
SHA512 (lldb-6.0.1.src.tar.xz) = 93ee2efea07276f8838bc2b3ff039cab8c7a1a6965647aaa4dee99f55c6465d5584ed3be87b144e2e32b5acc7db9cec56d89404de764a2f53643ed154d213721
Size (lldb-6.0.1.src.tar.xz) = 19292420 bytes
SHA1 (patch-cmake_modules_LLDBStandalone.cmake) = 8f7d06a4b3a1e996af9af4affd650291c4f01fe5
SHA1 (patch-scripts_Python_modules_readline_readline.cpp) = 4a030226c47cf7d54ebc727e92e278c163e48bf5
SHA1 (patch-source_Plugins_ScriptInterpreter_Python_PythonDataObjects.cpp) = 99f038eb8f6c3add00c758db1e554a5298cfe589

View file

@ -1,6 +1,6 @@
# $NetBSD: Makefile,v 1.9 2018/05/22 12:39:23 adam Exp $
# $NetBSD: Makefile,v 1.10 2018/08/07 10:44:50 adam Exp $
DISTNAME= polly-5.0.2.src
DISTNAME= polly-6.0.1.src
PKGNAME= ${DISTNAME:S/.src//}
CATEGORIES= devel
MASTER_SITES= http://llvm.org/releases/${PKGVERSION_NOREV}/

View file

@ -1,4 +1,4 @@
@comment $NetBSD: PLIST,v 1.4 2017/12/01 19:22:12 adam Exp $
@comment $NetBSD: PLIST,v 1.5 2018/08/07 10:44:50 adam Exp $
include/polly/Canonicalization.h
include/polly/CodeGen/BlockGenerators.h
include/polly/CodeGen/CodeGeneration.h
@ -12,11 +12,14 @@ include/polly/CodeGen/PPCGCodeGeneration.h
include/polly/CodeGen/PerfMonitor.h
include/polly/CodeGen/RuntimeDebugBuilder.h
include/polly/CodeGen/Utils.h
include/polly/CodePreparation.h
include/polly/Config/config.h
include/polly/DeLICM.h
include/polly/DependenceInfo.h
include/polly/FlattenAlgo.h
include/polly/FlattenSchedule.h
include/polly/ForwardOpTree.h
include/polly/JSONExporter.h
include/polly/LinkAllPasses.h
include/polly/Options.h
include/polly/PolyhedralInfo.h
@ -39,7 +42,7 @@ include/polly/Support/SCEVValidator.h
include/polly/Support/ScopHelper.h
include/polly/Support/ScopLocation.h
include/polly/Support/VirtualInstruction.h
include/polly/isl-noexceptions.h
include/polly/ZoneAlgo.h
include/polly/isl/aff.h
include/polly/isl/aff_type.h
include/polly/isl/arg.h
@ -70,6 +73,7 @@ include/polly/isl/id_to_ast_expr.h
include/polly/isl/id_to_id.h
include/polly/isl/id_to_pw_aff.h
include/polly/isl/ilp.h
include/polly/isl/isl-noexceptions.h
include/polly/isl/list.h
include/polly/isl/local_space.h
include/polly/isl/lp.h

View file

@ -1,8 +1,8 @@
$NetBSD: distinfo,v 1.9 2018/05/22 12:39:23 adam Exp $
$NetBSD: distinfo,v 1.10 2018/08/07 10:44:50 adam Exp $
SHA1 (polly-5.0.2.src.tar.xz) = a8872ea34f77165e4cc1f346f7014f5255ab13b4
RMD160 (polly-5.0.2.src.tar.xz) = 2e806d5eb56539473c5c7016ff36a9d7019609fe
SHA512 (polly-5.0.2.src.tar.xz) = 4787da99cd25e28ee83acecd7a6fe0a6e3b6258009fe7594865b9f6791842b66fa818b9e8b322708e178ccb4967760b0c4331e3b633adb4118e604915632bc6c
Size (polly-5.0.2.src.tar.xz) = 8513656 bytes
SHA1 (polly-6.0.1.src.tar.xz) = ace57e113a26c1244cf28c79012ff5e3f73ff076
RMD160 (polly-6.0.1.src.tar.xz) = 0f50c00fcd1a1e6b5fcb1e8adce380e7c98fb391
SHA512 (polly-6.0.1.src.tar.xz) = 1851223653f8c326ddf39f5cf9fc18a2310299769c011795d8e1a5abef2834d2c800fae318e6370547d3b6b35199ce29fe76582b64493ab8fa506aff59272539
Size (polly-6.0.1.src.tar.xz) = 8684364 bytes
SHA1 (patch-CMakeLists.txt) = 8138e11f858f23e0069c8fa0c07eff2b7aaf8c43
SHA1 (patch-lib_External_isl_configure) = 97c83ab1d2f83e60ab39b41cf055c18074167e66

View file

@ -1,8 +1,8 @@
# $NetBSD: Makefile.common,v 1.26 2018/05/22 12:39:23 adam Exp $
# $NetBSD: Makefile.common,v 1.27 2018/08/07 10:44:50 adam Exp $
# used by lang/clang/Makefile
# used by lang/clang-static-analyzer/Makefile
DISTNAME= cfe-5.0.2.src
DISTNAME= cfe-6.0.1.src
CATEGORIES= lang devel
MASTER_SITES= http://llvm.org/releases/${PKGVERSION_NOREV}/
EXTRACT_SUFX= .tar.xz

View file

@ -1,13 +1,14 @@
@comment $NetBSD: PLIST,v 1.23 2017/12/30 10:39:24 adam Exp $
@comment $NetBSD: PLIST,v 1.24 2018/08/07 10:44:50 adam Exp $
bin/c-index-test
bin/clang
bin/clang++
bin/clang-5.0
bin/clang-6.0
bin/clang-cl
bin/clang-cpp
bin/clang-format
bin/clang-import-test
bin/clang-offload-bundler
bin/clang-refactor
bin/clang-rename
bin/git-clang-format
include/clang-c/BuildSystem.h
@ -59,6 +60,7 @@ include/clang/AST/CommentNodes.inc
include/clang/AST/CommentParser.h
include/clang/AST/CommentSema.h
include/clang/AST/CommentVisitor.h
include/clang/AST/DataCollection.h
include/clang/AST/Decl.h
include/clang/AST/DeclAccessPair.h
include/clang/AST/DeclBase.h
@ -83,6 +85,7 @@ include/clang/AST/ExternalASTMerger.h
include/clang/AST/ExternalASTSource.h
include/clang/AST/GlobalDecl.h
include/clang/AST/LambdaCapture.h
include/clang/AST/LexicallyOrderedRecursiveASTVisitor.h
include/clang/AST/LocInfoType.h
include/clang/AST/Mangle.h
include/clang/AST/MangleNumberingContext.h
@ -94,6 +97,7 @@ include/clang/AST/OperationKinds.def
include/clang/AST/OperationKinds.h
include/clang/AST/ParentMap.h
include/clang/AST/PrettyPrinter.h
include/clang/AST/QualTypeNames.h
include/clang/AST/RawCommentList.h
include/clang/AST/RecordLayout.h
include/clang/AST/RecursiveASTVisitor.h
@ -101,6 +105,7 @@ include/clang/AST/Redeclarable.h
include/clang/AST/SelectorLocationsKind.h
include/clang/AST/Stmt.h
include/clang/AST/StmtCXX.h
include/clang/AST/StmtDataCollectors.inc
include/clang/AST/StmtGraphTraits.h
include/clang/AST/StmtIterator.h
include/clang/AST/StmtNodes.inc
@ -144,8 +149,9 @@ include/clang/Analysis/Analyses/ThreadSafetyTIL.h
include/clang/Analysis/Analyses/ThreadSafetyTraverse.h
include/clang/Analysis/Analyses/ThreadSafetyUtil.h
include/clang/Analysis/Analyses/UninitializedValues.h
include/clang/Analysis/AnalysisContext.h
include/clang/Analysis/AnalysisDeclContext.h
include/clang/Analysis/AnalysisDiagnostic.h
include/clang/Analysis/BodyFarm.h
include/clang/Analysis/CFG.h
include/clang/Analysis/CFGStmtMap.h
include/clang/Analysis/CallGraph.h
@ -158,6 +164,7 @@ include/clang/Analysis/ProgramPoint.h
include/clang/Analysis/Support/BumpVector.h
include/clang/Basic/ABI.h
include/clang/Basic/AddressSpaces.h
include/clang/Basic/AlignedAllocation.h
include/clang/Basic/AllDiagnostics.h
include/clang/Basic/AttrHasAttributeImpl.inc
include/clang/Basic/AttrKinds.h
@ -193,7 +200,9 @@ include/clang/Basic/DiagnosticAnalysisKinds.inc
include/clang/Basic/DiagnosticCategories.h
include/clang/Basic/DiagnosticCommentKinds.inc
include/clang/Basic/DiagnosticCommonKinds.inc
include/clang/Basic/DiagnosticCrossTUKinds.inc
include/clang/Basic/DiagnosticDriverKinds.inc
include/clang/Basic/DiagnosticError.h
include/clang/Basic/DiagnosticFrontendKinds.inc
include/clang/Basic/DiagnosticGroups.inc
include/clang/Basic/DiagnosticIDs.h
@ -202,6 +211,7 @@ include/clang/Basic/DiagnosticLexKinds.inc
include/clang/Basic/DiagnosticOptions.def
include/clang/Basic/DiagnosticOptions.h
include/clang/Basic/DiagnosticParseKinds.inc
include/clang/Basic/DiagnosticRefactoringKinds.inc
include/clang/Basic/DiagnosticSemaKinds.inc
include/clang/Basic/DiagnosticSerializationKinds.inc
include/clang/Basic/ExceptionSpecificationType.h
@ -232,12 +242,14 @@ include/clang/Basic/PlistSupport.h
include/clang/Basic/PragmaKinds.h
include/clang/Basic/PrettyStackTrace.h
include/clang/Basic/SanitizerBlacklist.h
include/clang/Basic/SanitizerSpecialCaseList.h
include/clang/Basic/Sanitizers.def
include/clang/Basic/Sanitizers.h
include/clang/Basic/SourceLocation.h
include/clang/Basic/SourceManager.h
include/clang/Basic/SourceManagerInternals.h
include/clang/Basic/Specifiers.h
include/clang/Basic/SyncScope.h
include/clang/Basic/TargetBuiltins.h
include/clang/Basic/TargetCXXABI.h
include/clang/Basic/TargetInfo.h
@ -251,6 +263,7 @@ include/clang/Basic/Version.inc
include/clang/Basic/VersionTuple.h
include/clang/Basic/VirtualFileSystem.h
include/clang/Basic/Visibility.h
include/clang/Basic/X86Target.def
include/clang/Basic/XRayLists.h
include/clang/Basic/arm_neon.inc
include/clang/CodeGen/BackendUtil.h
@ -263,6 +276,8 @@ include/clang/CodeGen/ModuleBuilder.h
include/clang/CodeGen/ObjectFilePCHContainerOperations.h
include/clang/CodeGen/SwiftCallingConv.h
include/clang/Config/config.h
include/clang/CrossTU/CrossTUDiagnostic.h
include/clang/CrossTU/CrossTranslationUnit.h
include/clang/Driver/Action.h
include/clang/Driver/Compilation.h
include/clang/Driver/Distro.h
@ -353,6 +368,7 @@ include/clang/Lex/ScratchBuffer.h
include/clang/Lex/Token.h
include/clang/Lex/TokenConcatenation.h
include/clang/Lex/TokenLexer.h
include/clang/Lex/VariadicMacroSupport.h
include/clang/Parse/AttrParserStringSwitches.inc
include/clang/Parse/AttrSubMatchRulesParserStringSwitches.inc
include/clang/Parse/ParseAST.h
@ -427,7 +443,7 @@ include/clang/StaticAnalyzer/Checkers/SValExplainer.h
include/clang/StaticAnalyzer/Core/Analyses.def
include/clang/StaticAnalyzer/Core/AnalyzerOptions.h
include/clang/StaticAnalyzer/Core/BugReporter/BugReporter.h
include/clang/StaticAnalyzer/Core/BugReporter/BugReporterVisitor.h
include/clang/StaticAnalyzer/Core/BugReporter/BugReporterVisitors.h
include/clang/StaticAnalyzer/Core/BugReporter/BugType.h
include/clang/StaticAnalyzer/Core/BugReporter/CommonBugCategories.h
include/clang/StaticAnalyzer/Core/BugReporter/PathDiagnostic.h
@ -452,6 +468,7 @@ include/clang/StaticAnalyzer/Core/PathSensitive/Environment.h
include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h
include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h
include/clang/StaticAnalyzer/Core/PathSensitive/FunctionSummary.h
include/clang/StaticAnalyzer/Core/PathSensitive/LoopUnrolling.h
include/clang/StaticAnalyzer/Core/PathSensitive/LoopWidening.h
include/clang/StaticAnalyzer/Core/PathSensitive/MemRegion.h
include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h
@ -477,27 +494,46 @@ include/clang/StaticAnalyzer/Frontend/AnalysisConsumer.h
include/clang/StaticAnalyzer/Frontend/CheckerRegistration.h
include/clang/StaticAnalyzer/Frontend/FrontendActions.h
include/clang/StaticAnalyzer/Frontend/ModelConsumer.h
include/clang/Tooling/ASTDiff/ASTDiff.h
include/clang/Tooling/ASTDiff/ASTDiffInternal.h
include/clang/Tooling/ArgumentsAdjusters.h
include/clang/Tooling/CommonOptionsParser.h
include/clang/Tooling/CompilationDatabase.h
include/clang/Tooling/CompilationDatabasePluginRegistry.h
include/clang/Tooling/Core/Diagnostic.h
include/clang/Tooling/Core/Lookup.h
include/clang/Tooling/Core/QualTypeNames.h
include/clang/Tooling/Core/Replacement.h
include/clang/Tooling/DiagnosticsYaml.h
include/clang/Tooling/Execution.h
include/clang/Tooling/FileMatchTrie.h
include/clang/Tooling/FixIt.h
include/clang/Tooling/JSONCompilationDatabase.h
include/clang/Tooling/Refactoring.h
include/clang/Tooling/Refactoring/ASTSelection.h
include/clang/Tooling/Refactoring/AtomicChange.h
include/clang/Tooling/Refactoring/Extract/Extract.h
include/clang/Tooling/Refactoring/RecursiveSymbolVisitor.h
include/clang/Tooling/Refactoring/RefactoringAction.h
include/clang/Tooling/Refactoring/RefactoringActionRule.h
include/clang/Tooling/Refactoring/RefactoringActionRuleRequirements.h
include/clang/Tooling/Refactoring/RefactoringActionRules.h
include/clang/Tooling/Refactoring/RefactoringActionRulesInternal.h
include/clang/Tooling/Refactoring/RefactoringDiagnostic.h
include/clang/Tooling/Refactoring/RefactoringOption.h
include/clang/Tooling/Refactoring/RefactoringOptionVisitor.h
include/clang/Tooling/Refactoring/RefactoringOptions.h
include/clang/Tooling/Refactoring/RefactoringResultConsumer.h
include/clang/Tooling/Refactoring/RefactoringRuleContext.h
include/clang/Tooling/Refactoring/Rename/RenamingAction.h
include/clang/Tooling/Refactoring/Rename/SymbolName.h
include/clang/Tooling/Refactoring/Rename/SymbolOccurrences.h
include/clang/Tooling/Refactoring/Rename/USRFinder.h
include/clang/Tooling/Refactoring/Rename/USRFindingAction.h
include/clang/Tooling/Refactoring/Rename/USRLocFinder.h
include/clang/Tooling/RefactoringCallbacks.h
include/clang/Tooling/ReplacementsYaml.h
include/clang/Tooling/StandaloneExecution.h
include/clang/Tooling/ToolExecutorPluginRegistry.h
include/clang/Tooling/Tooling.h
lib/clang/${PKGVERSION}/include/__clang_cuda_builtin_vars.h
lib/clang/${PKGVERSION}/include/__clang_cuda_cmath.h
@ -511,10 +547,12 @@ lib/clang/${PKGVERSION}/include/__wmmintrin_pclmul.h
lib/clang/${PKGVERSION}/include/adxintrin.h
lib/clang/${PKGVERSION}/include/altivec.h
lib/clang/${PKGVERSION}/include/ammintrin.h
lib/clang/${PKGVERSION}/include/arm64intr.h
lib/clang/${PKGVERSION}/include/arm_acle.h
lib/clang/${PKGVERSION}/include/arm_neon.h
lib/clang/${PKGVERSION}/include/armintr.h
lib/clang/${PKGVERSION}/include/avx2intrin.h
lib/clang/${PKGVERSION}/include/avx512bitalgintrin.h
lib/clang/${PKGVERSION}/include/avx512bwintrin.h
lib/clang/${PKGVERSION}/include/avx512cdintrin.h
lib/clang/${PKGVERSION}/include/avx512dqintrin.h
@ -523,17 +561,25 @@ lib/clang/${PKGVERSION}/include/avx512fintrin.h
lib/clang/${PKGVERSION}/include/avx512ifmaintrin.h
lib/clang/${PKGVERSION}/include/avx512ifmavlintrin.h
lib/clang/${PKGVERSION}/include/avx512pfintrin.h
lib/clang/${PKGVERSION}/include/avx512vbmi2intrin.h
lib/clang/${PKGVERSION}/include/avx512vbmiintrin.h
lib/clang/${PKGVERSION}/include/avx512vbmivlintrin.h
lib/clang/${PKGVERSION}/include/avx512vlbitalgintrin.h
lib/clang/${PKGVERSION}/include/avx512vlbwintrin.h
lib/clang/${PKGVERSION}/include/avx512vlcdintrin.h
lib/clang/${PKGVERSION}/include/avx512vldqintrin.h
lib/clang/${PKGVERSION}/include/avx512vlintrin.h
lib/clang/${PKGVERSION}/include/avx512vlvbmi2intrin.h
lib/clang/${PKGVERSION}/include/avx512vlvnniintrin.h
lib/clang/${PKGVERSION}/include/avx512vnniintrin.h
lib/clang/${PKGVERSION}/include/avx512vpopcntdqintrin.h
lib/clang/${PKGVERSION}/include/avx512vpopcntdqvlintrin.h
lib/clang/${PKGVERSION}/include/avxintrin.h
lib/clang/${PKGVERSION}/include/bmi2intrin.h
lib/clang/${PKGVERSION}/include/bmiintrin.h
lib/clang/${PKGVERSION}/include/cetintrin.h
lib/clang/${PKGVERSION}/include/clflushoptintrin.h
lib/clang/${PKGVERSION}/include/clwbintrin.h
lib/clang/${PKGVERSION}/include/clzerointrin.h
lib/clang/${PKGVERSION}/include/cpuid.h
lib/clang/${PKGVERSION}/include/cuda_wrappers/algorithm
@ -545,6 +591,7 @@ lib/clang/${PKGVERSION}/include/float.h
lib/clang/${PKGVERSION}/include/fma4intrin.h
lib/clang/${PKGVERSION}/include/fmaintrin.h
lib/clang/${PKGVERSION}/include/fxsrintrin.h
lib/clang/${PKGVERSION}/include/gfniintrin.h
lib/clang/${PKGVERSION}/include/htmintrin.h
lib/clang/${PKGVERSION}/include/htmxlintrin.h
lib/clang/${PKGVERSION}/include/ia32intrin.h
@ -584,8 +631,10 @@ lib/clang/${PKGVERSION}/include/tgmath.h
lib/clang/${PKGVERSION}/include/tmmintrin.h
lib/clang/${PKGVERSION}/include/unwind.h
lib/clang/${PKGVERSION}/include/vadefs.h
lib/clang/${PKGVERSION}/include/vaesintrin.h
lib/clang/${PKGVERSION}/include/varargs.h
lib/clang/${PKGVERSION}/include/vecintrin.h
lib/clang/${PKGVERSION}/include/vpclmulqdqintrin.h
lib/clang/${PKGVERSION}/include/wmmintrin.h
lib/clang/${PKGVERSION}/include/x86intrin.h
lib/clang/${PKGVERSION}/include/xmmintrin.h
@ -600,18 +649,20 @@ lib/cmake/clang/ClangTargets-release.cmake
lib/cmake/clang/ClangTargets.cmake
lib/libclang.${SOEXT}
${PLIST.notdylib}lib/libclang.${SOEXT}.${LLVM_MAJOR}
${PLIST.notdylib}lib/libclang.${SOEXT}.5
${PLIST.notdylib}lib/libclang.${SOEXT}.6
lib/libclangAST.a
lib/libclangASTMatchers.a
lib/libclangAnalysis.a
lib/libclangBasic.a
lib/libclangCodeGen.a
lib/libclangCrossTU.a
lib/libclangDriver.a
lib/libclangDynamicASTMatchers.a
lib/libclangEdit.a
lib/libclangFormat.a
lib/libclangFrontend.a
lib/libclangFrontendTool.a
lib/libclangHandleCXX.a
lib/libclangIndex.a
lib/libclangLex.a
lib/libclangParse.a
@ -620,6 +671,7 @@ lib/libclangRewriteFrontend.a
lib/libclangSema.a
lib/libclangSerialization.a
lib/libclangTooling.a
lib/libclangToolingASTDiff.a
lib/libclangToolingCore.a
lib/libclangToolingRefactor.a
share/clang/bash-autocomplete.sh

View file

@ -1,6 +1,6 @@
$NetBSD: distinfo,v 1.51 2018/05/22 12:39:23 adam Exp $
$NetBSD: distinfo,v 1.52 2018/08/07 10:44:50 adam Exp $
SHA1 (cfe-5.0.2.src.tar.xz) = 6581765ec52f8a6354ab56a8e55a8cac1aa5e388
RMD160 (cfe-5.0.2.src.tar.xz) = e4aa04b8aaa39d7c222d33b0e95b8d06c423d229
SHA512 (cfe-5.0.2.src.tar.xz) = 9931afceb5569ad6caec85d506180c810f7fea94af8c997143b0a37cbf413fcea0d92520478610627eeee1efb65fde684066ace0dfcbbf7b61ecd709d22dd0b1
Size (cfe-5.0.2.src.tar.xz) = 11459216 bytes
SHA1 (cfe-6.0.1.src.tar.xz) = d93d8f3e3d7eb549ac58507383f7fcbdd78804d7
RMD160 (cfe-6.0.1.src.tar.xz) = c280cd2037b19f9bd733944b765f9ca23b35e0a4
SHA512 (cfe-6.0.1.src.tar.xz) = f64ba9290059f6e36fee41c8f32bf483609d31c291fcd2f77d41fecfdf3c8233a5e23b93a1c73fed03683823bd6e72757ed993dd32527de3d5f2b7a64bb031b9
Size (cfe-6.0.1.src.tar.xz) = 11905772 bytes

View file

@ -1,6 +1,6 @@
# $NetBSD: Makefile,v 1.12 2018/05/22 12:39:23 adam Exp $
# $NetBSD: Makefile,v 1.13 2018/08/07 10:44:50 adam Exp $
DISTNAME= libunwind-5.0.2.src
DISTNAME= libunwind-6.0.1.src
PKGNAME= ${DISTNAME:S/.src//}
CATEGORIES= lang devel
MASTER_SITES= http://llvm.org/releases/${PKGVERSION_NOREV}/

View file

@ -1,6 +1,6 @@
$NetBSD: distinfo,v 1.9 2018/05/22 12:39:23 adam Exp $
$NetBSD: distinfo,v 1.10 2018/08/07 10:44:50 adam Exp $
SHA1 (libunwind-5.0.2.src.tar.xz) = a25785ae9f3e1fa61b680d24f31540ec1cf0e5a8
RMD160 (libunwind-5.0.2.src.tar.xz) = 8499da4207f9e789d24e7f160891d7908d044d2d
SHA512 (libunwind-5.0.2.src.tar.xz) = 137c4b269bff053d532a373e9f696ca68ad0bbf606a18dc98597e00fcfc6ce21d74bc2a0c03b96444654d688fa97d544c6f6b70822fcf7e190ed96f193ddc6ba
Size (libunwind-5.0.2.src.tar.xz) = 72340 bytes
SHA1 (libunwind-6.0.1.src.tar.xz) = 9592003fd0e41a69880318ae6b25ebbbabd59703
RMD160 (libunwind-6.0.1.src.tar.xz) = f980b76798d06e8a866b90580f85da9b66610fd9
SHA512 (libunwind-6.0.1.src.tar.xz) = 78568c28720abdd1f8471c462421df9965e05e1db048689d16ac85378716c4080ec1723af78e9f61d133b0ff82ac8c1f0dde7fd42d194485f62c1a17c02db37f
Size (libunwind-6.0.1.src.tar.xz) = 77036 bytes

View file

@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.31 2018/05/22 12:39:23 adam Exp $
# $NetBSD: Makefile,v 1.32 2018/08/07 10:44:50 adam Exp $
#
# when updating this, please also update:
# devel/include-what-you-use
@ -16,7 +16,7 @@
# Always update all */buildlink3.mk to require the latest stable release
# version in BUILDLINK_API_DEPENDS, as there is no backwards compatibility
DISTNAME= llvm-5.0.2.src
DISTNAME= llvm-6.0.1.src
PKGNAME= ${DISTNAME:S/.src//}
CATEGORIES= lang devel
MASTER_SITES= http://llvm.org/releases/${PKGVERSION_NOREV}/
@ -103,4 +103,5 @@ post-extract:
.include "../../devel/zlib/buildlink3.mk"
.include "../../lang/python/application.mk"
.include "../../lang/python/tool.mk"
.include "../../textproc/libxml2/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"

View file

@ -1,4 +1,4 @@
@comment $NetBSD: PLIST,v 1.6 2017/12/01 19:22:12 adam Exp $
@comment $NetBSD: PLIST,v 1.7 2018/08/07 10:44:50 adam Exp $
bin/FileCheck
bin/bugpoint
bin/count
@ -11,6 +11,7 @@ bin/llvm-as
bin/llvm-bcanalyzer
bin/llvm-c-test
bin/llvm-cat
bin/llvm-cfi-verify
bin/llvm-config
bin/llvm-cov
bin/llvm-cvtres
@ -32,11 +33,13 @@ bin/llvm-mcmarkup
bin/llvm-modextract
bin/llvm-mt
bin/llvm-nm
bin/llvm-objcopy
bin/llvm-objdump
bin/llvm-opt-report
bin/llvm-pdbutil
bin/llvm-profdata
bin/llvm-ranlib
bin/llvm-rc
bin/llvm-readelf
bin/llvm-readobj
bin/llvm-rtdyld
@ -59,6 +62,7 @@ include/llvm-c/Analysis.h
include/llvm-c/BitReader.h
include/llvm-c/BitWriter.h
include/llvm-c/Core.h
include/llvm-c/DebugInfo.h
include/llvm-c/Disassembler.h
include/llvm-c/ErrorHandling.h
include/llvm-c/ExecutionEngine.h
@ -169,6 +173,7 @@ include/llvm/Analysis/CallGraph.h
include/llvm/Analysis/CallGraphSCCPass.h
include/llvm/Analysis/CallPrinter.h
include/llvm/Analysis/CaptureTracking.h
include/llvm/Analysis/CmpInstAnalysis.h
include/llvm/Analysis/CodeMetrics.h
include/llvm/Analysis/ConstantFolding.h
include/llvm/Analysis/DOTGraphTraitsPass.h
@ -212,7 +217,7 @@ include/llvm/Analysis/ObjCARCAliasAnalysis.h
include/llvm/Analysis/ObjCARCAnalysisUtils.h
include/llvm/Analysis/ObjCARCInstKind.h
include/llvm/Analysis/ObjectUtils.h
include/llvm/Analysis/OptimizationDiagnosticInfo.h
include/llvm/Analysis/OptimizationRemarkEmitter.h
include/llvm/Analysis/OrderedBasicBlock.h
include/llvm/Analysis/PHITransAddr.h
include/llvm/Analysis/Passes.h
@ -239,6 +244,8 @@ include/llvm/Analysis/TargetTransformInfoImpl.h
include/llvm/Analysis/Trace.h
include/llvm/Analysis/TypeBasedAliasAnalysis.h
include/llvm/Analysis/TypeMetadataUtils.h
include/llvm/Analysis/ValueLattice.h
include/llvm/Analysis/ValueLatticeUtils.h
include/llvm/Analysis/ValueTracking.h
include/llvm/Analysis/VectorUtils.h
include/llvm/AsmParser/Parser.h
@ -249,6 +256,7 @@ include/llvm/BinaryFormat/Dwarf.h
include/llvm/BinaryFormat/ELF.h
include/llvm/BinaryFormat/ELFRelocs/AArch64.def
include/llvm/BinaryFormat/ELFRelocs/AMDGPU.def
include/llvm/BinaryFormat/ELFRelocs/ARC.def
include/llvm/BinaryFormat/ELFRelocs/ARM.def
include/llvm/BinaryFormat/ELFRelocs/AVR.def
include/llvm/BinaryFormat/ELFRelocs/BPF.def
@ -267,7 +275,7 @@ include/llvm/BinaryFormat/MachO.def
include/llvm/BinaryFormat/MachO.h
include/llvm/BinaryFormat/Magic.h
include/llvm/BinaryFormat/Wasm.h
include/llvm/BinaryFormat/WasmRelocs/WebAssembly.def
include/llvm/BinaryFormat/WasmRelocs.def
include/llvm/Bitcode/BitCodes.h
include/llvm/Bitcode/BitcodeReader.h
include/llvm/Bitcode/BitcodeWriter.h
@ -281,7 +289,8 @@ include/llvm/CodeGen/AtomicExpandUtils.h
include/llvm/CodeGen/BasicTTIImpl.h
include/llvm/CodeGen/CalcSpillWeights.h
include/llvm/CodeGen/CallingConvLower.h
include/llvm/CodeGen/CommandFlags.h
include/llvm/CodeGen/CommandFlags.def
include/llvm/CodeGen/CostTable.h
include/llvm/CodeGen/DAGCombine.h
include/llvm/CodeGen/DFAPacketizer.h
include/llvm/CodeGen/DIE.h
@ -298,11 +307,12 @@ include/llvm/CodeGen/GCMetadataPrinter.h
include/llvm/CodeGen/GCStrategy.h
include/llvm/CodeGen/GCs.h
include/llvm/CodeGen/GlobalISel/CallLowering.h
include/llvm/CodeGen/GlobalISel/GISelAccessor.h
include/llvm/CodeGen/GlobalISel/GISelWorkList.h
include/llvm/CodeGen/GlobalISel/IRTranslator.h
include/llvm/CodeGen/GlobalISel/InstructionSelect.h
include/llvm/CodeGen/GlobalISel/InstructionSelector.h
include/llvm/CodeGen/GlobalISel/InstructionSelectorImpl.h
include/llvm/CodeGen/GlobalISel/LegalizationArtifactCombiner.h
include/llvm/CodeGen/GlobalISel/Legalizer.h
include/llvm/CodeGen/GlobalISel/LegalizerHelper.h
include/llvm/CodeGen/GlobalISel/LegalizerInfo.h
@ -321,13 +331,13 @@ include/llvm/CodeGen/LexicalScopes.h
include/llvm/CodeGen/LinkAllAsmWriterComponents.h
include/llvm/CodeGen/LinkAllCodegenComponents.h
include/llvm/CodeGen/LiveInterval.h
include/llvm/CodeGen/LiveIntervalAnalysis.h
include/llvm/CodeGen/LiveIntervalUnion.h
include/llvm/CodeGen/LiveIntervals.h
include/llvm/CodeGen/LivePhysRegs.h
include/llvm/CodeGen/LiveRangeEdit.h
include/llvm/CodeGen/LiveRegMatrix.h
include/llvm/CodeGen/LiveRegUnits.h
include/llvm/CodeGen/LiveStackAnalysis.h
include/llvm/CodeGen/LiveStacks.h
include/llvm/CodeGen/LiveVariables.h
include/llvm/CodeGen/LowLevelType.h
include/llvm/CodeGen/MIRParser/MIRParser.h
@ -381,7 +391,9 @@ include/llvm/CodeGen/RegisterPressure.h
include/llvm/CodeGen/RegisterScavenging.h
include/llvm/CodeGen/RegisterUsageInfo.h
include/llvm/CodeGen/ResourcePriorityQueue.h
include/llvm/CodeGen/RuntimeLibcalls.def
include/llvm/CodeGen/RuntimeLibcalls.h
include/llvm/CodeGen/SDNodeProperties.td
include/llvm/CodeGen/ScheduleDAG.h
include/llvm/CodeGen/ScheduleDAGInstrs.h
include/llvm/CodeGen/ScheduleDAGMutation.h
@ -398,9 +410,18 @@ include/llvm/CodeGen/SlotIndexes.h
include/llvm/CodeGen/StackMaps.h
include/llvm/CodeGen/StackProtector.h
include/llvm/CodeGen/TailDuplicator.h
include/llvm/CodeGen/TargetCallingConv.h
include/llvm/CodeGen/TargetFrameLowering.h
include/llvm/CodeGen/TargetInstrInfo.h
include/llvm/CodeGen/TargetLowering.h
include/llvm/CodeGen/TargetLoweringObjectFile.h
include/llvm/CodeGen/TargetLoweringObjectFileImpl.h
include/llvm/CodeGen/TargetOpcodes.def
include/llvm/CodeGen/TargetOpcodes.h
include/llvm/CodeGen/TargetPassConfig.h
include/llvm/CodeGen/TargetRegisterInfo.h
include/llvm/CodeGen/TargetSchedule.h
include/llvm/CodeGen/TargetSubtargetInfo.h
include/llvm/CodeGen/UnreachableBlockElim.h
include/llvm/CodeGen/ValueTypes.h
include/llvm/CodeGen/ValueTypes.td
@ -412,6 +433,7 @@ include/llvm/Config/Disassemblers.def
include/llvm/Config/Targets.def
include/llvm/Config/abi-breaking.h
include/llvm/Config/llvm-config.h
include/llvm/DebugInfo/CodeView/AppendingTypeTableBuilder.h
include/llvm/DebugInfo/CodeView/CVDebugRecord.h
include/llvm/DebugInfo/CodeView/CVRecord.h
include/llvm/DebugInfo/CodeView/CVSymbolVisitor.h
@ -419,8 +441,10 @@ include/llvm/DebugInfo/CodeView/CVTypeVisitor.h
include/llvm/DebugInfo/CodeView/CodeView.h
include/llvm/DebugInfo/CodeView/CodeViewError.h
include/llvm/DebugInfo/CodeView/CodeViewRecordIO.h
include/llvm/DebugInfo/CodeView/CodeViewRegisters.def
include/llvm/DebugInfo/CodeView/CodeViewSymbols.def
include/llvm/DebugInfo/CodeView/CodeViewTypes.def
include/llvm/DebugInfo/CodeView/ContinuationRecordBuilder.h
include/llvm/DebugInfo/CodeView/DebugChecksumsSubsection.h
include/llvm/DebugInfo/CodeView/DebugCrossExSubsection.h
include/llvm/DebugInfo/CodeView/DebugCrossImpSubsection.h
@ -438,9 +462,13 @@ include/llvm/DebugInfo/CodeView/EnumTables.h
include/llvm/DebugInfo/CodeView/Formatters.h
include/llvm/DebugInfo/CodeView/FunctionId.h
include/llvm/DebugInfo/CodeView/GUID.h
include/llvm/DebugInfo/CodeView/GlobalTypeTableBuilder.h
include/llvm/DebugInfo/CodeView/LazyRandomTypeCollection.h
include/llvm/DebugInfo/CodeView/Line.h
include/llvm/DebugInfo/CodeView/MergingTypeTableBuilder.h
include/llvm/DebugInfo/CodeView/RecordName.h
include/llvm/DebugInfo/CodeView/RecordSerialization.h
include/llvm/DebugInfo/CodeView/SimpleTypeSerializer.h
include/llvm/DebugInfo/CodeView/StringsAndChecksums.h
include/llvm/DebugInfo/CodeView/SymbolDeserializer.h
include/llvm/DebugInfo/CodeView/SymbolDumpDelegate.h
@ -454,16 +482,13 @@ include/llvm/DebugInfo/CodeView/SymbolVisitorDelegate.h
include/llvm/DebugInfo/CodeView/TypeCollection.h
include/llvm/DebugInfo/CodeView/TypeDeserializer.h
include/llvm/DebugInfo/CodeView/TypeDumpVisitor.h
include/llvm/DebugInfo/CodeView/TypeHashing.h
include/llvm/DebugInfo/CodeView/TypeIndex.h
include/llvm/DebugInfo/CodeView/TypeIndexDiscovery.h
include/llvm/DebugInfo/CodeView/TypeName.h
include/llvm/DebugInfo/CodeView/TypeRecord.h
include/llvm/DebugInfo/CodeView/TypeRecordBuilder.h
include/llvm/DebugInfo/CodeView/TypeRecordMapping.h
include/llvm/DebugInfo/CodeView/TypeSerializer.h
include/llvm/DebugInfo/CodeView/TypeStreamMerger.h
include/llvm/DebugInfo/CodeView/TypeSymbolEmitter.h
include/llvm/DebugInfo/CodeView/TypeTableBuilder.h
include/llvm/DebugInfo/CodeView/TypeTableCollection.h
include/llvm/DebugInfo/CodeView/TypeVisitorCallbackPipeline.h
include/llvm/DebugInfo/CodeView/TypeVisitorCallbacks.h
@ -485,8 +510,10 @@ include/llvm/DebugInfo/DWARF/DWARFDebugMacro.h
include/llvm/DebugInfo/DWARF/DWARFDebugPubTable.h
include/llvm/DebugInfo/DWARF/DWARFDebugRangeList.h
include/llvm/DebugInfo/DWARF/DWARFDie.h
include/llvm/DebugInfo/DWARF/DWARFExpression.h
include/llvm/DebugInfo/DWARF/DWARFFormValue.h
include/llvm/DebugInfo/DWARF/DWARFGdbIndex.h
include/llvm/DebugInfo/DWARF/DWARFObject.h
include/llvm/DebugInfo/DWARF/DWARFRelocMap.h
include/llvm/DebugInfo/DWARF/DWARFSection.h
include/llvm/DebugInfo/DWARF/DWARFTypeUnit.h
@ -497,7 +524,6 @@ include/llvm/DebugInfo/MSF/IMSFFile.h
include/llvm/DebugInfo/MSF/MSFBuilder.h
include/llvm/DebugInfo/MSF/MSFCommon.h
include/llvm/DebugInfo/MSF/MSFError.h
include/llvm/DebugInfo/MSF/MSFStreamLayout.h
include/llvm/DebugInfo/MSF/MappedBlockStream.h
include/llvm/DebugInfo/PDB/ConcreteSymbolEnumerator.h
include/llvm/DebugInfo/PDB/DIA/DIADataStream.h
@ -505,12 +531,14 @@ include/llvm/DebugInfo/PDB/DIA/DIAEnumDebugStreams.h
include/llvm/DebugInfo/PDB/DIA/DIAEnumLineNumbers.h
include/llvm/DebugInfo/PDB/DIA/DIAEnumSourceFiles.h
include/llvm/DebugInfo/PDB/DIA/DIAEnumSymbols.h
include/llvm/DebugInfo/PDB/DIA/DIAEnumTables.h
include/llvm/DebugInfo/PDB/DIA/DIAError.h
include/llvm/DebugInfo/PDB/DIA/DIALineNumber.h
include/llvm/DebugInfo/PDB/DIA/DIARawSymbol.h
include/llvm/DebugInfo/PDB/DIA/DIASession.h
include/llvm/DebugInfo/PDB/DIA/DIASourceFile.h
include/llvm/DebugInfo/PDB/DIA/DIASupport.h
include/llvm/DebugInfo/PDB/DIA/DIATable.h
include/llvm/DebugInfo/PDB/GenericError.h
include/llvm/DebugInfo/PDB/IPDBDataStream.h
include/llvm/DebugInfo/PDB/IPDBEnumChildren.h
@ -518,6 +546,7 @@ include/llvm/DebugInfo/PDB/IPDBLineNumber.h
include/llvm/DebugInfo/PDB/IPDBRawSymbol.h
include/llvm/DebugInfo/PDB/IPDBSession.h
include/llvm/DebugInfo/PDB/IPDBSourceFile.h
include/llvm/DebugInfo/PDB/IPDBTable.h
include/llvm/DebugInfo/PDB/Native/DbiModuleDescriptor.h
include/llvm/DebugInfo/PDB/Native/DbiModuleDescriptorBuilder.h
include/llvm/DebugInfo/PDB/Native/DbiModuleList.h
@ -525,6 +554,7 @@ include/llvm/DebugInfo/PDB/Native/DbiStream.h
include/llvm/DebugInfo/PDB/Native/DbiStreamBuilder.h
include/llvm/DebugInfo/PDB/Native/EnumTables.h
include/llvm/DebugInfo/PDB/Native/Formatters.h
include/llvm/DebugInfo/PDB/Native/GSIStreamBuilder.h
include/llvm/DebugInfo/PDB/Native/GlobalsStream.h
include/llvm/DebugInfo/PDB/Native/Hash.h
include/llvm/DebugInfo/PDB/Native/HashTable.h
@ -536,6 +566,8 @@ include/llvm/DebugInfo/PDB/Native/NamedStreamMap.h
include/llvm/DebugInfo/PDB/Native/NativeBuiltinSymbol.h
include/llvm/DebugInfo/PDB/Native/NativeCompilandSymbol.h
include/llvm/DebugInfo/PDB/Native/NativeEnumModules.h
include/llvm/DebugInfo/PDB/Native/NativeEnumSymbol.h
include/llvm/DebugInfo/PDB/Native/NativeEnumTypes.h
include/llvm/DebugInfo/PDB/Native/NativeExeSymbol.h
include/llvm/DebugInfo/PDB/Native/NativeRawSymbol.h
include/llvm/DebugInfo/PDB/Native/NativeSession.h
@ -544,7 +576,6 @@ include/llvm/DebugInfo/PDB/Native/PDBFileBuilder.h
include/llvm/DebugInfo/PDB/Native/PDBStringTable.h
include/llvm/DebugInfo/PDB/Native/PDBStringTableBuilder.h
include/llvm/DebugInfo/PDB/Native/PublicsStream.h
include/llvm/DebugInfo/PDB/Native/PublicsStreamBuilder.h
include/llvm/DebugInfo/PDB/Native/RawConstants.h
include/llvm/DebugInfo/PDB/Native/RawError.h
include/llvm/DebugInfo/PDB/Native/RawTypes.h
@ -623,11 +654,19 @@ include/llvm/ExecutionEngine/Orc/RPCSerialization.h
include/llvm/ExecutionEngine/Orc/RPCUtils.h
include/llvm/ExecutionEngine/Orc/RTDyldObjectLinkingLayer.h
include/llvm/ExecutionEngine/Orc/RawByteChannel.h
include/llvm/ExecutionEngine/Orc/RemoteObjectLayer.h
include/llvm/ExecutionEngine/Orc/SymbolStringPool.h
include/llvm/ExecutionEngine/OrcMCJITReplacement.h
include/llvm/ExecutionEngine/RTDyldMemoryManager.h
include/llvm/ExecutionEngine/RuntimeDyld.h
include/llvm/ExecutionEngine/RuntimeDyldChecker.h
include/llvm/ExecutionEngine/SectionMemoryManager.h
include/llvm/FuzzMutate/FuzzerCLI.h
include/llvm/FuzzMutate/IRMutator.h
include/llvm/FuzzMutate/OpDescriptor.h
include/llvm/FuzzMutate/Operations.h
include/llvm/FuzzMutate/Random.h
include/llvm/FuzzMutate/RandomIRBuilder.h
include/llvm/IR/Argument.h
include/llvm/IR/AssemblyAnnotationWriter.h
include/llvm/IR/Attributes.gen
@ -651,6 +690,7 @@ include/llvm/IR/DebugInfoMetadata.h
include/llvm/IR/DebugLoc.h
include/llvm/IR/DerivedTypes.h
include/llvm/IR/DerivedUser.h
include/llvm/IR/DiagnosticHandler.h
include/llvm/IR/DiagnosticInfo.h
include/llvm/IR/DiagnosticPrinter.h
include/llvm/IR/Dominators.h
@ -749,8 +789,10 @@ include/llvm/MC/MCAsmInfoDarwin.h
include/llvm/MC/MCAsmInfoELF.h
include/llvm/MC/MCAsmInfoWasm.h
include/llvm/MC/MCAsmLayout.h
include/llvm/MC/MCAsmMacro.h
include/llvm/MC/MCAssembler.h
include/llvm/MC/MCCodeEmitter.h
include/llvm/MC/MCCodePadder.h
include/llvm/MC/MCCodeView.h
include/llvm/MC/MCContext.h
include/llvm/MC/MCDirectives.h
@ -802,7 +844,7 @@ include/llvm/MC/MCSymbolELF.h
include/llvm/MC/MCSymbolMachO.h
include/llvm/MC/MCSymbolWasm.h
include/llvm/MC/MCTargetOptions.h
include/llvm/MC/MCTargetOptionsCommandFlags.h
include/llvm/MC/MCTargetOptionsCommandFlags.def
include/llvm/MC/MCValue.h
include/llvm/MC/MCWasmObjectWriter.h
include/llvm/MC/MCWasmStreamer.h
@ -840,6 +882,7 @@ include/llvm/Object/WindowsResource.h
include/llvm/ObjectYAML/COFFYAML.h
include/llvm/ObjectYAML/CodeViewYAMLDebugSections.h
include/llvm/ObjectYAML/CodeViewYAMLSymbols.h
include/llvm/ObjectYAML/CodeViewYAMLTypeHashing.h
include/llvm/ObjectYAML/CodeViewYAMLTypes.h
include/llvm/ObjectYAML/DWARFEmitter.h
include/llvm/ObjectYAML/DWARFYAML.h
@ -863,6 +906,7 @@ include/llvm/Passes/PassBuilder.h
include/llvm/ProfileData/Coverage/CoverageMapping.h
include/llvm/ProfileData/Coverage/CoverageMappingReader.h
include/llvm/ProfileData/Coverage/CoverageMappingWriter.h
include/llvm/ProfileData/GCOV.h
include/llvm/ProfileData/InstrProf.h
include/llvm/ProfileData/InstrProfData.inc
include/llvm/ProfileData/InstrProfReader.h
@ -872,7 +916,8 @@ include/llvm/ProfileData/SampleProf.h
include/llvm/ProfileData/SampleProfReader.h
include/llvm/ProfileData/SampleProfWriter.h
include/llvm/Support/AArch64TargetParser.def
include/llvm/Support/AMDGPUCodeObjectMetadata.h
include/llvm/Support/AMDGPUKernelDescriptor.h
include/llvm/Support/AMDGPUMetadata.h
include/llvm/Support/ARMAttributeParser.h
include/llvm/Support/ARMBuildAttributes.h
include/llvm/Support/ARMEHABI.h
@ -901,6 +946,7 @@ include/llvm/Support/Casting.h
include/llvm/Support/Chrono.h
include/llvm/Support/CodeGen.h
include/llvm/Support/CodeGenCWrappers.h
include/llvm/Support/CodeGenCoverage.h
include/llvm/Support/CommandLine.h
include/llvm/Support/Compiler.h
include/llvm/Support/Compression.h
@ -929,7 +975,6 @@ include/llvm/Support/FormatProviders.h
include/llvm/Support/FormatVariadic.h
include/llvm/Support/FormatVariadicDetails.h
include/llvm/Support/FormattedStream.h
include/llvm/Support/GCOV.h
include/llvm/Support/GenericDomTree.h
include/llvm/Support/GenericDomTreeConstruction.h
include/llvm/Support/GlobPattern.h
@ -1002,6 +1047,7 @@ include/llvm/Support/Valgrind.h
include/llvm/Support/Watchdog.h
include/llvm/Support/Win64EH.h
include/llvm/Support/WindowsError.h
include/llvm/Support/X86TargetParser.def
include/llvm/Support/YAMLParser.h
include/llvm/Support/YAMLTraits.h
include/llvm/Support/circular_raw_ostream.h
@ -1019,28 +1065,18 @@ include/llvm/TableGen/SetTheory.h
include/llvm/TableGen/StringMatcher.h
include/llvm/TableGen/StringToOffsetTable.h
include/llvm/TableGen/TableGenBackend.h
include/llvm/Target/CostTable.h
include/llvm/Target/GenericOpcodes.td
include/llvm/Target/GlobalISel/RegisterBank.td
include/llvm/Target/GlobalISel/SelectionDAGCompat.td
include/llvm/Target/GlobalISel/Target.td
include/llvm/Target/Target.td
include/llvm/Target/TargetCallingConv.h
include/llvm/Target/TargetCallingConv.td
include/llvm/Target/TargetFrameLowering.h
include/llvm/Target/TargetInstrInfo.h
include/llvm/Target/TargetIntrinsicInfo.h
include/llvm/Target/TargetItinerary.td
include/llvm/Target/TargetLowering.h
include/llvm/Target/TargetLoweringObjectFile.h
include/llvm/Target/TargetMachine.h
include/llvm/Target/TargetOpcodes.def
include/llvm/Target/TargetOpcodes.h
include/llvm/Target/TargetOptions.h
include/llvm/Target/TargetRegisterInfo.h
include/llvm/Target/TargetSchedule.td
include/llvm/Target/TargetSelectionDAG.td
include/llvm/Target/TargetSubtargetInfo.h
include/llvm/Testing/Support/Error.h
include/llvm/Testing/Support/SupportHelpers.h
include/llvm/ToolDrivers/llvm-dlltool/DlltoolDriver.h
@ -1050,6 +1086,7 @@ include/llvm/Transforms/GCOVProfiler.h
include/llvm/Transforms/IPO.h
include/llvm/Transforms/IPO/AlwaysInliner.h
include/llvm/Transforms/IPO/ArgumentPromotion.h
include/llvm/Transforms/IPO/CalledValuePropagation.h
include/llvm/Transforms/IPO/ConstantMerge.h
include/llvm/Transforms/IPO/CrossDSOCFI.h
include/llvm/Transforms/IPO/DeadArgumentElimination.h
@ -1074,6 +1111,7 @@ include/llvm/Transforms/InstCombine/InstCombine.h
include/llvm/Transforms/InstCombine/InstCombineWorklist.h
include/llvm/Transforms/InstrProfiling.h
include/llvm/Transforms/Instrumentation.h
include/llvm/Transforms/Instrumentation/BoundsChecking.h
include/llvm/Transforms/ObjCARC.h
include/llvm/Transforms/PGOInstrumentation.h
include/llvm/Transforms/SampleProfile.h
@ -1081,10 +1119,12 @@ include/llvm/Transforms/Scalar.h
include/llvm/Transforms/Scalar/ADCE.h
include/llvm/Transforms/Scalar/AlignmentFromAssumptions.h
include/llvm/Transforms/Scalar/BDCE.h
include/llvm/Transforms/Scalar/CallSiteSplitting.h
include/llvm/Transforms/Scalar/ConstantHoisting.h
include/llvm/Transforms/Scalar/CorrelatedValuePropagation.h
include/llvm/Transforms/Scalar/DCE.h
include/llvm/Transforms/Scalar/DeadStoreElimination.h
include/llvm/Transforms/Scalar/DivRemPairs.h
include/llvm/Transforms/Scalar/EarlyCSE.h
include/llvm/Transforms/Scalar/Float2Int.h
include/llvm/Transforms/Scalar/GVN.h
@ -1117,11 +1157,13 @@ include/llvm/Transforms/Scalar/NaryReassociate.h
include/llvm/Transforms/Scalar/NewGVN.h
include/llvm/Transforms/Scalar/PartiallyInlineLibCalls.h
include/llvm/Transforms/Scalar/Reassociate.h
include/llvm/Transforms/Scalar/RewriteStatepointsForGC.h
include/llvm/Transforms/Scalar/SCCP.h
include/llvm/Transforms/Scalar/SROA.h
include/llvm/Transforms/Scalar/SimpleLoopUnswitch.h
include/llvm/Transforms/Scalar/SimplifyCFG.h
include/llvm/Transforms/Scalar/Sink.h
include/llvm/Transforms/Scalar/SpeculateAroundPHIs.h
include/llvm/Transforms/Scalar/SpeculativeExecution.h
include/llvm/Transforms/Scalar/TailRecursionElimination.h
include/llvm/Transforms/Utils/ASanStackFrameLayout.h
@ -1130,10 +1172,11 @@ include/llvm/Transforms/Utils/BasicBlockUtils.h
include/llvm/Transforms/Utils/BreakCriticalEdges.h
include/llvm/Transforms/Utils/BuildLibCalls.h
include/llvm/Transforms/Utils/BypassSlowDivision.h
include/llvm/Transforms/Utils/CallPromotionUtils.h
include/llvm/Transforms/Utils/Cloning.h
include/llvm/Transforms/Utils/CmpInstAnalysis.h
include/llvm/Transforms/Utils/CodeExtractor.h
include/llvm/Transforms/Utils/CtorUtils.h
include/llvm/Transforms/Utils/EntryExitInstrumenter.h
include/llvm/Transforms/Utils/EscapeEnumerator.h
include/llvm/Transforms/Utils/Evaluator.h
include/llvm/Transforms/Utils/FunctionComparator.h
@ -1170,6 +1213,10 @@ include/llvm/Transforms/Utils/ValueMapper.h
include/llvm/Transforms/Vectorize.h
include/llvm/Transforms/Vectorize/LoopVectorize.h
include/llvm/Transforms/Vectorize/SLPVectorizer.h
include/llvm/WindowsManifest/WindowsManifestMerger.h
include/llvm/WindowsResource/ResourceProcessor.h
include/llvm/WindowsResource/ResourceScriptToken.h
include/llvm/WindowsResource/ResourceScriptTokenList.h
include/llvm/XRay/Graph.h
include/llvm/XRay/InstrumentationMap.h
include/llvm/XRay/Trace.h
@ -1204,7 +1251,7 @@ lib/cmake/llvm/LLVMProcessSources.cmake
lib/cmake/llvm/TableGen.cmake
lib/cmake/llvm/VersionFromVCS.cmake
${PLIST.notdylib}lib/libLLVM-${PKGVERSION}.${SOEXT}
${PLIST.notdylib}lib/libLLVM-5.0.${SOEXT}
${PLIST.notdylib}lib/libLLVM-6.0.${SOEXT}
lib/libLLVM.${SOEXT}
${PLIST.AArch64}lib/libLLVMAArch64AsmParser.a
${PLIST.AArch64}lib/libLLVMAArch64AsmPrinter.a
@ -1226,9 +1273,11 @@ ${PLIST.ARM}lib/libLLVMARMCodeGen.a
${PLIST.ARM}lib/libLLVMARMDesc.a
${PLIST.ARM}lib/libLLVMARMDisassembler.a
${PLIST.ARM}lib/libLLVMARMInfo.a
lib/libLLVMARMUtils.a
lib/libLLVMAnalysis.a
lib/libLLVMAsmParser.a
lib/libLLVMAsmPrinter.a
lib/libLLVMBPFAsmParser.a
${PLIST.BPF}lib/libLLVMBPFAsmPrinter.a
${PLIST.BPF}lib/libLLVMBPFCodeGen.a
${PLIST.BPF}lib/libLLVMBPFDesc.a
@ -1248,6 +1297,7 @@ lib/libLLVMDebugInfoPDB.a
lib/libLLVMDemangle.a
lib/libLLVMDlltoolDriver.a
lib/libLLVMExecutionEngine.a
lib/libLLVMFuzzMutate.a
lib/libLLVMGlobalISel.a
${PLIST.Hexagon}lib/libLLVMHexagonAsmParser.a
${PLIST.Hexagon}lib/libLLVMHexagonCodeGen.a
@ -1315,6 +1365,7 @@ lib/libLLVMTableGen.a
lib/libLLVMTarget.a
lib/libLLVMTransformUtils.a
lib/libLLVMVectorize.a
lib/libLLVMWindowsManifest.a
${PLIST.X86}lib/libLLVMX86AsmParser.a
${PLIST.X86}lib/libLLVMX86AsmPrinter.a
${PLIST.X86}lib/libLLVMX86CodeGen.a
@ -1331,7 +1382,7 @@ lib/libLLVMXRay.a
lib/libLLVMipo.a
lib/libLTO.${SOEXT}
${PLIST.notdylib}lib/libLTO.${SOEXT}.${PKGVERSION}
${PLIST.notdylib}lib/libLTO.${SOEXT}.5
${PLIST.notdylib}lib/libLTO.${SOEXT}.6
share/opt-viewer/opt-diff.py
share/opt-viewer/opt-stats.py
share/opt-viewer/opt-viewer.py

View file

@ -1,13 +1,13 @@
$NetBSD: distinfo,v 1.15 2018/05/22 12:39:23 adam Exp $
$NetBSD: distinfo,v 1.16 2018/08/07 10:44:50 adam Exp $
SHA1 (llvm-5.0.2.src.tar.xz) = 576d005305335049b89608d897d7ec184d99c6e1
RMD160 (llvm-5.0.2.src.tar.xz) = b2083bf510d806fd2d7601905f2bf5c03f4de2b8
SHA512 (llvm-5.0.2.src.tar.xz) = 3588be5ed969c3f7f6f16f56a12a6af2814d3d3c960d4a36ffebb0446cc75f19220bccee7fc605f9b01f5d5c188a905a046193cc12dec42dd5922048b5c27fe1
Size (llvm-5.0.2.src.tar.xz) = 23451868 bytes
SHA1 (llvm-6.0.1.src.tar.xz) = 09a6316c5225cab255ba12391e7abe5ff4d28935
RMD160 (llvm-6.0.1.src.tar.xz) = 6bfc568d0cab4d82ac948f54b18017d8e8ead934
SHA512 (llvm-6.0.1.src.tar.xz) = cbbb00eb99cfeb4aff623ee1a5ba075e7b5a76fc00c5f9f539ff28c108598f5708a0369d5bd92683def5a20c2fe60cab7827b42d628dbfcc79b57e0e91b84dd9
Size (llvm-6.0.1.src.tar.xz) = 25306628 bytes
SHA1 (patch-CMakeLists.txt) = 78e2dab2bf73f7e466ca2788fe6444e39b4ebd80
SHA1 (patch-cmake_config-ix.cmake) = 4675b1dfca3850dbed6c494bf6a8f6fc6d500c20
SHA1 (patch-cmake_config-ix.cmake) = a345420169e4066e22d28ca6ad10840e83ccfa76
SHA1 (patch-cmake_modules_AddLLVM.cmake) = 4bfb98c5d99797155d0fb13a43352d31f6cfe783
SHA1 (patch-cmake_modules_CheckAtomic.cmake) = 51e4fdf3bc24b50fc4d4bfa1ec5ba6c82ef946b4
SHA1 (patch-cmake_modules_HandleLLVMOptions.cmake) = 271e6f5a8cebf8162c4e3b758e96f451b434269b
SHA1 (patch-include_llvm_Support_DataTypes.h.cmake) = 18ebb1fcd2499d1216d5c3afe0bbb55fe63fe3ef
SHA1 (patch-tools_llvm-shlib_CMakeLists.txt) = 70d8f320f217d99e6f991709a080450bc05631cd
SHA1 (patch-tools_llvm-shlib_CMakeLists.txt) = bf6db476781a5670032bc5476a02d9db73ca6d59

View file

@ -1,15 +1,15 @@
$NetBSD: patch-cmake_config-ix.cmake,v 1.2 2017/12/01 19:22:12 adam Exp $
$NetBSD: patch-cmake_config-ix.cmake,v 1.3 2018/08/07 10:44:50 adam Exp $
Do not generate invalid llvm-config in pkgsrc.
--- cmake/config-ix.cmake.orig 2017-05-19 01:55:05.000000000 +0000
--- cmake/config-ix.cmake.orig 2018-01-02 17:53:08.000000000 +0000
+++ cmake/config-ix.cmake
@@ -135,7 +135,7 @@ if( NOT PURE_WINDOWS AND NOT LLVM_USE_SA
endif()
if(LLVM_ENABLE_TERMINFO)
set(HAVE_TERMINFO 0)
- foreach(library tinfo terminfo curses ncurses ncursesw)
+ foreach(library terminfo curses ncurses ncursesw tinfo)
string(TOUPPER ${library} library_suffix)
check_library_exists(${library} setupterm "" HAVE_TERMINFO_${library_suffix})
if(HAVE_TERMINFO_${library_suffix})
@@ -153,7 +153,7 @@ if(NOT LLVM_USE_SANITIZER MATCHES "Memor
endif()
if(LLVM_ENABLE_TERMINFO)
set(HAVE_TERMINFO 0)
- foreach(library tinfo terminfo curses ncurses ncursesw)
+ foreach(library terminfo curses ncurses ncursesw tinfo)
string(TOUPPER ${library} library_suffix)
check_library_exists(${library} setupterm "" HAVE_TERMINFO_${library_suffix})
if(HAVE_TERMINFO_${library_suffix})

View file

@ -1,14 +1,17 @@
$NetBSD: patch-tools_llvm-shlib_CMakeLists.txt,v 1.2 2017/12/01 19:22:12 adam Exp $
$NetBSD: patch-tools_llvm-shlib_CMakeLists.txt,v 1.3 2018/08/07 10:44:50 adam Exp $
Use the Linux style linking everywhere except Darwin and SunOS.
--- tools/llvm-shlib/CMakeLists.txt.orig 2017-07-11 01:17:44.000000000 +0000
--- tools/llvm-shlib/CMakeLists.txt.orig 2017-07-19 16:07:51.000000000 +0000
+++ tools/llvm-shlib/CMakeLists.txt
@@ -37,15 +37,15 @@ endif()
@@ -37,10 +37,11 @@ endif()
add_llvm_library(LLVM SHARED DISABLE_LLVM_LINK_LLVM_DYLIB SONAME ${SOURCES})
list(REMOVE_DUPLICATES LIB_NAMES)
-if(("${CMAKE_SYSTEM_NAME}" STREQUAL "Linux") OR (MINGW) OR (HAIKU) OR ("${CMAKE_SYSTEM_NAME}" STREQUAL "FreeBSD") OR ("${CMAKE_SYSTEM_NAME}" STREQUAL "DragonFly")) # FIXME: It should be "GNU ld for elf"
-if(("${CMAKE_SYSTEM_NAME}" STREQUAL "Linux") OR (MINGW) OR (HAIKU)
- OR ("${CMAKE_SYSTEM_NAME}" STREQUAL "FreeBSD")
- OR ("${CMAKE_SYSTEM_NAME}" STREQUAL "DragonFly")
- OR ("${CMAKE_SYSTEM_NAME}" STREQUAL "SunOS")) # FIXME: It should be "GNU ld for elf"
+if("${CMAKE_SYSTEM_NAME}" STREQUAL "Darwin")
+ set(LIB_NAMES -Wl,-all_load ${LIB_NAMES})
+elseif("${CMAKE_SYSTEM_NAME}" STREQUAL "SunOS")
@ -17,9 +20,10 @@ Use the Linux style linking everywhere except Darwin and SunOS.
configure_file(
${CMAKE_CURRENT_SOURCE_DIR}/simple_version_script.map.in
${LLVM_LIBRARY_DIR}/tools/llvm-shlib/simple_version_script.map)
-
- # GNU ld doesn't resolve symbols in the version script.
set(LIB_NAMES -Wl,--version-script,${LLVM_LIBRARY_DIR}/tools/llvm-shlib/simple_version_script.map -Wl,--whole-archive ${LIB_NAMES} -Wl,--no-whole-archive)
@@ -51,8 +52,6 @@ if(("${CMAKE_SYSTEM_NAME}" STREQUAL "Lin
# Solaris ld does not accept global: *; so there is no way to version *all* global symbols
set(LIB_NAMES -Wl,--version-script,${LLVM_LIBRARY_DIR}/tools/llvm-shlib/simple_version_script.map ${LIB_NAMES})
endif()
-elseif("${CMAKE_SYSTEM_NAME}" STREQUAL "Darwin")
- set(LIB_NAMES -Wl,-all_load ${LIB_NAMES})
endif()