diff options
author | dim <dim@FreeBSD.org> | 2015-01-26 18:48:27 +0000 |
---|---|---|
committer | dim <dim@FreeBSD.org> | 2015-01-26 18:48:27 +0000 |
commit | 2defe6edea991582536b2fa676bb09e9898dc72e (patch) | |
tree | 09495f08b4d4917aa63e4903b6e1daefa3fb2b46 /lib | |
parent | 26ab20c8dc70a806abf158a557db896c283ac441 (diff) | |
download | FreeBSD-src-2defe6edea991582536b2fa676bb09e9898dc72e.zip FreeBSD-src-2defe6edea991582536b2fa676bb09e9898dc72e.tar.gz |
Update llvm and clang library and binary Makefiles for 3.6.0 rc1.
Diffstat (limited to 'lib')
44 files changed, 99 insertions, 96 deletions
diff --git a/lib/clang/Makefile b/lib/clang/Makefile index dbf6c4d..6da7ad7 100644 --- a/lib/clang/Makefile +++ b/lib/clang/Makefile @@ -43,6 +43,7 @@ SUBDIR= libclanganalysis \ libllvmirreader \ libllvmlinker \ libllvmmc \ + libllvmmcdisassembler \ libllvmmcparser \ libllvmobjcarcopts \ libllvmobject \ @@ -96,14 +97,11 @@ SUBDIR= libclanganalysis \ libllvmx86utils .if ${MK_CLANG_EXTRAS} != "no" -SUBDIR+=libllvmdebuginfo \ - libllvmmcanalysis +SUBDIR+=libllvmdebuginfo .endif # MK_CLANG_EXTRAS .if ${MK_CLANG_EXTRAS} != "no" || ${MK_LLDB} != "no" SUBDIR+=libllvmexecutionengine \ libllvminterpreter \ - libllvmjit \ - libllvmmcdisassembler \ libllvmmcjit \ libllvmruntimedyld .endif # MK_CLANG_EXTRAS | LLDB diff --git a/lib/clang/clang.build.mk b/lib/clang/clang.build.mk index 926c81f..5437bf7 100644 --- a/lib/clang/clang.build.mk +++ b/lib/clang/clang.build.mk @@ -57,7 +57,7 @@ Intrinsics.inc.h: ${LLVM_SRCS}/include/llvm/IR/Intrinsics.td DisassemblerTables/-gen-disassembler \ FastISel/-gen-fast-isel \ InstrInfo/-gen-instr-info \ - MCCodeEmitter/-gen-emitter,-mc-emitter \ + MCCodeEmitter/-gen-emitter \ MCPseudoLowering/-gen-pseudo-lowering \ RegisterInfo/-gen-register-info \ SubtargetInfo/-gen-subtarget diff --git a/lib/clang/include/Makefile b/lib/clang/include/Makefile index d8f1864..7a75c2a 100644 --- a/lib/clang/include/Makefile +++ b/lib/clang/include/Makefile @@ -8,7 +8,7 @@ LLVM_SRCS= ${.CURDIR}/../../../contrib/llvm .PATH: ${LLVM_SRCS}/tools/clang/lib/Headers -INCSDIR=${INCLUDEDIR}/clang/3.5.1 +INCSDIR=${INCLUDEDIR}/clang/3.6.0 INCS= __wmmintrin_aes.h \ __wmmintrin_pclmul.h \ diff --git a/lib/clang/include/clang/Basic/Version.inc b/lib/clang/include/clang/Basic/Version.inc index 2f66e03..363d098 100644 --- a/lib/clang/include/clang/Basic/Version.inc +++ b/lib/clang/include/clang/Basic/Version.inc @@ -1,11 +1,11 @@ /* $FreeBSD$ */ -#define CLANG_VERSION 3.5.1 +#define CLANG_VERSION 3.6.0 #define CLANG_VERSION_MAJOR 3 -#define CLANG_VERSION_MINOR 5 -#define CLANG_VERSION_PATCHLEVEL 1 +#define CLANG_VERSION_MINOR 6 +#define CLANG_VERSION_PATCHLEVEL 0 #define CLANG_VENDOR "FreeBSD " -#define CLANG_VENDOR_SUFFIX " 20150115" +#define CLANG_VENDOR_SUFFIX " 20150126" -#define SVN_REVISION "225668" +#define SVN_REVISION "226102" diff --git a/lib/clang/include/clang/Config/config.h b/lib/clang/include/clang/Config/config.h index b37098b..9c4512d 100644 --- a/lib/clang/include/clang/Config/config.h +++ b/lib/clang/include/clang/Config/config.h @@ -10,15 +10,15 @@ /* Bug report URL. */ #define BUG_REPORT_URL "https://bugs.freebsd.org/submit/" +/* Multilib suffix for libdir. */ +#define CLANG_LIBDIR_SUFFIX "" + /* Relative directory for resource files */ #define CLANG_RESOURCE_DIR "" /* 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 */ @@ -28,9 +28,12 @@ /* Define if we have libxml2 */ /* #undef CLANG_HAVE_LIBXML */ -#define PACKAGE_STRING "LLVM 3.5.1" +#define PACKAGE_STRING "LLVM 3.6.0" /* The LLVM product name and version */ #define BACKEND_PACKAGE_STRING PACKAGE_STRING +/* Linker version detected at compile time. */ +/* #undef HOST_LINK_VERSION */ + #endif diff --git a/lib/clang/include/llvm/Config/config.h b/lib/clang/include/llvm/Config/config.h index 79c2825..8ff9ed8 100644 --- a/lib/clang/include/llvm/Config/config.h +++ b/lib/clang/include/llvm/Config/config.h @@ -545,11 +545,14 @@ #define LLVM_VERSION_MAJOR 3 /* Minor version of the LLVM API */ -#define LLVM_VERSION_MINOR 5 +#define LLVM_VERSION_MINOR 6 /* Patch version of the LLVM API */ #define LLVM_VERSION_PATCH 0 +/* LLVM version string */ +#define LLVM_VERSION_STRING "3.6.0" + /* The shared library extension */ #define LTDL_SHLIB_EXT ".so" @@ -564,13 +567,13 @@ #define PACKAGE_NAME "LLVM" /* Define to the full name and version of this package. */ -#define PACKAGE_STRING "LLVM 3.5.1" +#define PACKAGE_STRING "LLVM 3.6.0" /* Define to the one symbol short name of this package. */ #define PACKAGE_TARNAME "llvm" /* Define to the version of this package. */ -#define PACKAGE_VERSION "3.5.1" +#define PACKAGE_VERSION "3.6.0" /* Define as the return type of signal handlers (`int' or `void'). */ #define RETSIGTYPE void diff --git a/lib/clang/include/llvm/Config/llvm-config.h b/lib/clang/include/llvm/Config/llvm-config.h index 08da010..1fb23e2 100644 --- a/lib/clang/include/llvm/Config/llvm-config.h +++ b/lib/clang/include/llvm/Config/llvm-config.h @@ -92,6 +92,9 @@ #define LLVM_VERSION_MAJOR 3 /* Minor version of the LLVM API */ -#define LLVM_VERSION_MINOR 5 +#define LLVM_VERSION_MINOR 6 + +/* LLVM version string */ +#define LLVM_VERSION_STRING "3.6.0" #endif diff --git a/lib/clang/libclanganalysis/Makefile b/lib/clang/libclanganalysis/Makefile index 572ae86..6a34dca 100644 --- a/lib/clang/libclanganalysis/Makefile +++ b/lib/clang/libclanganalysis/Makefile @@ -12,6 +12,7 @@ SRCS= AnalysisDeclContext.cpp \ CFGStmtMap.cpp \ CallGraph.cpp \ CocoaConventions.cpp \ + CodeInjector.cpp \ Consumed.cpp \ Dominators.cpp \ FormatString.cpp \ diff --git a/lib/clang/libclangast/Makefile b/lib/clang/libclangast/Makefile index 080d002..a3f00aa 100644 --- a/lib/clang/libclangast/Makefile +++ b/lib/clang/libclangast/Makefile @@ -39,7 +39,6 @@ SRCS= APValue.cpp \ ItaniumCXXABI.cpp \ ItaniumMangle.cpp \ Mangle.cpp \ - MangleNumberingContext.cpp \ MicrosoftCXXABI.cpp \ MicrosoftMangle.cpp \ NSAPI.cpp \ @@ -77,6 +76,7 @@ TGHDRS= AttrDump \ DiagnosticASTKinds \ DiagnosticCommentKinds \ DiagnosticCommonKinds \ + DiagnosticFrontendKinds \ DiagnosticSemaKinds \ StmtNodes diff --git a/lib/clang/libclangbasic/Makefile b/lib/clang/libclangbasic/Makefile index 285ac5d..6a5791c 100644 --- a/lib/clang/libclangbasic/Makefile +++ b/lib/clang/libclangbasic/Makefile @@ -18,6 +18,8 @@ SRCS= Attributes.cpp \ ObjCRuntime.cpp \ OpenMPKinds.cpp \ OperatorPrecedence.cpp \ + SanitizerBlacklist.cpp \ + Sanitizers.cpp \ SourceLocation.cpp \ SourceManager.cpp \ TargetInfo.cpp \ diff --git a/lib/clang/libclangcodegen/Makefile b/lib/clang/libclangcodegen/Makefile index 97a3dd4..521a430 100644 --- a/lib/clang/libclangcodegen/Makefile +++ b/lib/clang/libclangcodegen/Makefile @@ -45,10 +45,11 @@ SRCS= BackendUtil.cpp \ CodeGenPGO.cpp \ CodeGenTBAA.cpp \ CodeGenTypes.cpp \ + CoverageMappingGen.cpp \ ItaniumCXXABI.cpp \ MicrosoftCXXABI.cpp \ ModuleBuilder.cpp \ - SanitizerBlacklist.cpp \ + SanitizerMetadata.cpp \ TargetInfo.cpp TGHDRS= AttrList \ diff --git a/lib/clang/libclangdriver/Makefile b/lib/clang/libclangdriver/Makefile index f923cc4..aa51384 100644 --- a/lib/clang/libclangdriver/Makefile +++ b/lib/clang/libclangdriver/Makefile @@ -7,9 +7,11 @@ LIB= clangdriver SRCDIR= tools/clang/lib/Driver SRCS= Action.cpp \ Compilation.cpp \ + CrossWindowsToolChain.cpp \ Driver.cpp \ DriverOptions.cpp \ Job.cpp \ + MSVCToolChain.cpp \ Multilib.cpp \ Phases.cpp \ SanitizerArgs.cpp \ @@ -17,8 +19,7 @@ SRCS= Action.cpp \ ToolChain.cpp \ ToolChains.cpp \ Tools.cpp \ - Types.cpp \ - WindowsToolChain.cpp + Types.cpp TGHDRS= DiagnosticCommonKinds \ DiagnosticDriverKinds \ diff --git a/lib/clang/libclangfrontend/Makefile b/lib/clang/libclangfrontend/Makefile index 4b158bc..95b8fc8 100644 --- a/lib/clang/libclangfrontend/Makefile +++ b/lib/clang/libclangfrontend/Makefile @@ -11,6 +11,7 @@ SRCS= ASTConsumers.cpp \ CacheTokens.cpp \ ChainedDiagnosticConsumer.cpp \ ChainedIncludesSource.cpp \ + CodeGenOptions.cpp \ CompilerInstance.cpp \ CompilerInvocation.cpp \ CreateInvocationFromCommandLine.cpp \ @@ -30,6 +31,7 @@ SRCS= ASTConsumers.cpp \ MultiplexConsumer.cpp \ PrintPreprocessedOutput.cpp \ SerializedDiagnosticPrinter.cpp \ + SerializedDiagnosticReader.cpp \ TextDiagnostic.cpp \ TextDiagnosticBuffer.cpp \ TextDiagnosticPrinter.cpp \ diff --git a/lib/clang/libclangfrontendtool/Makefile b/lib/clang/libclangfrontendtool/Makefile index f20aa35..0d71d55 100644 --- a/lib/clang/libclangfrontendtool/Makefile +++ b/lib/clang/libclangfrontendtool/Makefile @@ -7,8 +7,11 @@ LIB= clangfrontendtool SRCDIR= tools/clang/lib/FrontendTool SRCS= ExecuteCompilerInvocation.cpp -TGHDRS= DiagnosticCommonKinds \ +TGHDRS= CommentCommandList \ + DeclNodes \ + DiagnosticCommonKinds \ DiagnosticFrontendKinds \ - Options + Options \ + StmtNodes .include "../clang.lib.mk" diff --git a/lib/clang/libclangsema/Makefile b/lib/clang/libclangsema/Makefile index d868880..08c120a 100644 --- a/lib/clang/libclangsema/Makefile +++ b/lib/clang/libclangsema/Makefile @@ -18,6 +18,7 @@ SRCS= AnalysisBasedWarnings.cpp \ Sema.cpp \ SemaAccess.cpp \ SemaAttr.cpp \ + SemaCUDA.cpp \ SemaCXXScopeSpec.cpp \ SemaCast.cpp \ SemaChecking.cpp \ diff --git a/lib/clang/libclangstaticanalyzerfrontend/Makefile b/lib/clang/libclangstaticanalyzerfrontend/Makefile index 61b782d..3975509 100644 --- a/lib/clang/libclangstaticanalyzerfrontend/Makefile +++ b/lib/clang/libclangstaticanalyzerfrontend/Makefile @@ -7,9 +7,12 @@ LIB= clangstaticanalyzerfrontend SRCDIR= tools/clang/lib/StaticAnalyzer/Frontend SRCS= AnalysisConsumer.cpp \ CheckerRegistration.cpp \ - FrontendActions.cpp + ModelConsumer.cpp \ + FrontendActions.cpp \ + ModelInjector.cpp TGHDRS= AttrList \ + AttrParsedAttrList \ AttrVisitor \ Attrs \ Checkers \ diff --git a/lib/clang/libllvmaarch64codegen/Makefile b/lib/clang/libllvmaarch64codegen/Makefile index 8a25630..db0023f 100644 --- a/lib/clang/libllvmaarch64codegen/Makefile +++ b/lib/clang/libllvmaarch64codegen/Makefile @@ -5,12 +5,15 @@ LIB= llvmaarch64codegen SRCDIR= lib/Target/AArch64 -SRCS= AArch64AddressTypePromotion.cpp \ +SRCS= AArch64A53Fix835769.cpp \ + AArch64A57FPLoadBalancing.cpp \ + AArch64AddressTypePromotion.cpp \ AArch64AdvSIMDScalarPass.cpp \ AArch64AsmPrinter.cpp \ AArch64BranchRelaxation.cpp \ AArch64CleanupLocalDynamicTLSPass.cpp \ AArch64CollectLOH.cpp \ + AArch64ConditionOptimizer.cpp \ AArch64ConditionalCompares.cpp \ AArch64DeadRegisterDefinitionsPass.cpp \ AArch64ExpandPseudoInsts.cpp \ @@ -21,6 +24,7 @@ SRCS= AArch64AddressTypePromotion.cpp \ AArch64InstrInfo.cpp \ AArch64LoadStoreOptimizer.cpp \ AArch64MCInstLower.cpp \ + AArch64PBQPRegAlloc.cpp \ AArch64PromoteConstant.cpp \ AArch64RegisterInfo.cpp \ AArch64SelectionDAGInfo.cpp \ diff --git a/lib/clang/libllvmanalysis/Makefile b/lib/clang/libllvmanalysis/Makefile index afbb611..7c81c5b 100644 --- a/lib/clang/libllvmanalysis/Makefile +++ b/lib/clang/libllvmanalysis/Makefile @@ -11,12 +11,14 @@ SRCS= AliasAnalysis.cpp \ AliasDebugger.cpp \ AliasSetTracker.cpp \ Analysis.cpp \ + AssumptionCache.cpp \ BasicAliasAnalysis.cpp \ BlockFrequencyInfo.cpp \ BlockFrequencyInfoImpl.cpp \ BranchProbabilityInfo.cpp \ CFG.cpp \ CFGPrinter.cpp \ + CFLAliasAnalysis.cpp \ CGSCCPassManager.cpp \ CaptureTracking.cpp \ CodeMetrics.cpp \ @@ -26,6 +28,7 @@ SRCS= AliasAnalysis.cpp \ DependenceAnalysis.cpp \ DomPrinter.cpp \ DominanceFrontier.cpp \ + FunctionTargetTransformInfo.cpp \ IVUsers.cpp \ InstCount.cpp \ InstructionSimplify.cpp \ @@ -55,16 +58,13 @@ SRCS= AliasAnalysis.cpp \ ScalarEvolutionAliasAnalysis.cpp \ ScalarEvolutionExpander.cpp \ ScalarEvolutionNormalization.cpp \ + ScopedNoAliasAA.cpp \ SparsePropagation.cpp \ TargetTransformInfo.cpp \ Trace.cpp \ TypeBasedAliasAnalysis.cpp \ ValueTracking.cpp -#.if ${MK_CLANG_EXTRAS} != "no" -#SRCS+= BlockFrequencyInfo.cpp -#.endif - TGHDRS= Intrinsics .include "../clang.lib.mk" diff --git a/lib/clang/libllvmarmcodegen/Makefile b/lib/clang/libllvmarmcodegen/Makefile index 22f75dd..dc951e3 100644 --- a/lib/clang/libllvmarmcodegen/Makefile +++ b/lib/clang/libllvmarmcodegen/Makefile @@ -9,7 +9,6 @@ SRCS= A15SDOptimizer.cpp \ ARMAsmPrinter.cpp \ ARMBaseInstrInfo.cpp \ ARMBaseRegisterInfo.cpp \ - ARMCodeEmitter.cpp \ ARMConstantIslandPass.cpp \ ARMConstantPoolValue.cpp \ ARMExpandPseudoInsts.cpp \ @@ -19,7 +18,6 @@ SRCS= A15SDOptimizer.cpp \ ARMISelDAGToDAG.cpp \ ARMISelLowering.cpp \ ARMInstrInfo.cpp \ - ARMJITInfo.cpp \ ARMLoadStoreOptimizer.cpp \ ARMMCInstLower.cpp \ ARMMachineFunctionInfo.cpp \ diff --git a/lib/clang/libllvmasmprinter/Makefile b/lib/clang/libllvmasmprinter/Makefile index 0a4caa5..4ff6f22 100644 --- a/lib/clang/libllvmasmprinter/Makefile +++ b/lib/clang/libllvmasmprinter/Makefile @@ -15,7 +15,9 @@ SRCS= ARMException.cpp \ DbgValueHistoryCalculator.cpp \ DwarfAccelTable.cpp \ DwarfCFIException.cpp \ + DwarfCompileUnit.cpp \ DwarfDebug.cpp \ + DwarfExpression.cpp \ DwarfFile.cpp \ DwarfStringPool.cpp \ DwarfUnit.cpp \ diff --git a/lib/clang/libllvmcodegen/Makefile b/lib/clang/libllvmcodegen/Makefile index a23b173..d5d8e43 100644 --- a/lib/clang/libllvmcodegen/Makefile +++ b/lib/clang/libllvmcodegen/Makefile @@ -8,7 +8,7 @@ SRCDIR= lib/CodeGen SRCS= AggressiveAntiDepBreaker.cpp \ AllocationOrder.cpp \ Analysis.cpp \ - AtomicExpandLoadLinkedPass.cpp \ + AtomicExpandPass.cpp \ BasicTargetTransformInfo.cpp \ BranchFolding.cpp \ CalcSpillWeights.cpp \ @@ -25,6 +25,7 @@ SRCS= AggressiveAntiDepBreaker.cpp \ ExecutionDepsFix.cpp \ ExpandISelPseudos.cpp \ ExpandPostRAPseudos.cpp \ + ForwardControlFlowIntegrity.cpp \ GCMetadata.cpp \ GCMetadataPrinter.cpp \ GCStrategy.cpp \ @@ -33,7 +34,6 @@ SRCS= AggressiveAntiDepBreaker.cpp \ InlineSpiller.cpp \ InterferenceCache.cpp \ IntrinsicLowering.cpp \ - JITCodeEmitter.cpp \ JumpInstrTables.cpp \ LLVMTargetMachine.cpp \ LatencyPriorityQueue.cpp \ @@ -54,7 +54,7 @@ SRCS= AggressiveAntiDepBreaker.cpp \ MachineBlockPlacement.cpp \ MachineBranchProbabilityInfo.cpp \ MachineCSE.cpp \ - MachineCodeEmitter.cpp \ + MachineCombiner.cpp \ MachineCopyPropagation.cpp \ MachineDominanceFrontier.cpp \ MachineDominators.cpp \ @@ -104,13 +104,13 @@ SRCS= AggressiveAntiDepBreaker.cpp \ SjLjEHPrepare.cpp \ SlotIndexes.cpp \ SpillPlacement.cpp \ - Spiller.cpp \ SplitKit.cpp \ StackColoring.cpp \ StackMapLivenessAnalysis.cpp \ StackMaps.cpp \ StackProtector.cpp \ StackSlotColoring.cpp \ + StatepointExampleGC.cpp \ TailDuplication.cpp \ TargetFrameLoweringImpl.cpp \ TargetInstrInfo.cpp \ diff --git a/lib/clang/libllvmcore/Makefile b/lib/clang/libllvmcore/Makefile index 920b70b..921d0be 100644 --- a/lib/clang/libllvmcore/Makefile +++ b/lib/clang/libllvmcore/Makefile @@ -33,18 +33,20 @@ SRCS= AsmWriter.cpp \ IntrinsicInst.cpp \ LLVMContext.cpp \ LLVMContextImpl.cpp \ - LeakDetector.cpp \ LegacyPassManager.cpp \ MDBuilder.cpp \ Mangler.cpp \ Metadata.cpp \ + MetadataTracking.cpp \ Module.cpp \ Pass.cpp \ PassManager.cpp \ PassRegistry.cpp \ + Statepoint.cpp \ Type.cpp \ TypeFinder.cpp \ Use.cpp \ + UseListOrder.cpp \ User.cpp \ Value.cpp \ ValueSymbolTable.cpp \ diff --git a/lib/clang/libllvmdebuginfo/Makefile b/lib/clang/libllvmdebuginfo/Makefile index c8039dc..3cee40e 100644 --- a/lib/clang/libllvmdebuginfo/Makefile +++ b/lib/clang/libllvmdebuginfo/Makefile @@ -1,6 +1,6 @@ # $FreeBSD$ -.include <bsd.own.mk> +.include <src.opts.mk> LIB= llvmdebuginfo @@ -21,4 +21,9 @@ SRCS= DIContext.cpp \ DWARFTypeUnit.cpp \ DWARFUnit.cpp +.if ${MK_CLANG_EXTRAS} != "no" +SRCS+= DWARFAcceleratorTable.cpp \ + SyntaxHighlighting.cpp +.endif + .include "../clang.lib.mk" diff --git a/lib/clang/libllvmexecutionengine/Makefile b/lib/clang/libllvmexecutionengine/Makefile index 382dd88..f8b5901 100644 --- a/lib/clang/libllvmexecutionengine/Makefile +++ b/lib/clang/libllvmexecutionengine/Makefile @@ -7,6 +7,7 @@ LIB= llvmexecutionengine SRCDIR= lib/ExecutionEngine SRCS= ExecutionEngine.cpp \ ExecutionEngineBindings.cpp \ + GDBRegistrationListener.cpp \ RTDyldMemoryManager.cpp \ TargetSelect.cpp diff --git a/lib/clang/libllvminstrumentation/Makefile b/lib/clang/libllvminstrumentation/Makefile index faba349..963b638 100644 --- a/lib/clang/libllvminstrumentation/Makefile +++ b/lib/clang/libllvminstrumentation/Makefile @@ -8,10 +8,11 @@ SRCDIR= lib/Transforms/Instrumentation SRCS= AddressSanitizer.cpp \ BoundsChecking.cpp \ DataFlowSanitizer.cpp \ - DebugIR.cpp \ GCOVProfiling.cpp \ MemorySanitizer.cpp \ Instrumentation.cpp \ + InstrProfiling.cpp \ + SanitizerCoverage.cpp \ ThreadSanitizer.cpp TGHDRS= Intrinsics diff --git a/lib/clang/libllvmipa/Makefile b/lib/clang/libllvmipa/Makefile index c866ca0..3380cf3 100644 --- a/lib/clang/libllvmipa/Makefile +++ b/lib/clang/libllvmipa/Makefile @@ -8,7 +8,6 @@ SRCDIR= lib/Analysis/IPA SRCS= CallGraph.cpp \ CallGraphSCCPass.cpp \ CallPrinter.cpp \ - FindUsedTypes.cpp \ GlobalsModRef.cpp \ InlineCost.cpp diff --git a/lib/clang/libllvmjit/Makefile b/lib/clang/libllvmjit/Makefile deleted file mode 100644 index a04eeb6..0000000 --- a/lib/clang/libllvmjit/Makefile +++ /dev/null @@ -1,12 +0,0 @@ -# $FreeBSD$ - -.include <bsd.own.mk> - -LIB= llvmjit - -SRCDIR= lib/ExecutionEngine/JIT -SRCS= JIT.cpp \ - JITEmitter.cpp \ - JITMemoryManager.cpp - -.include "../clang.lib.mk" diff --git a/lib/clang/libllvmmc/Makefile b/lib/clang/libllvmmc/Makefile index 5843584..f4582c2 100644 --- a/lib/clang/libllvmmc/Makefile +++ b/lib/clang/libllvmmc/Makefile @@ -22,7 +22,6 @@ SRCS= ConstantPools.cpp \ MCELFObjectTargetWriter.cpp \ MCELFStreamer.cpp \ MCExpr.cpp \ - MCExternalSymbolizer.cpp \ MCInst.cpp \ MCInstPrinter.cpp \ MCInstrAnalysis.cpp \ @@ -35,7 +34,6 @@ SRCS= ConstantPools.cpp \ MCObjectStreamer.cpp \ MCObjectWriter.cpp \ MCRegisterInfo.cpp \ - MCRelocationInfo.cpp \ MCSection.cpp \ MCSectionCOFF.cpp \ MCSectionELF.cpp \ @@ -47,6 +45,7 @@ SRCS= ConstantPools.cpp \ MCTargetOptions.cpp \ MCValue.cpp \ MCWin64EH.cpp \ + MCWinEH.cpp \ MachObjectWriter.cpp \ StringTableBuilder.cpp \ SubtargetFeature.cpp \ @@ -54,8 +53,4 @@ SRCS= ConstantPools.cpp \ WinCOFFStreamer.cpp \ YAML.cpp -.if ${MK_CLANG_EXTRAS} != "no" || ${MK_LLDB} != "no" -SRCS+= MCDisassembler.cpp -.endif - .include "../clang.lib.mk" diff --git a/lib/clang/libllvmmcanalysis/Makefile b/lib/clang/libllvmmcanalysis/Makefile deleted file mode 100644 index aa40bbe..0000000 --- a/lib/clang/libllvmmcanalysis/Makefile +++ /dev/null @@ -1,15 +0,0 @@ -# $FreeBSD$ - -.include <bsd.own.mk> - -LIB= llvmmcanalysis - -SRCDIR= lib/MC/MCAnalysis -SRCS= MCAtom.cpp \ - MCFunction.cpp \ - MCModule.cpp \ - MCModuleYAML.cpp \ - MCObjectDisassembler.cpp \ - MCObjectSymbolizer.cpp - -.include "../clang.lib.mk" diff --git a/lib/clang/libllvmmcdisassembler/Makefile b/lib/clang/libllvmmcdisassembler/Makefile index cfcf919..2f8a940 100644 --- a/lib/clang/libllvmmcdisassembler/Makefile +++ b/lib/clang/libllvmmcdisassembler/Makefile @@ -5,6 +5,9 @@ LIB= llvmmcdisassembler SRCDIR= lib/MC/MCDisassembler -SRCS= Disassembler.cpp +SRCS= Disassembler.cpp \ + MCDisassembler.cpp \ + MCExternalSymbolizer.cpp \ + MCRelocationInfo.cpp .include "../clang.lib.mk" diff --git a/lib/clang/libllvmmipscodegen/Makefile b/lib/clang/libllvmmipscodegen/Makefile index 1c91920..4495f50 100644 --- a/lib/clang/libllvmmipscodegen/Makefile +++ b/lib/clang/libllvmmipscodegen/Makefile @@ -12,11 +12,9 @@ SRCS= Mips16FrameLowering.cpp \ Mips16ISelLowering.cpp \ Mips16InstrInfo.cpp \ Mips16RegisterInfo.cpp \ - MipsABIInfo.cpp \ MipsAnalyzeImmediate.cpp \ MipsAsmPrinter.cpp \ MipsCCState.cpp \ - MipsCodeEmitter.cpp \ MipsConstantIslandPass.cpp \ MipsDelaySlotFiller.cpp \ MipsFastISel.cpp \ @@ -24,7 +22,6 @@ SRCS= Mips16FrameLowering.cpp \ MipsISelDAGToDAG.cpp \ MipsISelLowering.cpp \ MipsInstrInfo.cpp \ - MipsJITInfo.cpp \ MipsLongBranch.cpp \ MipsMCInstLower.cpp \ MipsMachineFunction.cpp \ diff --git a/lib/clang/libllvmmipsdesc/Makefile b/lib/clang/libllvmmipsdesc/Makefile index e2c04a9..f22ff80 100644 --- a/lib/clang/libllvmmipsdesc/Makefile +++ b/lib/clang/libllvmmipsdesc/Makefile @@ -6,6 +6,7 @@ LIB= llvmmipsdesc SRCDIR= lib/Target/Mips/MCTargetDesc SRCS= MipsABIFlagsSection.cpp \ + MipsABIInfo.cpp \ MipsAsmBackend.cpp \ MipsELFObjectWriter.cpp \ MipsELFStreamer.cpp \ diff --git a/lib/clang/libllvmobjcarcopts/Makefile b/lib/clang/libllvmobjcarcopts/Makefile index 5c47aa8..ee3ca83 100644 --- a/lib/clang/libllvmobjcarcopts/Makefile +++ b/lib/clang/libllvmobjcarcopts/Makefile @@ -13,7 +13,8 @@ SRCS= ObjCARC.cpp \ ObjCARCUtil.cpp \ ObjCARCContract.cpp \ DependencyAnalysis.cpp \ - ProvenanceAnalysis.cpp + ProvenanceAnalysis.cpp \ + ProvenanceAnalysisEvaluator.cpp TGHDRS= Intrinsics diff --git a/lib/clang/libllvmpowerpccodegen/Makefile b/lib/clang/libllvmpowerpccodegen/Makefile index 9fd268b..211bc22 100644 --- a/lib/clang/libllvmpowerpccodegen/Makefile +++ b/lib/clang/libllvmpowerpccodegen/Makefile @@ -8,14 +8,12 @@ SRCDIR= lib/Target/PowerPC SRCS= PPCAsmPrinter.cpp \ PPCBranchSelector.cpp \ PPCCTRLoops.cpp \ - PPCCodeEmitter.cpp \ - PPCFastISel.cpp \ + PPCFastISel.cpp \ PPCFrameLowering.cpp \ PPCHazardRecognizers.cpp \ PPCISelDAGToDAG.cpp \ PPCISelLowering.cpp \ PPCInstrInfo.cpp \ - PPCJITInfo.cpp \ PPCMCInstLower.cpp \ PPCMachineFunctionInfo.cpp \ PPCRegisterInfo.cpp \ diff --git a/lib/clang/libllvmprofiledata/Makefile b/lib/clang/libllvmprofiledata/Makefile index 371f269..332bf1c 100644 --- a/lib/clang/libllvmprofiledata/Makefile +++ b/lib/clang/libllvmprofiledata/Makefile @@ -5,8 +5,14 @@ LIB= llvmprofiledata SRCDIR= lib/ProfileData -SRCS= InstrProf.cpp \ +SRCS= CoverageMapping.cpp \ + CoverageMappingReader.cpp \ + CoverageMappingWriter.cpp \ + InstrProf.cpp \ InstrProfReader.cpp \ - InstrProfWriter.cpp + InstrProfWriter.cpp \ + SampleProf.cpp \ + SampleProfReader.cpp \ + SampleProfWriter.cpp .include "../clang.lib.mk" diff --git a/lib/clang/libllvmruntimedyld/Makefile b/lib/clang/libllvmruntimedyld/Makefile index c7ccc33..0f92c5a 100644 --- a/lib/clang/libllvmruntimedyld/Makefile +++ b/lib/clang/libllvmruntimedyld/Makefile @@ -5,8 +5,7 @@ LIB= llvmruntimedyld SRCDIR= lib/ExecutionEngine/RuntimeDyld -SRCS= GDBRegistrar.cpp \ - RuntimeDyld.cpp \ +SRCS= RuntimeDyld.cpp \ RuntimeDyldChecker.cpp \ RuntimeDyldELF.cpp \ RuntimeDyldMachO.cpp diff --git a/lib/clang/libllvmscalaropts/Makefile b/lib/clang/libllvmscalaropts/Makefile index 58a7340..bb8dc96 100644 --- a/lib/clang/libllvmscalaropts/Makefile +++ b/lib/clang/libllvmscalaropts/Makefile @@ -6,6 +6,7 @@ LIB= llvmscalaropts SRCDIR= lib/Transforms/Scalar SRCS= ADCE.cpp \ + AlignmentFromAssumptions.cpp \ ConstantHoisting.cpp \ ConstantProp.cpp \ CorrelatedValuePropagation.cpp \ diff --git a/lib/clang/libllvmselectiondag/Makefile b/lib/clang/libllvmselectiondag/Makefile index 7543102..b73a1c5 100644 --- a/lib/clang/libllvmselectiondag/Makefile +++ b/lib/clang/libllvmselectiondag/Makefile @@ -26,6 +26,7 @@ SRCS= DAGCombiner.cpp \ SelectionDAGDumper.cpp \ SelectionDAGISel.cpp \ SelectionDAGPrinter.cpp \ + StatepointLowering.cpp \ TargetLowering.cpp \ TargetSelectionDAGInfo.cpp diff --git a/lib/clang/libllvmsparccodegen/Makefile b/lib/clang/libllvmsparccodegen/Makefile index 36cf0a6..29bbae1 100644 --- a/lib/clang/libllvmsparccodegen/Makefile +++ b/lib/clang/libllvmsparccodegen/Makefile @@ -7,12 +7,10 @@ LIB= llvmsparccodegen SRCDIR= lib/Target/Sparc SRCS= DelaySlotFiller.cpp \ SparcAsmPrinter.cpp \ - SparcCodeEmitter.cpp \ SparcFrameLowering.cpp \ SparcISelDAGToDAG.cpp \ SparcISelLowering.cpp \ SparcInstrInfo.cpp \ - SparcJITInfo.cpp \ SparcMCInstLower.cpp \ SparcMachineFunctionInfo.cpp \ SparcRegisterInfo.cpp \ diff --git a/lib/clang/libllvmsupport/Makefile b/lib/clang/libllvmsupport/Makefile index 4560f2a..f325b15 100644 --- a/lib/clang/libllvmsupport/Makefile +++ b/lib/clang/libllvmsupport/Makefile @@ -33,7 +33,6 @@ SRCS= APFloat.cpp \ GraphWriter.cpp \ Hashing.cpp \ Host.cpp \ - IncludeFile.cpp \ IntEqClasses.cpp \ IntervalMap.cpp \ IntrusiveRefCntPtr.cpp \ @@ -45,10 +44,12 @@ SRCS= APFloat.cpp \ LockFileManager.cpp \ MD5.cpp \ ManagedStatic.cpp \ + MathExtras.cpp \ Memory.cpp \ MemoryBuffer.cpp \ MemoryObject.cpp \ Mutex.cpp \ + Options.cpp \ Path.cpp \ PluginLoader.cpp \ PrettyStackTrace.cpp \ @@ -65,12 +66,11 @@ SRCS= APFloat.cpp \ SourceMgr.cpp \ SpecialCaseList.cpp \ Statistic.cpp \ - StreamableMemoryObject.cpp \ + StreamingMemoryObject.cpp \ StringExtras.cpp \ StringMap.cpp \ StringPool.cpp \ StringRef.cpp \ - StringRefMemoryObject.cpp \ TargetRegistry.cpp \ ThreadLocal.cpp \ Threading.cpp \ diff --git a/lib/clang/libllvmtarget/Makefile b/lib/clang/libllvmtarget/Makefile index 4722e68..3f9619b 100644 --- a/lib/clang/libllvmtarget/Makefile +++ b/lib/clang/libllvmtarget/Makefile @@ -7,7 +7,6 @@ LIB= llvmtarget SRCDIR= lib/Target SRCS= Target.cpp \ TargetIntrinsicInfo.cpp \ - TargetJITInfo.cpp \ TargetLibraryInfo.cpp \ TargetLoweringObjectFile.cpp \ TargetMachine.cpp \ diff --git a/lib/clang/libllvmtransformutils/Makefile b/lib/clang/libllvmtransformutils/Makefile index ba1fb2a..a3cf212 100644 --- a/lib/clang/libllvmtransformutils/Makefile +++ b/lib/clang/libllvmtransformutils/Makefile @@ -39,6 +39,7 @@ SRCS= ASanStackFrameLayout.cpp \ SimplifyIndVar.cpp \ SimplifyInstructions.cpp \ SimplifyLibCalls.cpp \ + SymbolRewriter.cpp \ UnifyFunctionExitNodes.cpp \ ValueMapper.cpp diff --git a/lib/clang/libllvmx86codegen/Makefile b/lib/clang/libllvmx86codegen/Makefile index 039a07d..5827852 100644 --- a/lib/clang/libllvmx86codegen/Makefile +++ b/lib/clang/libllvmx86codegen/Makefile @@ -6,8 +6,6 @@ LIB= llvmx86codegen SRCDIR= lib/Target/X86 SRCS= X86AsmPrinter.cpp \ - X86AtomicExpandPass.cpp \ - X86CodeEmitter.cpp \ X86FastISel.cpp \ X86FixupLEAs.cpp \ X86FloatingPoint.cpp \ @@ -15,7 +13,6 @@ SRCS= X86AsmPrinter.cpp \ X86ISelDAGToDAG.cpp \ X86ISelLowering.cpp \ X86InstrInfo.cpp \ - X86JITInfo.cpp \ X86MCInstLower.cpp \ X86MachineFunctionInfo.cpp \ X86PadShortFunction.cpp \ diff --git a/lib/libclang_rt/Makefile.inc b/lib/libclang_rt/Makefile.inc index ec35e9e..a577e2d 100644 --- a/lib/libclang_rt/Makefile.inc +++ b/lib/libclang_rt/Makefile.inc @@ -5,7 +5,7 @@ CRTARCH=${MACHINE_CPUARCH:C/amd64/x86_64/} CRTSRC=${.CURDIR}/../../../contrib/compiler-rt -LIBDIR=/usr/lib/clang/3.5.1/lib/freebsd +LIBDIR=/usr/lib/clang/3.6.0/lib/freebsd NO_PIC= MK_PROFILE=no |