diff --git a/debian/patches/0044-soname.diff b/debian/patches/0044-soname.diff index 1d6f50d2..6678ea29 100644 --- a/debian/patches/0044-soname.diff +++ b/debian/patches/0044-soname.diff @@ -3,11 +3,11 @@ tools/llvm-shlib/CMakeLists.txt | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) -Index: llvm-toolchain-snapshot_8~svn339515/clang/tools/libclang/CMakeLists.txt +Index: llvm-toolchain-snapshot_8~svn349138/clang/tools/libclang/CMakeLists.txt =================================================================== ---- llvm-toolchain-snapshot_8~svn339515.orig/clang/tools/libclang/CMakeLists.txt -+++ llvm-toolchain-snapshot_8~svn339515/clang/tools/libclang/CMakeLists.txt -@@ -87,7 +87,7 @@ else() +--- llvm-toolchain-snapshot_8~svn349138.orig/clang/tools/libclang/CMakeLists.txt ++++ llvm-toolchain-snapshot_8~svn349138/clang/tools/libclang/CMakeLists.txt +@@ -88,7 +88,7 @@ else() set(output_name "clang") endif() @@ -16,10 +16,10 @@ Index: llvm-toolchain-snapshot_8~svn339515/clang/tools/libclang/CMakeLists.txt OUTPUT_NAME ${output_name} ${SOURCES} DEPENDS clang-headers -Index: llvm-toolchain-snapshot_8~svn339515/tools/llvm-shlib/CMakeLists.txt +Index: llvm-toolchain-snapshot_8~svn349138/tools/llvm-shlib/CMakeLists.txt =================================================================== ---- llvm-toolchain-snapshot_8~svn339515.orig/tools/llvm-shlib/CMakeLists.txt -+++ llvm-toolchain-snapshot_8~svn339515/tools/llvm-shlib/CMakeLists.txt +--- llvm-toolchain-snapshot_8~svn349138.orig/tools/llvm-shlib/CMakeLists.txt ++++ llvm-toolchain-snapshot_8~svn349138/tools/llvm-shlib/CMakeLists.txt @@ -41,6 +41,8 @@ if(LLVM_BUILD_LLVM_DYLIB) add_llvm_library(LLVM SHARED DISABLE_LLVM_LINK_LLVM_DYLIB SONAME ${SOURCES}) diff --git a/debian/patches/D49754-powerpcspe-clang.diff b/debian/patches/D49754-powerpcspe-clang.diff index bc85405b..13ba9f65 100644 --- a/debian/patches/D49754-powerpcspe-clang.diff +++ b/debian/patches/D49754-powerpcspe-clang.diff @@ -3,9 +3,11 @@ Author: Justin Hibbits Origin: https://reviews.llvm.org/D49754 Last-Update: 2018-12-04 ---- llvm-toolchain-7-7.0.1~+rc2.orig/clang/include/clang/Driver/Options.td -+++ llvm-toolchain-7-7.0.1~+rc2/clang/include/clang/Driver/Options.td -@@ -2053,6 +2053,8 @@ def faltivec : Flag<["-"], "faltivec">, +Index: llvm-toolchain-snapshot_8~svn349138/clang/include/clang/Driver/Options.td +=================================================================== +--- llvm-toolchain-snapshot_8~svn349138.orig/clang/include/clang/Driver/Options.td ++++ llvm-toolchain-snapshot_8~svn349138/clang/include/clang/Driver/Options.td +@@ -2142,6 +2142,8 @@ def faltivec : Flag<["-"], "faltivec">, def fno_altivec : Flag<["-"], "fno-altivec">, Group, Flags<[DriverOption]>; def maltivec : Flag<["-"], "maltivec">, Group; def mno_altivec : Flag<["-"], "mno-altivec">, Group; @@ -14,8 +16,10 @@ Last-Update: 2018-12-04 def mvsx : Flag<["-"], "mvsx">, Group; def mno_vsx : Flag<["-"], "mno-vsx">, Group; def msecure_plt : Flag<["-"], "msecure-plt">, Group; ---- llvm-toolchain-7-7.0.1~+rc2.orig/clang/lib/Basic/Targets/PPC.cpp -+++ llvm-toolchain-7-7.0.1~+rc2/clang/lib/Basic/Targets/PPC.cpp +Index: llvm-toolchain-snapshot_8~svn349138/clang/lib/Basic/Targets/PPC.cpp +=================================================================== +--- llvm-toolchain-snapshot_8~svn349138.orig/clang/lib/Basic/Targets/PPC.cpp ++++ llvm-toolchain-snapshot_8~svn349138/clang/lib/Basic/Targets/PPC.cpp @@ -54,6 +54,8 @@ bool PPCTargetInfo::handleTargetFeatures HasFloat128 = true; } else if (Feature == "+power9-vector") { @@ -42,7 +46,7 @@ Last-Update: 2018-12-04 .Default(false); } -@@ -413,16 +418,16 @@ ArrayRef PPCTar +@@ -443,16 +448,16 @@ ArrayRef PPCTar } static constexpr llvm::StringLiteral ValidCPUNames[] = { @@ -69,8 +73,10 @@ Last-Update: 2018-12-04 }; bool PPCTargetInfo::isValidCPUName(StringRef Name) const { ---- llvm-toolchain-7-7.0.1~+rc2.orig/clang/lib/Basic/Targets/PPC.h -+++ llvm-toolchain-7-7.0.1~+rc2/clang/lib/Basic/Targets/PPC.h +Index: llvm-toolchain-snapshot_8~svn349138/clang/lib/Basic/Targets/PPC.h +=================================================================== +--- llvm-toolchain-snapshot_8~svn349138.orig/clang/lib/Basic/Targets/PPC.h ++++ llvm-toolchain-snapshot_8~svn349138/clang/lib/Basic/Targets/PPC.h @@ -45,7 +45,8 @@ class LLVM_LIBRARY_VISIBILITY PPCTargetI ArchDefinePwr8 = 1 << 12, ArchDefinePwr9 = 1 << 13, @@ -98,8 +104,10 @@ Last-Update: 2018-12-04 .Default(ArchDefineNone); } return CPUKnown; ---- llvm-toolchain-7-7.0.1~+rc2.orig/clang/test/Driver/ppc-features.cpp -+++ llvm-toolchain-7-7.0.1~+rc2/clang/test/Driver/ppc-features.cpp +Index: llvm-toolchain-snapshot_8~svn349138/clang/test/Driver/ppc-features.cpp +=================================================================== +--- llvm-toolchain-snapshot_8~svn349138.orig/clang/test/Driver/ppc-features.cpp ++++ llvm-toolchain-snapshot_8~svn349138/clang/test/Driver/ppc-features.cpp @@ -168,6 +168,9 @@ // RUN: %clang -target powerpc64-unknown-linux-gnu %s -mno-invariant-function-descriptors -minvariant-function-descriptors -### -o %t.o 2>&1 | FileCheck -check-prefix=CHECK-INVFUNCDESC %s // CHECK-INVFUNCDESC: "-target-feature" "+invariant-function-descriptors" @@ -110,8 +118,10 @@ Last-Update: 2018-12-04 // Assembler features // RUN: %clang -target powerpc64-unknown-linux-gnu %s -### -o %t.o -no-integrated-as 2>&1 | FileCheck -check-prefix=CHECK_BE_AS_ARGS %s // CHECK_BE_AS_ARGS: "-mppc64" ---- llvm-toolchain-7-7.0.1~+rc2.orig/clang/test/Misc/target-invalid-cpu-note.c -+++ llvm-toolchain-7-7.0.1~+rc2/clang/test/Misc/target-invalid-cpu-note.c +Index: llvm-toolchain-snapshot_8~svn349138/clang/test/Misc/target-invalid-cpu-note.c +=================================================================== +--- llvm-toolchain-snapshot_8~svn349138.orig/clang/test/Misc/target-invalid-cpu-note.c ++++ llvm-toolchain-snapshot_8~svn349138/clang/test/Misc/target-invalid-cpu-note.c @@ -79,7 +79,7 @@ // PPC: error: unknown target CPU 'not-a-cpu' // PPC: note: valid target CPU values are: generic, 440, 450, 601, 602, 603, @@ -121,9 +131,11 @@ Last-Update: 2018-12-04 // PPC-SAME: power5, pwr5, power5x, pwr5x, power6, pwr6, power6x, pwr6x, power7, // PPC-SAME: pwr7, power8, pwr8, power9, pwr9, powerpc, ppc, powerpc64, ppc64, // PPC-SAME: powerpc64le, ppc64le ---- llvm-toolchain-7-7.0.1~+rc2.orig/clang/test/Preprocessor/init.c -+++ llvm-toolchain-7-7.0.1~+rc2/clang/test/Preprocessor/init.c -@@ -6980,6 +6980,10 @@ +Index: llvm-toolchain-snapshot_8~svn349138/clang/test/Preprocessor/init.c +=================================================================== +--- llvm-toolchain-snapshot_8~svn349138.orig/clang/test/Preprocessor/init.c ++++ llvm-toolchain-snapshot_8~svn349138/clang/test/Preprocessor/init.c +@@ -7016,6 +7016,10 @@ // // PPC32-LINUX-NOT: _CALL_LINUX // diff --git a/debian/patches/D54584-powerpcspe-double-parameter.diff b/debian/patches/D54584-powerpcspe-double-parameter.diff index 4cefc7e7..8444d96e 100644 --- a/debian/patches/D54584-powerpcspe-double-parameter.diff +++ b/debian/patches/D54584-powerpcspe-double-parameter.diff @@ -3,10 +3,10 @@ Author: Justin Hibbits Origin: https://reviews.llvm.org/D54583 Last-Update: 2018-12-04 -Index: llvm-toolchain-snapshot_8~svn348749/lib/Target/PowerPC/PPCISelLowering.cpp +Index: llvm-toolchain-snapshot_8~svn349138/lib/Target/PowerPC/PPCISelLowering.cpp =================================================================== ---- llvm-toolchain-snapshot_8~svn348749.orig/lib/Target/PowerPC/PPCISelLowering.cpp -+++ llvm-toolchain-snapshot_8~svn348749/lib/Target/PowerPC/PPCISelLowering.cpp +--- llvm-toolchain-snapshot_8~svn349138.orig/lib/Target/PowerPC/PPCISelLowering.cpp ++++ llvm-toolchain-snapshot_8~svn349138/lib/Target/PowerPC/PPCISelLowering.cpp @@ -391,8 +391,16 @@ PPCTargetLowering::PPCTargetLowering(con } else { setOperationAction(ISD::BITCAST, MVT::f32, Expand); @@ -87,10 +87,10 @@ Index: llvm-toolchain-snapshot_8~svn348749/lib/Target/PowerPC/PPCISelLowering.cp } } -Index: llvm-toolchain-snapshot_8~svn348749/lib/Target/PowerPC/PPCISelLowering.h +Index: llvm-toolchain-snapshot_8~svn349138/lib/Target/PowerPC/PPCISelLowering.h =================================================================== ---- llvm-toolchain-snapshot_8~svn348749.orig/lib/Target/PowerPC/PPCISelLowering.h -+++ llvm-toolchain-snapshot_8~svn348749/lib/Target/PowerPC/PPCISelLowering.h +--- llvm-toolchain-snapshot_8~svn349138.orig/lib/Target/PowerPC/PPCISelLowering.h ++++ llvm-toolchain-snapshot_8~svn349138/lib/Target/PowerPC/PPCISelLowering.h @@ -196,6 +196,15 @@ namespace llvm { /// Direct move of 2 consective GPR to a VSX register. BUILD_FP128, @@ -115,10 +115,10 @@ Index: llvm-toolchain-snapshot_8~svn348749/lib/Target/PowerPC/PPCISelLowering.h SDValue DAGCombineExtBoolTrunc(SDNode *N, DAGCombinerInfo &DCI) const; SDValue DAGCombineBuildVector(SDNode *N, DAGCombinerInfo &DCI) const; -Index: llvm-toolchain-snapshot_8~svn348749/lib/Target/PowerPC/PPCInstrInfo.td +Index: llvm-toolchain-snapshot_8~svn349138/lib/Target/PowerPC/PPCInstrInfo.td =================================================================== ---- llvm-toolchain-snapshot_8~svn348749.orig/lib/Target/PowerPC/PPCInstrInfo.td -+++ llvm-toolchain-snapshot_8~svn348749/lib/Target/PowerPC/PPCInstrInfo.td +--- llvm-toolchain-snapshot_8~svn349138.orig/lib/Target/PowerPC/PPCInstrInfo.td ++++ llvm-toolchain-snapshot_8~svn349138/lib/Target/PowerPC/PPCInstrInfo.td @@ -231,6 +231,22 @@ def PPCbuild_fp128: SDNode<"PPCISD::BUIL SDTCisSameAs<1,2>]>, []>; @@ -142,10 +142,10 @@ Index: llvm-toolchain-snapshot_8~svn348749/lib/Target/PowerPC/PPCInstrInfo.td // These are target-independent nodes, but have target-specific formats. def callseq_start : SDNode<"ISD::CALLSEQ_START", SDT_PPCCallSeqStart, [SDNPHasChain, SDNPOutGlue]>; -Index: llvm-toolchain-snapshot_8~svn348749/lib/Target/PowerPC/PPCInstrSPE.td +Index: llvm-toolchain-snapshot_8~svn349138/lib/Target/PowerPC/PPCInstrSPE.td =================================================================== ---- llvm-toolchain-snapshot_8~svn348749.orig/lib/Target/PowerPC/PPCInstrSPE.td -+++ llvm-toolchain-snapshot_8~svn348749/lib/Target/PowerPC/PPCInstrSPE.td +--- llvm-toolchain-snapshot_8~svn349138.orig/lib/Target/PowerPC/PPCInstrSPE.td ++++ llvm-toolchain-snapshot_8~svn349138/lib/Target/PowerPC/PPCInstrSPE.td @@ -512,7 +512,7 @@ def EVLWWSPLATX : EVXForm_1<792, (out def EVMERGEHI : EVXForm_1<556, (outs sperc:$RT), (ins sperc:$RA, sperc:$RB), @@ -155,7 +155,7 @@ Index: llvm-toolchain-snapshot_8~svn348749/lib/Target/PowerPC/PPCInstrSPE.td "evmergelo $RT, $RA, $RB", IIC_VecGeneral, []>; def EVMERGEHILO : EVXForm_1<558, (outs sperc:$RT), (ins sperc:$RA, sperc:$RB), "evmergehilo $RT, $RA, $RB", IIC_VecGeneral, []>; -@@ -889,4 +889,15 @@ def : Pat<(f64 (selectcc i1:$lhs, i1:$rh +@@ -887,4 +887,15 @@ def : Pat<(f64 (selectcc i1:$lhs, i1:$rh (SELECT_SPE (CRANDC $lhs, $rhs), $tval, $fval)>; def : Pat<(f64 (selectcc i1:$lhs, i1:$rhs, f64:$tval, f64:$fval, SETNE)), (SELECT_SPE (CRXOR $lhs, $rhs), $tval, $fval)>; @@ -171,10 +171,10 @@ Index: llvm-toolchain-snapshot_8~svn348749/lib/Target/PowerPC/PPCInstrSPE.td + (i32 (EXTRACT_SUBREG $rA, sub_32))>; + } -Index: llvm-toolchain-snapshot_8~svn348749/test/CodeGen/PowerPC/spe.ll +Index: llvm-toolchain-snapshot_8~svn349138/test/CodeGen/PowerPC/spe.ll =================================================================== ---- llvm-toolchain-snapshot_8~svn348749.orig/test/CodeGen/PowerPC/spe.ll -+++ llvm-toolchain-snapshot_8~svn348749/test/CodeGen/PowerPC/spe.ll +--- llvm-toolchain-snapshot_8~svn349138.orig/test/CodeGen/PowerPC/spe.ll ++++ llvm-toolchain-snapshot_8~svn349138/test/CodeGen/PowerPC/spe.ll @@ -472,10 +472,8 @@ entry: ; CHECK-LABEL: test_dselect ; CHECK: andi. diff --git a/debian/patches/clang-arm-default-vfp3-on-armv7a.patch b/debian/patches/clang-arm-default-vfp3-on-armv7a.patch index 62d787fd..12efe79a 100644 --- a/debian/patches/clang-arm-default-vfp3-on-armv7a.patch +++ b/debian/patches/clang-arm-default-vfp3-on-armv7a.patch @@ -1,7 +1,7 @@ -Index: llvm-toolchain-7-7/include/llvm/Support/ARMTargetParser.def +Index: llvm-toolchain-snapshot_8~svn349138/include/llvm/Support/ARMTargetParser.def =================================================================== ---- llvm-toolchain-7-7.orig/include/llvm/Support/ARMTargetParser.def -+++ llvm-toolchain-7-7/include/llvm/Support/ARMTargetParser.def +--- llvm-toolchain-snapshot_8~svn349138.orig/include/llvm/Support/ARMTargetParser.def ++++ llvm-toolchain-snapshot_8~svn349138/include/llvm/Support/ARMTargetParser.def @@ -75,7 +75,7 @@ ARM_ARCH("armv6kz", ARMV6KZ, "6KZ", "v6k ARM_ARCH("armv6-m", ARMV6M, "6-M", "v6m", ARMBuildAttrs::CPUArch::v6_M, FK_NONE, ARM::AEK_NONE) @@ -11,11 +11,11 @@ Index: llvm-toolchain-7-7/include/llvm/Support/ARMTargetParser.def ARM_ARCH("armv7ve", ARMV7VE, "7VE", "v7ve", ARMBuildAttrs::CPUArch::v7, FK_NEON, (ARM::AEK_SEC | ARM::AEK_MP | ARM::AEK_VIRT | ARM::AEK_HWDIVARM | ARM::AEK_HWDIVTHUMB | ARM::AEK_DSP)) -Index: llvm-toolchain-7-7/lib/Target/ARM/ARM.td +Index: llvm-toolchain-snapshot_8~svn349138/lib/Target/ARM/ARM.td =================================================================== ---- llvm-toolchain-7-7.orig/lib/Target/ARM/ARM.td -+++ llvm-toolchain-7-7/lib/Target/ARM/ARM.td -@@ -558,7 +558,8 @@ def ARMv6sm : Architecture<"armv6s-m", +--- llvm-toolchain-snapshot_8~svn349138.orig/lib/Target/ARM/ARM.td ++++ llvm-toolchain-snapshot_8~svn349138/lib/Target/ARM/ARM.td +@@ -596,7 +596,8 @@ def ARMv6sm : Architecture<"armv6s-m", FeatureStrictAlign]>; def ARMv7a : Architecture<"armv7-a", "ARMv7a", [HasV7Ops, diff --git a/debian/patches/disable-sse2-old-x86.diff b/debian/patches/disable-sse2-old-x86.diff index 1c00a7d9..fceb368c 100644 --- a/debian/patches/disable-sse2-old-x86.diff +++ b/debian/patches/disable-sse2-old-x86.diff @@ -1,8 +1,8 @@ -Index: llvm-toolchain-snapshot_8~svn345125/clang/include/clang/Basic/X86Target.def +Index: llvm-toolchain-snapshot_8~svn349138/clang/include/clang/Basic/X86Target.def =================================================================== ---- llvm-toolchain-snapshot_8~svn345125.orig/clang/include/clang/Basic/X86Target.def -+++ llvm-toolchain-snapshot_8~svn345125/clang/include/clang/Basic/X86Target.def -@@ -298,7 +298,7 @@ CPU_SPECIFIC("pentium_mmx", 'D', "+mmx") +--- llvm-toolchain-snapshot_8~svn349138.orig/clang/include/clang/Basic/X86Target.def ++++ llvm-toolchain-snapshot_8~svn349138/clang/include/clang/Basic/X86Target.def +@@ -302,7 +302,7 @@ CPU_SPECIFIC("pentium_mmx", 'D', "+mmx") CPU_SPECIFIC("pentium_ii", 'E', "+cmov,+mmx") CPU_SPECIFIC("pentium_iii", 'H', "+cmov,+mmx,+sse") CPU_SPECIFIC("pentium_iii_no_xmm_regs", 'H',"+cmov,+sse") diff --git a/debian/patches/hurd-pathmax.diff b/debian/patches/hurd-pathmax.diff index 9307ec98..2ee0bb94 100644 --- a/debian/patches/hurd-pathmax.diff +++ b/debian/patches/hurd-pathmax.diff @@ -1,8 +1,8 @@ -Index: llvm-toolchain-snapshot_8~svn345125/clang/lib/Basic/FileManager.cpp +Index: llvm-toolchain-snapshot_8~svn349138/clang/lib/Basic/FileManager.cpp =================================================================== ---- llvm-toolchain-snapshot_8~svn345125.orig/clang/lib/Basic/FileManager.cpp -+++ llvm-toolchain-snapshot_8~svn345125/clang/lib/Basic/FileManager.cpp -@@ -511,6 +511,12 @@ void FileManager::invalidateCache(const +--- llvm-toolchain-snapshot_8~svn349138.orig/clang/lib/Basic/FileManager.cpp ++++ llvm-toolchain-snapshot_8~svn349138/clang/lib/Basic/FileManager.cpp +@@ -528,6 +528,12 @@ void FileManager::invalidateCache(const UniqueRealFiles.erase(Entry->getUniqueID()); } @@ -15,10 +15,10 @@ Index: llvm-toolchain-snapshot_8~svn345125/clang/lib/Basic/FileManager.cpp void FileManager::GetUniqueIDMapping( SmallVectorImpl &UIDToFiles) const { UIDToFiles.clear(); -Index: llvm-toolchain-snapshot_8~svn345125/lldb/include/lldb/lldb-defines.h +Index: llvm-toolchain-snapshot_8~svn349138/lldb/include/lldb/lldb-defines.h =================================================================== ---- llvm-toolchain-snapshot_8~svn345125.orig/lldb/include/lldb/lldb-defines.h -+++ llvm-toolchain-snapshot_8~svn345125/lldb/include/lldb/lldb-defines.h +--- llvm-toolchain-snapshot_8~svn349138.orig/lldb/include/lldb/lldb-defines.h ++++ llvm-toolchain-snapshot_8~svn349138/lldb/include/lldb/lldb-defines.h @@ -28,6 +28,11 @@ #define INT32_MAX 2147483647 #endif @@ -31,10 +31,10 @@ Index: llvm-toolchain-snapshot_8~svn345125/lldb/include/lldb/lldb-defines.h #if !defined(UINT32_MAX) #define UINT32_MAX 4294967295U #endif -Index: llvm-toolchain-snapshot_8~svn345125/tools/dsymutil/DwarfLinker.cpp +Index: llvm-toolchain-snapshot_8~svn349138/tools/dsymutil/DwarfLinker.cpp =================================================================== ---- llvm-toolchain-snapshot_8~svn345125.orig/tools/dsymutil/DwarfLinker.cpp -+++ llvm-toolchain-snapshot_8~svn345125/tools/dsymutil/DwarfLinker.cpp +--- llvm-toolchain-snapshot_8~svn349138.orig/tools/dsymutil/DwarfLinker.cpp ++++ llvm-toolchain-snapshot_8~svn349138/tools/dsymutil/DwarfLinker.cpp @@ -101,6 +101,11 @@ #include #include @@ -47,10 +47,10 @@ Index: llvm-toolchain-snapshot_8~svn345125/tools/dsymutil/DwarfLinker.cpp namespace llvm { namespace dsymutil { -Index: llvm-toolchain-snapshot_8~svn345125/polly/lib/External/ppcg/cuda_common.c +Index: llvm-toolchain-snapshot_8~svn349138/polly/lib/External/ppcg/cuda_common.c =================================================================== ---- llvm-toolchain-snapshot_8~svn345125.orig/polly/lib/External/ppcg/cuda_common.c -+++ llvm-toolchain-snapshot_8~svn345125/polly/lib/External/ppcg/cuda_common.c +--- llvm-toolchain-snapshot_8~svn349138.orig/polly/lib/External/ppcg/cuda_common.c ++++ llvm-toolchain-snapshot_8~svn349138/polly/lib/External/ppcg/cuda_common.c @@ -15,6 +15,11 @@ #include "cuda_common.h" #include "ppcg.h" @@ -63,11 +63,11 @@ Index: llvm-toolchain-snapshot_8~svn345125/polly/lib/External/ppcg/cuda_common.c /* Open the host .cu file and the kernel .hu and .cu files for writing. * Add the necessary includes. */ -Index: llvm-toolchain-6.0-6.0.1/clang/lib/Frontend/ModuleDependencyCollector.cpp +Index: llvm-toolchain-snapshot_8~svn349138/clang/lib/Frontend/ModuleDependencyCollector.cpp =================================================================== ---- llvm-toolchain-6.0-6.0.1.orig/clang/lib/Frontend/ModuleDependencyCollector.cpp -+++ llvm-toolchain-6.0-6.0.1/clang/lib/Frontend/ModuleDependencyCollector.cpp -@@ -97,6 +97,11 @@ struct ModuleDependencyMMCallbacks : pub +--- llvm-toolchain-snapshot_8~svn349138.orig/clang/lib/Frontend/ModuleDependencyCollector.cpp ++++ llvm-toolchain-snapshot_8~svn349138/clang/lib/Frontend/ModuleDependencyCollector.cpp +@@ -99,6 +99,11 @@ struct ModuleDependencyMMCallbacks : pub } diff --git a/debian/patches/lldb-link-atomic-cmake.patch b/debian/patches/lldb-link-atomic-cmake.patch index 1460694d..f4f2cab8 100644 --- a/debian/patches/lldb-link-atomic-cmake.patch +++ b/debian/patches/lldb-link-atomic-cmake.patch @@ -6,11 +6,11 @@ Last-Update: 2016-07-27 lldb/cmake/LLDBDependencies.cmake | 6 ++++++ 1 file changed, 6 insertions(+) -Index: llvm-toolchain-snapshot_6.0~svn317000/lldb/source/Utility/CMakeLists.txt +Index: llvm-toolchain-snapshot_8~svn349138/lldb/source/Utility/CMakeLists.txt =================================================================== ---- llvm-toolchain-snapshot_6.0~svn317000.orig/lldb/source/Utility/CMakeLists.txt -+++ llvm-toolchain-snapshot_6.0~svn317000/lldb/source/Utility/CMakeLists.txt -@@ -30,6 +30,14 @@ endif() +--- llvm-toolchain-snapshot_8~svn349138.orig/lldb/source/Utility/CMakeLists.txt ++++ llvm-toolchain-snapshot_8~svn349138/lldb/source/Utility/CMakeLists.txt +@@ -32,6 +32,14 @@ endif() list(APPEND LLDB_SYSTEM_LIBS ${system_libs}) diff --git a/debian/patches/lldb-soname.diff b/debian/patches/lldb-soname.diff index 05781a75..042d9316 100644 --- a/debian/patches/lldb-soname.diff +++ b/debian/patches/lldb-soname.diff @@ -2,10 +2,10 @@ lldb/source/API/CMakeLists.txt | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) -Index: llvm-toolchain-snapshot_8~svn342269/lldb/source/API/CMakeLists.txt +Index: llvm-toolchain-snapshot_8~svn349138/lldb/source/API/CMakeLists.txt =================================================================== ---- llvm-toolchain-snapshot_8~svn342269.orig/lldb/source/API/CMakeLists.txt -+++ llvm-toolchain-snapshot_8~svn342269/lldb/source/API/CMakeLists.txt +--- llvm-toolchain-snapshot_8~svn349138.orig/lldb/source/API/CMakeLists.txt ++++ llvm-toolchain-snapshot_8~svn349138/lldb/source/API/CMakeLists.txt @@ -4,7 +4,12 @@ endif() get_property(LLDB_ALL_PLUGINS GLOBAL PROPERTY LLDB_PLUGINS) @@ -20,7 +20,7 @@ Index: llvm-toolchain-snapshot_8~svn342269/lldb/source/API/CMakeLists.txt SBAddress.cpp SBAttachInfo.cpp SBBlock.cpp -@@ -112,7 +117,7 @@ endif () +@@ -113,7 +118,7 @@ endif () set_target_properties(liblldb PROPERTIES @@ -29,7 +29,7 @@ Index: llvm-toolchain-snapshot_8~svn342269/lldb/source/API/CMakeLists.txt ) if (NOT CMAKE_SYSTEM_NAME MATCHES "Windows") -@@ -136,11 +141,6 @@ if ( CMAKE_SYSTEM_NAME MATCHES "Windows" +@@ -137,11 +142,6 @@ if ( CMAKE_SYSTEM_NAME MATCHES "Windows" if (MSVC AND NOT LLDB_DISABLE_PYTHON) target_link_libraries(liblldb PRIVATE ${PYTHON_LIBRARY}) endif() diff --git a/debian/patches/mips-fpxx-enable.diff b/debian/patches/mips-fpxx-enable.diff index e9e88be4..442b4d19 100644 --- a/debian/patches/mips-fpxx-enable.diff +++ b/debian/patches/mips-fpxx-enable.diff @@ -1,8 +1,8 @@ -Index: llvm-toolchain-snapshot_8~svn342269/clang/lib/Driver/ToolChains/Arch/Mips.cpp +Index: llvm-toolchain-snapshot_8~svn349138/clang/lib/Driver/ToolChains/Arch/Mips.cpp =================================================================== ---- llvm-toolchain-snapshot_8~svn342269.orig/clang/lib/Driver/ToolChains/Arch/Mips.cpp -+++ llvm-toolchain-snapshot_8~svn342269/clang/lib/Driver/ToolChains/Arch/Mips.cpp -@@ -449,10 +449,10 @@ bool mips::isFP64ADefault(const llvm::Tr +--- llvm-toolchain-snapshot_8~svn349138.orig/clang/lib/Driver/ToolChains/Arch/Mips.cpp ++++ llvm-toolchain-snapshot_8~svn349138/clang/lib/Driver/ToolChains/Arch/Mips.cpp +@@ -457,10 +457,10 @@ bool mips::isFP64ADefault(const llvm::Tr bool mips::isFPXXDefault(const llvm::Triple &Triple, StringRef CPUName, StringRef ABIName, mips::FloatABI FloatABI) { diff --git a/debian/patches/reproducible-pch.diff b/debian/patches/reproducible-pch.diff index 645b7dff..b3f3930a 100644 --- a/debian/patches/reproducible-pch.diff +++ b/debian/patches/reproducible-pch.diff @@ -4,11 +4,11 @@ Author: Rebecca N. Palmer Bug-Debian: https://bugs.debian.org/877359 Forwarded: no -Index: llvm-toolchain-snapshot_8~svn347511/clang/lib/Serialization/ASTWriter.cpp +Index: llvm-toolchain-snapshot_8~svn349138/clang/lib/Serialization/ASTWriter.cpp =================================================================== ---- llvm-toolchain-snapshot_8~svn347511.orig/clang/lib/Serialization/ASTWriter.cpp -+++ llvm-toolchain-snapshot_8~svn347511/clang/lib/Serialization/ASTWriter.cpp -@@ -4280,9 +4280,13 @@ void ASTWriter::WriteOpenCLExtensionType +--- llvm-toolchain-snapshot_8~svn349138.orig/clang/lib/Serialization/ASTWriter.cpp ++++ llvm-toolchain-snapshot_8~svn349138/clang/lib/Serialization/ASTWriter.cpp +@@ -4279,9 +4279,13 @@ void ASTWriter::WriteOpenCLExtensionType return; RecordData Record; @@ -24,7 +24,7 @@ Index: llvm-toolchain-snapshot_8~svn347511/clang/lib/Serialization/ASTWriter.cpp Record.push_back(I.second.size()); for (auto Ext : I.second) AddString(Ext, Record); -@@ -4295,8 +4299,12 @@ void ASTWriter::WriteOpenCLExtensionDecl +@@ -4294,8 +4298,12 @@ void ASTWriter::WriteOpenCLExtensionDecl return; RecordData Record; diff --git a/debian/patches/scan-build-clang-path.diff b/debian/patches/scan-build-clang-path.diff index eeeb6e47..d1e1e224 100644 --- a/debian/patches/scan-build-clang-path.diff +++ b/debian/patches/scan-build-clang-path.diff @@ -2,11 +2,11 @@ clang/tools/scan-build/bin/scan-build | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -Index: llvm-toolchain-snapshot_8~svn342269/clang/tools/scan-build/bin/scan-build +Index: llvm-toolchain-snapshot_8~svn349138/clang/tools/scan-build/bin/scan-build =================================================================== ---- llvm-toolchain-snapshot_8~svn342269.orig/clang/tools/scan-build/bin/scan-build -+++ llvm-toolchain-snapshot_8~svn342269/clang/tools/scan-build/bin/scan-build -@@ -1442,7 +1442,7 @@ sub FindClang { +--- llvm-toolchain-snapshot_8~svn349138.orig/clang/tools/scan-build/bin/scan-build ++++ llvm-toolchain-snapshot_8~svn349138/clang/tools/scan-build/bin/scan-build +@@ -1468,7 +1468,7 @@ sub FindClang { if (!defined $Options{AnalyzerDiscoveryMethod}) { $Clang = Cwd::realpath("$RealBin/bin/clang") if (-f "$RealBin/bin/clang"); if (!defined $Clang || ! -x $Clang) { diff --git a/debian/patches/silent-gold-utils.diff b/debian/patches/silent-gold-utils.diff index 614a2409..26cdc2f6 100644 --- a/debian/patches/silent-gold-utils.diff +++ b/debian/patches/silent-gold-utils.diff @@ -15,10 +15,10 @@ test/tools/gold/X86/visibility.ll | 1 + 14 files changed, 19 insertions(+), 2 deletions(-) -Index: llvm-toolchain-snapshot_8~svn342269/test/tools/gold/X86/common_thinlto.ll +Index: llvm-toolchain-snapshot_8~svn349138/test/tools/gold/X86/common_thinlto.ll =================================================================== ---- llvm-toolchain-snapshot_8~svn342269.orig/test/tools/gold/X86/common_thinlto.ll -+++ llvm-toolchain-snapshot_8~svn342269/test/tools/gold/X86/common_thinlto.ll +--- llvm-toolchain-snapshot_8~svn349138.orig/test/tools/gold/X86/common_thinlto.ll ++++ llvm-toolchain-snapshot_8~svn349138/test/tools/gold/X86/common_thinlto.ll @@ -17,6 +17,7 @@ ; RUN: llvm-nm %t3 | FileCheck %s --check-prefix=NM @@ -27,10 +27,10 @@ Index: llvm-toolchain-snapshot_8~svn342269/test/tools/gold/X86/common_thinlto.ll source_filename = "common1.c" target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128" -Index: llvm-toolchain-snapshot_8~svn342269/test/tools/gold/X86/emit-llvm.ll +Index: llvm-toolchain-snapshot_8~svn349138/test/tools/gold/X86/emit-llvm.ll =================================================================== ---- llvm-toolchain-snapshot_8~svn342269.orig/test/tools/gold/X86/emit-llvm.ll -+++ llvm-toolchain-snapshot_8~svn342269/test/tools/gold/X86/emit-llvm.ll +--- llvm-toolchain-snapshot_8~svn349138.orig/test/tools/gold/X86/emit-llvm.ll ++++ llvm-toolchain-snapshot_8~svn349138/test/tools/gold/X86/emit-llvm.ll @@ -21,6 +21,8 @@ ; RUN: not test -a %t4.o @@ -40,10 +40,10 @@ Index: llvm-toolchain-snapshot_8~svn342269/test/tools/gold/X86/emit-llvm.ll target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" -Index: llvm-toolchain-snapshot_8~svn342269/test/tools/gold/X86/parallel.ll +Index: llvm-toolchain-snapshot_8~svn349138/test/tools/gold/X86/parallel.ll =================================================================== ---- llvm-toolchain-snapshot_8~svn342269.orig/test/tools/gold/X86/parallel.ll -+++ llvm-toolchain-snapshot_8~svn342269/test/tools/gold/X86/parallel.ll +--- llvm-toolchain-snapshot_8~svn349138.orig/test/tools/gold/X86/parallel.ll ++++ llvm-toolchain-snapshot_8~svn349138/test/tools/gold/X86/parallel.ll @@ -5,6 +5,7 @@ ; RUN: llvm-dis %t.1.5.precodegen.bc -o - | FileCheck --check-prefix=CHECK-BC1 %s ; RUN: llvm-nm %t.o | FileCheck --check-prefix=CHECK0 %s @@ -52,10 +52,10 @@ Index: llvm-toolchain-snapshot_8~svn342269/test/tools/gold/X86/parallel.ll target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" -Index: llvm-toolchain-snapshot_8~svn342269/test/tools/gold/X86/pr19901_thinlto.ll +Index: llvm-toolchain-snapshot_8~svn349138/test/tools/gold/X86/pr19901_thinlto.ll =================================================================== ---- llvm-toolchain-snapshot_8~svn342269.orig/test/tools/gold/X86/pr19901_thinlto.ll -+++ llvm-toolchain-snapshot_8~svn342269/test/tools/gold/X86/pr19901_thinlto.ll +--- llvm-toolchain-snapshot_8~svn349138.orig/test/tools/gold/X86/pr19901_thinlto.ll ++++ llvm-toolchain-snapshot_8~svn349138/test/tools/gold/X86/pr19901_thinlto.ll @@ -4,6 +4,7 @@ ; RUN: --plugin-opt=thinlto \ ; RUN: -shared -m elf_x86_64 -o %t.so %t2.o %t.o @@ -64,10 +64,10 @@ Index: llvm-toolchain-snapshot_8~svn342269/test/tools/gold/X86/pr19901_thinlto.l ; CHECK: Symbol { ; CHECK: Name: f -Index: llvm-toolchain-snapshot_8~svn342269/test/tools/gold/X86/slp-vectorize.ll +Index: llvm-toolchain-snapshot_8~svn349138/test/tools/gold/X86/slp-vectorize.ll =================================================================== ---- llvm-toolchain-snapshot_8~svn342269.orig/test/tools/gold/X86/slp-vectorize.ll -+++ llvm-toolchain-snapshot_8~svn342269/test/tools/gold/X86/slp-vectorize.ll +--- llvm-toolchain-snapshot_8~svn349138.orig/test/tools/gold/X86/slp-vectorize.ll ++++ llvm-toolchain-snapshot_8~svn349138/test/tools/gold/X86/slp-vectorize.ll @@ -7,6 +7,7 @@ ; test that the vectorizer is run. @@ -76,10 +76,10 @@ Index: llvm-toolchain-snapshot_8~svn342269/test/tools/gold/X86/slp-vectorize.ll target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" -Index: llvm-toolchain-snapshot_8~svn342269/test/tools/gold/X86/strip_names.ll +Index: llvm-toolchain-snapshot_8~svn349138/test/tools/gold/X86/strip_names.ll =================================================================== ---- llvm-toolchain-snapshot_8~svn342269.orig/test/tools/gold/X86/strip_names.ll -+++ llvm-toolchain-snapshot_8~svn342269/test/tools/gold/X86/strip_names.ll +--- llvm-toolchain-snapshot_8~svn349138.orig/test/tools/gold/X86/strip_names.ll ++++ llvm-toolchain-snapshot_8~svn349138/test/tools/gold/X86/strip_names.ll @@ -25,6 +25,7 @@ ; NONAME: %2 = load i32, i32* @GlobalValueName ; NONAME: %3 = add i32 %0, %2 @@ -88,11 +88,11 @@ Index: llvm-toolchain-snapshot_8~svn342269/test/tools/gold/X86/strip_names.ll target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" -Index: llvm-toolchain-snapshot_8~svn342269/test/tools/gold/X86/thinlto.ll +Index: llvm-toolchain-snapshot_8~svn349138/test/tools/gold/X86/thinlto.ll =================================================================== ---- llvm-toolchain-snapshot_8~svn342269.orig/test/tools/gold/X86/thinlto.ll -+++ llvm-toolchain-snapshot_8~svn342269/test/tools/gold/X86/thinlto.ll -@@ -140,6 +140,8 @@ +--- llvm-toolchain-snapshot_8~svn349138.orig/test/tools/gold/X86/thinlto.ll ++++ llvm-toolchain-snapshot_8~svn349138/test/tools/gold/X86/thinlto.ll +@@ -141,6 +141,8 @@ target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @@ -101,10 +101,10 @@ Index: llvm-toolchain-snapshot_8~svn342269/test/tools/gold/X86/thinlto.ll declare void @g(...) define void @f() { -Index: llvm-toolchain-snapshot_8~svn342269/test/tools/gold/X86/thinlto_archive.ll +Index: llvm-toolchain-snapshot_8~svn349138/test/tools/gold/X86/thinlto_archive.ll =================================================================== ---- llvm-toolchain-snapshot_8~svn342269.orig/test/tools/gold/X86/thinlto_archive.ll -+++ llvm-toolchain-snapshot_8~svn342269/test/tools/gold/X86/thinlto_archive.ll +--- llvm-toolchain-snapshot_8~svn349138.orig/test/tools/gold/X86/thinlto_archive.ll ++++ llvm-toolchain-snapshot_8~svn349138/test/tools/gold/X86/thinlto_archive.ll @@ -15,6 +15,7 @@ ; RUN: --plugin-opt=jobs=1 \ ; RUN: -shared %t.o %t.a -o %t4 2>&1 | FileCheck %s @@ -113,10 +113,10 @@ Index: llvm-toolchain-snapshot_8~svn342269/test/tools/gold/X86/thinlto_archive.l target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" -Index: llvm-toolchain-snapshot_8~svn342269/test/tools/gold/X86/thinlto_internalize.ll +Index: llvm-toolchain-snapshot_8~svn349138/test/tools/gold/X86/thinlto_internalize.ll =================================================================== ---- llvm-toolchain-snapshot_8~svn342269.orig/test/tools/gold/X86/thinlto_internalize.ll -+++ llvm-toolchain-snapshot_8~svn342269/test/tools/gold/X86/thinlto_internalize.ll +--- llvm-toolchain-snapshot_8~svn349138.orig/test/tools/gold/X86/thinlto_internalize.ll ++++ llvm-toolchain-snapshot_8~svn349138/test/tools/gold/X86/thinlto_internalize.ll @@ -14,6 +14,8 @@ ; h() should be internalized after promotion, and eliminated after inlining ; CHECK-NOT: @h.llvm. @@ -126,10 +126,10 @@ Index: llvm-toolchain-snapshot_8~svn342269/test/tools/gold/X86/thinlto_internali target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" define i32 @g() { -Index: llvm-toolchain-snapshot_8~svn342269/test/tools/gold/X86/thinlto_linkonceresolution.ll +Index: llvm-toolchain-snapshot_8~svn349138/test/tools/gold/X86/thinlto_linkonceresolution.ll =================================================================== ---- llvm-toolchain-snapshot_8~svn342269.orig/test/tools/gold/X86/thinlto_linkonceresolution.ll -+++ llvm-toolchain-snapshot_8~svn342269/test/tools/gold/X86/thinlto_linkonceresolution.ll +--- llvm-toolchain-snapshot_8~svn349138.orig/test/tools/gold/X86/thinlto_linkonceresolution.ll ++++ llvm-toolchain-snapshot_8~svn349138/test/tools/gold/X86/thinlto_linkonceresolution.ll @@ -23,6 +23,8 @@ ; OPT-NOT: @f() ; OPT2: define weak_odr hidden void @f() @@ -139,10 +139,10 @@ Index: llvm-toolchain-snapshot_8~svn342269/test/tools/gold/X86/thinlto_linkoncer target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" define i32 @g() { -Index: llvm-toolchain-snapshot_8~svn342269/test/tools/gold/X86/thinlto_weak_resolution.ll +Index: llvm-toolchain-snapshot_8~svn349138/test/tools/gold/X86/thinlto_weak_resolution.ll =================================================================== ---- llvm-toolchain-snapshot_8~svn342269.orig/test/tools/gold/X86/thinlto_weak_resolution.ll -+++ llvm-toolchain-snapshot_8~svn342269/test/tools/gold/X86/thinlto_weak_resolution.ll +--- llvm-toolchain-snapshot_8~svn349138.orig/test/tools/gold/X86/thinlto_weak_resolution.ll ++++ llvm-toolchain-snapshot_8~svn349138/test/tools/gold/X86/thinlto_weak_resolution.ll @@ -9,6 +9,7 @@ ; RUN: --plugin-opt=save-temps \ ; RUN: -shared \ @@ -151,10 +151,10 @@ Index: llvm-toolchain-snapshot_8~svn342269/test/tools/gold/X86/thinlto_weak_reso ; RUN: llvm-nm %t3.o | FileCheck %s ; CHECK: weakfunc -Index: llvm-toolchain-snapshot_8~svn342269/test/tools/gold/X86/type-merge2.ll +Index: llvm-toolchain-snapshot_8~svn349138/test/tools/gold/X86/type-merge2.ll =================================================================== ---- llvm-toolchain-snapshot_8~svn342269.orig/test/tools/gold/X86/type-merge2.ll -+++ llvm-toolchain-snapshot_8~svn342269/test/tools/gold/X86/type-merge2.ll +--- llvm-toolchain-snapshot_8~svn349138.orig/test/tools/gold/X86/type-merge2.ll ++++ llvm-toolchain-snapshot_8~svn349138/test/tools/gold/X86/type-merge2.ll @@ -6,6 +6,8 @@ ; RUN: -shared %t.o %t2.o -o %t3.o ; RUN: llvm-dis %t3.o.0.2.internalize.bc -o - | FileCheck %s @@ -164,10 +164,10 @@ Index: llvm-toolchain-snapshot_8~svn342269/test/tools/gold/X86/type-merge2.ll target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" -Index: llvm-toolchain-snapshot_8~svn342269/test/tools/gold/X86/vectorize.ll +Index: llvm-toolchain-snapshot_8~svn349138/test/tools/gold/X86/vectorize.ll =================================================================== ---- llvm-toolchain-snapshot_8~svn342269.orig/test/tools/gold/X86/vectorize.ll -+++ llvm-toolchain-snapshot_8~svn342269/test/tools/gold/X86/vectorize.ll +--- llvm-toolchain-snapshot_8~svn349138.orig/test/tools/gold/X86/vectorize.ll ++++ llvm-toolchain-snapshot_8~svn349138/test/tools/gold/X86/vectorize.ll @@ -7,6 +7,7 @@ ; test that the vectorizer is run. @@ -176,10 +176,10 @@ Index: llvm-toolchain-snapshot_8~svn342269/test/tools/gold/X86/vectorize.ll target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" -Index: llvm-toolchain-snapshot_8~svn342269/test/tools/gold/X86/visibility.ll +Index: llvm-toolchain-snapshot_8~svn349138/test/tools/gold/X86/visibility.ll =================================================================== ---- llvm-toolchain-snapshot_8~svn342269.orig/test/tools/gold/X86/visibility.ll -+++ llvm-toolchain-snapshot_8~svn342269/test/tools/gold/X86/visibility.ll +--- llvm-toolchain-snapshot_8~svn349138.orig/test/tools/gold/X86/visibility.ll ++++ llvm-toolchain-snapshot_8~svn349138/test/tools/gold/X86/visibility.ll @@ -16,6 +16,7 @@ ; CHECK-NEXT: Other [ ; CHECK-NEXT: STV_PROTECTED