mirror of
https://git.proxmox.com/git/llvm-toolchain
synced 2025-10-04 22:52:23 +00:00
rebase of the patches
This commit is contained in:
parent
78bf454f33
commit
17354b030a
@ -12,11 +12,11 @@ Partially addresses PR37128
|
|||||||
cmake/modules/CMakeLists.txt | 4 ++--
|
cmake/modules/CMakeLists.txt | 4 ++--
|
||||||
1 file changed, 2 insertions(+), 2 deletions(-)
|
1 file changed, 2 insertions(+), 2 deletions(-)
|
||||||
|
|
||||||
Index: llvm-toolchain-snapshot_11~++20200326111000+4673699a470/llvm/cmake/modules/CMakeLists.txt
|
Index: llvm-toolchain-snapshot_14~++20211114120952+5b4bfd8c2415/llvm/cmake/modules/CMakeLists.txt
|
||||||
===================================================================
|
===================================================================
|
||||||
--- llvm-toolchain-snapshot_11~++20200326111000+4673699a470.orig/llvm/cmake/modules/CMakeLists.txt
|
--- llvm-toolchain-snapshot_14~++20211114120952+5b4bfd8c2415.orig/llvm/cmake/modules/CMakeLists.txt
|
||||||
+++ llvm-toolchain-snapshot_11~++20200326111000+4673699a470/llvm/cmake/modules/CMakeLists.txt
|
+++ llvm-toolchain-snapshot_14~++20211114120952+5b4bfd8c2415/llvm/cmake/modules/CMakeLists.txt
|
||||||
@@ -88,10 +88,10 @@ file(COPY .
|
@@ -101,10 +101,10 @@ file(COPY .
|
||||||
# Generate LLVMConfig.cmake for the install tree.
|
# Generate LLVMConfig.cmake for the install tree.
|
||||||
set(LLVM_CONFIG_CODE "
|
set(LLVM_CONFIG_CODE "
|
||||||
# Compute the installation prefix from this LLVMConfig.cmake file location.
|
# Compute the installation prefix from this LLVMConfig.cmake file location.
|
||||||
|
@ -12,11 +12,11 @@ Partially addresses PR37128
|
|||||||
cmake/modules/CMakeLists.txt | 4 ++--
|
cmake/modules/CMakeLists.txt | 4 ++--
|
||||||
1 file changed, 2 insertions(+), 2 deletions(-)
|
1 file changed, 2 insertions(+), 2 deletions(-)
|
||||||
|
|
||||||
Index: llvm-toolchain-snapshot_11~++20200326111000+4673699a470/clang/cmake/modules/CMakeLists.txt
|
Index: llvm-toolchain-snapshot_14~++20211114120952+5b4bfd8c2415/clang/cmake/modules/CMakeLists.txt
|
||||||
===================================================================
|
===================================================================
|
||||||
--- llvm-toolchain-snapshot_11~++20200326111000+4673699a470.orig/clang/cmake/modules/CMakeLists.txt
|
--- llvm-toolchain-snapshot_14~++20211114120952+5b4bfd8c2415.orig/clang/cmake/modules/CMakeLists.txt
|
||||||
+++ llvm-toolchain-snapshot_11~++20200326111000+4673699a470/clang/cmake/modules/CMakeLists.txt
|
+++ llvm-toolchain-snapshot_14~++20211114120952+5b4bfd8c2415/clang/cmake/modules/CMakeLists.txt
|
||||||
@@ -30,10 +30,10 @@ set(CLANG_CONFIG_EXPORTS_FILE)
|
@@ -31,10 +31,10 @@ set(CLANG_CONFIG_LLVM_CMAKE_DIR)
|
||||||
# Generate ClangConfig.cmake for the install tree.
|
# Generate ClangConfig.cmake for the install tree.
|
||||||
set(CLANG_CONFIG_CODE "
|
set(CLANG_CONFIG_CODE "
|
||||||
# Compute the installation prefix from this LLVMConfig.cmake file location.
|
# Compute the installation prefix from this LLVMConfig.cmake file location.
|
||||||
|
14
debian/patches/0044-soname.diff
vendored
14
debian/patches/0044-soname.diff
vendored
@ -3,11 +3,11 @@
|
|||||||
tools/llvm-shlib/CMakeLists.txt | 1 +
|
tools/llvm-shlib/CMakeLists.txt | 1 +
|
||||||
2 files changed, 2 insertions(+), 1 deletion(-)
|
2 files changed, 2 insertions(+), 1 deletion(-)
|
||||||
|
|
||||||
Index: llvm-toolchain-snapshot_13~++20210405105538+828ec9e9e5da/clang/tools/libclang/CMakeLists.txt
|
Index: llvm-toolchain-snapshot_14~++20211114120952+5b4bfd8c2415/clang/tools/libclang/CMakeLists.txt
|
||||||
===================================================================
|
===================================================================
|
||||||
--- llvm-toolchain-snapshot_13~++20210405105538+828ec9e9e5da.orig/clang/tools/libclang/CMakeLists.txt
|
--- llvm-toolchain-snapshot_14~++20211114120952+5b4bfd8c2415.orig/clang/tools/libclang/CMakeLists.txt
|
||||||
+++ llvm-toolchain-snapshot_13~++20210405105538+828ec9e9e5da/clang/tools/libclang/CMakeLists.txt
|
+++ llvm-toolchain-snapshot_14~++20211114120952+5b4bfd8c2415/clang/tools/libclang/CMakeLists.txt
|
||||||
@@ -96,7 +96,7 @@ if (UNIX AND ${CMAKE_SYSTEM_NAME} MATCHE
|
@@ -117,7 +117,7 @@ if (UNIX AND ${CMAKE_SYSTEM_NAME} MATCHE
|
||||||
remove_definitions("-D_XOPEN_SOURCE=700")
|
remove_definitions("-D_XOPEN_SOURCE=700")
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
@ -16,10 +16,10 @@ Index: llvm-toolchain-snapshot_13~++20210405105538+828ec9e9e5da/clang/tools/libc
|
|||||||
OUTPUT_NAME ${output_name}
|
OUTPUT_NAME ${output_name}
|
||||||
${SOURCES}
|
${SOURCES}
|
||||||
|
|
||||||
Index: llvm-toolchain-snapshot_13~++20210405105538+828ec9e9e5da/llvm/tools/llvm-shlib/CMakeLists.txt
|
Index: llvm-toolchain-snapshot_14~++20211114120952+5b4bfd8c2415/llvm/tools/llvm-shlib/CMakeLists.txt
|
||||||
===================================================================
|
===================================================================
|
||||||
--- llvm-toolchain-snapshot_13~++20210405105538+828ec9e9e5da.orig/llvm/tools/llvm-shlib/CMakeLists.txt
|
--- llvm-toolchain-snapshot_14~++20211114120952+5b4bfd8c2415.orig/llvm/tools/llvm-shlib/CMakeLists.txt
|
||||||
+++ llvm-toolchain-snapshot_13~++20210405105538+828ec9e9e5da/llvm/tools/llvm-shlib/CMakeLists.txt
|
+++ llvm-toolchain-snapshot_14~++20211114120952+5b4bfd8c2415/llvm/tools/llvm-shlib/CMakeLists.txt
|
||||||
@@ -32,6 +32,8 @@ if(LLVM_BUILD_LLVM_DYLIB)
|
@@ -32,6 +32,8 @@ if(LLVM_BUILD_LLVM_DYLIB)
|
||||||
endif()
|
endif()
|
||||||
add_llvm_library(LLVM SHARED DISABLE_LLVM_LINK_LLVM_DYLIB SONAME ${INSTALL_WITH_TOOLCHAIN} ${SOURCES})
|
add_llvm_library(LLVM SHARED DISABLE_LLVM_LINK_LLVM_DYLIB SONAME ${INSTALL_WITH_TOOLCHAIN} ${SOURCES})
|
||||||
|
8
debian/patches/19-clang_debian_version.patch
vendored
8
debian/patches/19-clang_debian_version.patch
vendored
@ -1,7 +1,7 @@
|
|||||||
Index: llvm-toolchain-snapshot_11~++20200708031542+64363a9d930/clang/lib/Basic/Version.cpp
|
Index: llvm-toolchain-snapshot_14~++20211114120952+5b4bfd8c2415/clang/lib/Basic/Version.cpp
|
||||||
===================================================================
|
===================================================================
|
||||||
--- llvm-toolchain-snapshot_11~++20200708031542+64363a9d930.orig/clang/lib/Basic/Version.cpp
|
--- llvm-toolchain-snapshot_14~++20211114120952+5b4bfd8c2415.orig/clang/lib/Basic/Version.cpp
|
||||||
+++ llvm-toolchain-snapshot_11~++20200708031542+64363a9d930/clang/lib/Basic/Version.cpp
|
+++ llvm-toolchain-snapshot_14~++20211114120952+5b4bfd8c2415/clang/lib/Basic/Version.cpp
|
||||||
@@ -14,6 +14,7 @@
|
@@ -14,6 +14,7 @@
|
||||||
#include "clang/Basic/LLVM.h"
|
#include "clang/Basic/LLVM.h"
|
||||||
#include "clang/Config/config.h"
|
#include "clang/Config/config.h"
|
||||||
@ -10,7 +10,7 @@ Index: llvm-toolchain-snapshot_11~++20200708031542+64363a9d930/clang/lib/Basic/V
|
|||||||
#include <cstdlib>
|
#include <cstdlib>
|
||||||
#include <cstring>
|
#include <cstring>
|
||||||
|
|
||||||
@@ -97,7 +98,7 @@ std::string getClangToolFullVersion(Stri
|
@@ -95,7 +96,7 @@ std::string getClangToolFullVersion(Stri
|
||||||
#ifdef CLANG_VENDOR
|
#ifdef CLANG_VENDOR
|
||||||
OS << CLANG_VENDOR;
|
OS << CLANG_VENDOR;
|
||||||
#endif
|
#endif
|
||||||
|
@ -7,11 +7,11 @@
|
|||||||
clang/test/Sema/warn-strlcpycat-size.c | 55 --------------
|
clang/test/Sema/warn-strlcpycat-size.c | 55 --------------
|
||||||
6 files changed, 25 insertions(+), 78 deletions(-)
|
6 files changed, 25 insertions(+), 78 deletions(-)
|
||||||
|
|
||||||
Index: llvm-toolchain-snapshot_12~++20201029014435+d6d6fdb068a/clang/include/clang/Basic/Builtins.def
|
Index: llvm-toolchain-snapshot_14~++20211114120952+5b4bfd8c2415/clang/include/clang/Basic/Builtins.def
|
||||||
===================================================================
|
===================================================================
|
||||||
--- llvm-toolchain-snapshot_12~++20201029014435+d6d6fdb068a.orig/clang/include/clang/Basic/Builtins.def
|
--- llvm-toolchain-snapshot_14~++20211114120952+5b4bfd8c2415.orig/clang/include/clang/Basic/Builtins.def
|
||||||
+++ llvm-toolchain-snapshot_12~++20201029014435+d6d6fdb068a/clang/include/clang/Basic/Builtins.def
|
+++ llvm-toolchain-snapshot_14~++20211114120952+5b4bfd8c2415/clang/include/clang/Basic/Builtins.def
|
||||||
@@ -557,8 +557,8 @@ BUILTIN(__builtin___memset_chk, "v*v*izz
|
@@ -615,8 +615,8 @@ BUILTIN(__builtin___memset_chk, "v*v*izz
|
||||||
BUILTIN(__builtin___stpcpy_chk, "c*c*cC*z", "nF")
|
BUILTIN(__builtin___stpcpy_chk, "c*c*cC*z", "nF")
|
||||||
BUILTIN(__builtin___strcat_chk, "c*c*cC*z", "nF")
|
BUILTIN(__builtin___strcat_chk, "c*c*cC*z", "nF")
|
||||||
BUILTIN(__builtin___strcpy_chk, "c*c*cC*z", "nF")
|
BUILTIN(__builtin___strcpy_chk, "c*c*cC*z", "nF")
|
||||||
@ -22,7 +22,7 @@ Index: llvm-toolchain-snapshot_12~++20201029014435+d6d6fdb068a/clang/include/cla
|
|||||||
BUILTIN(__builtin___strncat_chk, "c*c*cC*zz", "nF")
|
BUILTIN(__builtin___strncat_chk, "c*c*cC*zz", "nF")
|
||||||
BUILTIN(__builtin___strncpy_chk, "c*c*cC*zz", "nF")
|
BUILTIN(__builtin___strncpy_chk, "c*c*cC*zz", "nF")
|
||||||
BUILTIN(__builtin___stpncpy_chk, "c*c*cC*zz", "nF")
|
BUILTIN(__builtin___stpncpy_chk, "c*c*cC*zz", "nF")
|
||||||
@@ -1039,8 +1039,8 @@ LIBBUILTIN(getcontext, "iK*", "fjT",
|
@@ -1108,8 +1108,8 @@ LIBBUILTIN(getcontext, "iK*", "fjT",
|
||||||
LIBBUILTIN(_longjmp, "vJi", "frT", "setjmp.h", ALL_GNU_LANGUAGES)
|
LIBBUILTIN(_longjmp, "vJi", "frT", "setjmp.h", ALL_GNU_LANGUAGES)
|
||||||
LIBBUILTIN(siglongjmp, "vSJi", "frT", "setjmp.h", ALL_GNU_LANGUAGES)
|
LIBBUILTIN(siglongjmp, "vSJi", "frT", "setjmp.h", ALL_GNU_LANGUAGES)
|
||||||
// non-standard but very common
|
// non-standard but very common
|
||||||
@ -33,11 +33,11 @@ Index: llvm-toolchain-snapshot_12~++20201029014435+d6d6fdb068a/clang/include/cla
|
|||||||
// id objc_msgSend(id, SEL, ...)
|
// id objc_msgSend(id, SEL, ...)
|
||||||
LIBBUILTIN(objc_msgSend, "GGH.", "f", "objc/message.h", OBJC_LANG)
|
LIBBUILTIN(objc_msgSend, "GGH.", "f", "objc/message.h", OBJC_LANG)
|
||||||
// long double objc_msgSend_fpret(id self, SEL op, ...)
|
// long double objc_msgSend_fpret(id self, SEL op, ...)
|
||||||
Index: llvm-toolchain-snapshot_12~++20201029014435+d6d6fdb068a/clang/lib/AST/Decl.cpp
|
Index: llvm-toolchain-snapshot_14~++20211114120952+5b4bfd8c2415/clang/lib/AST/Decl.cpp
|
||||||
===================================================================
|
===================================================================
|
||||||
--- llvm-toolchain-snapshot_12~++20201029014435+d6d6fdb068a.orig/clang/lib/AST/Decl.cpp
|
--- llvm-toolchain-snapshot_14~++20211114120952+5b4bfd8c2415.orig/clang/lib/AST/Decl.cpp
|
||||||
+++ llvm-toolchain-snapshot_12~++20201029014435+d6d6fdb068a/clang/lib/AST/Decl.cpp
|
+++ llvm-toolchain-snapshot_14~++20211114120952+5b4bfd8c2415/clang/lib/AST/Decl.cpp
|
||||||
@@ -3913,13 +3913,13 @@ unsigned FunctionDecl::getMemoryFunction
|
@@ -4055,13 +4055,13 @@ unsigned FunctionDecl::getMemoryFunction
|
||||||
case Builtin::BImemmove:
|
case Builtin::BImemmove:
|
||||||
return Builtin::BImemmove;
|
return Builtin::BImemmove;
|
||||||
|
|
||||||
@ -57,11 +57,11 @@ Index: llvm-toolchain-snapshot_12~++20201029014435+d6d6fdb068a/clang/lib/AST/Dec
|
|||||||
|
|
||||||
case Builtin::BI__builtin_memcmp:
|
case Builtin::BI__builtin_memcmp:
|
||||||
case Builtin::BImemcmp:
|
case Builtin::BImemcmp:
|
||||||
Index: llvm-toolchain-snapshot_12~++20201029014435+d6d6fdb068a/clang/lib/Sema/SemaChecking.cpp
|
Index: llvm-toolchain-snapshot_14~++20211114120952+5b4bfd8c2415/clang/lib/Sema/SemaChecking.cpp
|
||||||
===================================================================
|
===================================================================
|
||||||
--- llvm-toolchain-snapshot_12~++20201029014435+d6d6fdb068a.orig/clang/lib/Sema/SemaChecking.cpp
|
--- llvm-toolchain-snapshot_14~++20211114120952+5b4bfd8c2415.orig/clang/lib/Sema/SemaChecking.cpp
|
||||||
+++ llvm-toolchain-snapshot_12~++20201029014435+d6d6fdb068a/clang/lib/Sema/SemaChecking.cpp
|
+++ llvm-toolchain-snapshot_14~++20211114120952+5b4bfd8c2415/clang/lib/Sema/SemaChecking.cpp
|
||||||
@@ -654,8 +654,8 @@ void Sema::checkFortifiedBuiltinMemoryFu
|
@@ -832,8 +832,8 @@ void Sema::checkFortifiedBuiltinMemoryFu
|
||||||
case Builtin::BI__builtin___memcpy_chk:
|
case Builtin::BI__builtin___memcpy_chk:
|
||||||
case Builtin::BI__builtin___memmove_chk:
|
case Builtin::BI__builtin___memmove_chk:
|
||||||
case Builtin::BI__builtin___memset_chk:
|
case Builtin::BI__builtin___memset_chk:
|
||||||
@ -72,7 +72,7 @@ Index: llvm-toolchain-snapshot_12~++20201029014435+d6d6fdb068a/clang/lib/Sema/Se
|
|||||||
case Builtin::BI__builtin___strncat_chk:
|
case Builtin::BI__builtin___strncat_chk:
|
||||||
case Builtin::BI__builtin___strncpy_chk:
|
case Builtin::BI__builtin___strncpy_chk:
|
||||||
case Builtin::BI__builtin___stpncpy_chk:
|
case Builtin::BI__builtin___stpncpy_chk:
|
||||||
@@ -4501,10 +4501,10 @@ bool Sema::CheckFunctionCall(FunctionDec
|
@@ -5212,10 +5212,10 @@ bool Sema::CheckFunctionCall(FunctionDec
|
||||||
switch (CMId) {
|
switch (CMId) {
|
||||||
case 0:
|
case 0:
|
||||||
return false;
|
return false;
|
||||||
@ -85,11 +85,11 @@ Index: llvm-toolchain-snapshot_12~++20201029014435+d6d6fdb068a/clang/lib/Sema/Se
|
|||||||
case Builtin::BIstrncat:
|
case Builtin::BIstrncat:
|
||||||
CheckStrncatArguments(TheCall, FnInfo);
|
CheckStrncatArguments(TheCall, FnInfo);
|
||||||
break;
|
break;
|
||||||
Index: llvm-toolchain-snapshot_12~++20201029014435+d6d6fdb068a/clang/lib/StaticAnalyzer/Checkers/GenericTaintChecker.cpp
|
Index: llvm-toolchain-snapshot_14~++20211114120952+5b4bfd8c2415/clang/lib/StaticAnalyzer/Checkers/GenericTaintChecker.cpp
|
||||||
===================================================================
|
===================================================================
|
||||||
--- llvm-toolchain-snapshot_12~++20201029014435+d6d6fdb068a.orig/clang/lib/StaticAnalyzer/Checkers/GenericTaintChecker.cpp
|
--- llvm-toolchain-snapshot_14~++20211114120952+5b4bfd8c2415.orig/clang/lib/StaticAnalyzer/Checkers/GenericTaintChecker.cpp
|
||||||
+++ llvm-toolchain-snapshot_12~++20201029014435+d6d6fdb068a/clang/lib/StaticAnalyzer/Checkers/GenericTaintChecker.cpp
|
+++ llvm-toolchain-snapshot_14~++20211114120952+5b4bfd8c2415/clang/lib/StaticAnalyzer/Checkers/GenericTaintChecker.cpp
|
||||||
@@ -478,9 +478,9 @@ GenericTaintChecker::TaintPropagationRul
|
@@ -490,9 +490,9 @@ GenericTaintChecker::TaintPropagationRul
|
||||||
case Builtin::BIstrncpy:
|
case Builtin::BIstrncpy:
|
||||||
case Builtin::BIstrncat:
|
case Builtin::BIstrncat:
|
||||||
return {{1, 2}, {0, ReturnValueIndex}};
|
return {{1, 2}, {0, ReturnValueIndex}};
|
||||||
@ -101,10 +101,10 @@ Index: llvm-toolchain-snapshot_12~++20201029014435+d6d6fdb068a/clang/lib/StaticA
|
|||||||
case Builtin::BIstrndup:
|
case Builtin::BIstrndup:
|
||||||
return {{0, 1}, {ReturnValueIndex}};
|
return {{0, 1}, {ReturnValueIndex}};
|
||||||
|
|
||||||
Index: llvm-toolchain-snapshot_12~++20201029014435+d6d6fdb068a/clang/test/Sema/builtins.c
|
Index: llvm-toolchain-snapshot_14~++20211114120952+5b4bfd8c2415/clang/test/Sema/builtins.c
|
||||||
===================================================================
|
===================================================================
|
||||||
--- llvm-toolchain-snapshot_12~++20201029014435+d6d6fdb068a.orig/clang/test/Sema/builtins.c
|
--- llvm-toolchain-snapshot_14~++20211114120952+5b4bfd8c2415.orig/clang/test/Sema/builtins.c
|
||||||
+++ llvm-toolchain-snapshot_12~++20201029014435+d6d6fdb068a/clang/test/Sema/builtins.c
|
+++ llvm-toolchain-snapshot_14~++20211114120952+5b4bfd8c2415/clang/test/Sema/builtins.c
|
||||||
@@ -199,11 +199,9 @@ void test18() {
|
@@ -199,11 +199,9 @@ void test18() {
|
||||||
|
|
||||||
ptr = __builtin___memccpy_chk(dst, src, '\037', sizeof(src), sizeof(dst));
|
ptr = __builtin___memccpy_chk(dst, src, '\037', sizeof(src), sizeof(dst));
|
||||||
@ -147,9 +147,9 @@ Index: llvm-toolchain-snapshot_12~++20201029014435+d6d6fdb068a/clang/test/Sema/b
|
|||||||
// rdar://11076881
|
// rdar://11076881
|
||||||
char * Test20(char *p, const char *in, unsigned n)
|
char * Test20(char *p, const char *in, unsigned n)
|
||||||
{
|
{
|
||||||
Index: llvm-toolchain-snapshot_12~++20201029014435+d6d6fdb068a/clang/test/Sema/warn-strlcpycat-size.c
|
Index: llvm-toolchain-snapshot_14~++20211114120952+5b4bfd8c2415/clang/test/Sema/warn-strlcpycat-size.c
|
||||||
===================================================================
|
===================================================================
|
||||||
--- llvm-toolchain-snapshot_12~++20201029014435+d6d6fdb068a.orig/clang/test/Sema/warn-strlcpycat-size.c
|
--- llvm-toolchain-snapshot_14~++20211114120952+5b4bfd8c2415.orig/clang/test/Sema/warn-strlcpycat-size.c
|
||||||
+++ /dev/null
|
+++ /dev/null
|
||||||
@@ -1,55 +0,0 @@
|
@@ -1,55 +0,0 @@
|
||||||
-// RUN: %clang_cc1 -Wstrlcpy-strlcat-size -verify -fsyntax-only %s
|
-// RUN: %clang_cc1 -Wstrlcpy-strlcat-size -verify -fsyntax-only %s
|
||||||
|
8
debian/patches/26-set-correct-float-abi.diff
vendored
8
debian/patches/26-set-correct-float-abi.diff
vendored
@ -18,11 +18,11 @@ Forwarded: <no|not-needed|url proving that it has been forwarded>
|
|||||||
Reviewed-By: <name and email of someone who approved the patch>
|
Reviewed-By: <name and email of someone who approved the patch>
|
||||||
Last-Update: <YYYY-MM-DD>
|
Last-Update: <YYYY-MM-DD>
|
||||||
|
|
||||||
Index: llvm-toolchain-12_12.0.1~+rc2/clang/lib/Driver/ToolChains/Arch/ARM.cpp
|
Index: llvm-toolchain-snapshot_14~++20211114120952+5b4bfd8c2415/clang/lib/Driver/ToolChains/Arch/ARM.cpp
|
||||||
===================================================================
|
===================================================================
|
||||||
--- llvm-toolchain-12_12.0.1~+rc2.orig/clang/lib/Driver/ToolChains/Arch/ARM.cpp
|
--- llvm-toolchain-snapshot_14~++20211114120952+5b4bfd8c2415.orig/clang/lib/Driver/ToolChains/Arch/ARM.cpp
|
||||||
+++ llvm-toolchain-12_12.0.1~+rc2/clang/lib/Driver/ToolChains/Arch/ARM.cpp
|
+++ llvm-toolchain-snapshot_14~++20211114120952+5b4bfd8c2415/clang/lib/Driver/ToolChains/Arch/ARM.cpp
|
||||||
@@ -220,7 +220,7 @@ arm::FloatABI arm::getDefaultFloatABI(co
|
@@ -361,7 +361,7 @@ arm::FloatABI arm::getDefaultFloatABI(co
|
||||||
case llvm::Triple::MuslEABI:
|
case llvm::Triple::MuslEABI:
|
||||||
case llvm::Triple::EABI:
|
case llvm::Triple::EABI:
|
||||||
// EABI is always AAPCS, and if it was not marked 'hard', it's softfp
|
// EABI is always AAPCS, and if it was not marked 'hard', it's softfp
|
||||||
|
8
debian/patches/930008-arm.diff
vendored
8
debian/patches/930008-arm.diff
vendored
@ -1,8 +1,8 @@
|
|||||||
Index: llvm-toolchain-snapshot_11~++20200326111000+4673699a470/llvm/lib/Support/Triple.cpp
|
Index: llvm-toolchain-snapshot_14~++20211114120952+5b4bfd8c2415/llvm/lib/Support/Triple.cpp
|
||||||
===================================================================
|
===================================================================
|
||||||
--- llvm-toolchain-snapshot_11~++20200326111000+4673699a470.orig/llvm/lib/Support/Triple.cpp
|
--- llvm-toolchain-snapshot_14~++20211114120952+5b4bfd8c2415.orig/llvm/lib/Support/Triple.cpp
|
||||||
+++ llvm-toolchain-snapshot_11~++20200326111000+4673699a470/llvm/lib/Support/Triple.cpp
|
+++ llvm-toolchain-snapshot_14~++20211114120952+5b4bfd8c2415/llvm/lib/Support/Triple.cpp
|
||||||
@@ -1658,7 +1658,7 @@ StringRef Triple::getARMCPUForArch(Strin
|
@@ -1830,7 +1830,7 @@ StringRef Triple::getARMCPUForArch(Strin
|
||||||
case llvm::Triple::EABIHF:
|
case llvm::Triple::EABIHF:
|
||||||
case llvm::Triple::GNUEABIHF:
|
case llvm::Triple::GNUEABIHF:
|
||||||
case llvm::Triple::MuslEABIHF:
|
case llvm::Triple::MuslEABIHF:
|
||||||
|
8
debian/patches/D98575.patch
vendored
8
debian/patches/D98575.patch
vendored
@ -1,6 +1,8 @@
|
|||||||
--- llvm-toolchain-snapshot-13~++20210129063721+010b176cdefb.orig/compiler-rt/cmake/base-config-ix.cmake
|
Index: llvm-toolchain-snapshot_14~++20211114120952+5b4bfd8c2415/compiler-rt/cmake/base-config-ix.cmake
|
||||||
+++ llvm-toolchain-snapshot-13~++20210129063721+010b176cdefb/compiler-rt/cmake/base-config-ix.cmake
|
===================================================================
|
||||||
@@ -189,8 +189,12 @@ macro(test_targets)
|
--- llvm-toolchain-snapshot_14~++20211114120952+5b4bfd8c2415.orig/compiler-rt/cmake/base-config-ix.cmake
|
||||||
|
+++ llvm-toolchain-snapshot_14~++20211114120952+5b4bfd8c2415/compiler-rt/cmake/base-config-ix.cmake
|
||||||
|
@@ -220,8 +220,12 @@ macro(test_targets)
|
||||||
elseif("${COMPILER_RT_DEFAULT_TARGET_ARCH}" MATCHES "s390x")
|
elseif("${COMPILER_RT_DEFAULT_TARGET_ARCH}" MATCHES "s390x")
|
||||||
test_target_arch(s390x "" "")
|
test_target_arch(s390x "" "")
|
||||||
elseif("${COMPILER_RT_DEFAULT_TARGET_ARCH}" MATCHES "sparc")
|
elseif("${COMPILER_RT_DEFAULT_TARGET_ARCH}" MATCHES "sparc")
|
||||||
|
10
debian/patches/clang-analyzer-force-version.diff
vendored
10
debian/patches/clang-analyzer-force-version.diff
vendored
@ -1,11 +1,11 @@
|
|||||||
# Force the version of clang in the analyzer
|
# Force the version of clang in the analyzer
|
||||||
# This was causing the static analyzer to fail silently if the clang & clang++ are
|
# This was causing the static analyzer to fail silently if the clang & clang++ are
|
||||||
# not installed
|
# not installed
|
||||||
Index: llvm-toolchain-snapshot_14~++20200326142000+4673699a470/clang/tools/scan-build/libexec/ccc-analyzer
|
Index: llvm-toolchain-snapshot_14~++20211114120952+5b4bfd8c2415/clang/tools/scan-build/libexec/ccc-analyzer
|
||||||
===================================================================
|
===================================================================
|
||||||
--- llvm-toolchain-snapshot_14~++20200326142000+4673699a470.orig/clang/tools/scan-build/libexec/ccc-analyzer
|
--- llvm-toolchain-snapshot_14~++20211114120952+5b4bfd8c2415.orig/clang/tools/scan-build/libexec/ccc-analyzer
|
||||||
+++ llvm-toolchain-snapshot_14~++20200326142000+4673699a470/clang/tools/scan-build/libexec/ccc-analyzer
|
+++ llvm-toolchain-snapshot_14~++20211114120952+5b4bfd8c2415/clang/tools/scan-build/libexec/ccc-analyzer
|
||||||
@@ -90,7 +90,7 @@ if ($FindBin::Script =~ /c\+\+-analyzer/
|
@@ -93,7 +93,7 @@ if ($FindBin::Script =~ /c\+\+-analyzer/
|
||||||
if (!defined $Compiler || (! -x $Compiler && ! SearchInPath($Compiler))) { $Compiler = $DefaultCXXCompiler; }
|
if (!defined $Compiler || (! -x $Compiler && ! SearchInPath($Compiler))) { $Compiler = $DefaultCXXCompiler; }
|
||||||
|
|
||||||
$Clang = $ENV{'CLANG_CXX'};
|
$Clang = $ENV{'CLANG_CXX'};
|
||||||
@ -14,7 +14,7 @@ Index: llvm-toolchain-snapshot_14~++20200326142000+4673699a470/clang/tools/scan-
|
|||||||
|
|
||||||
$IsCXX = 1
|
$IsCXX = 1
|
||||||
}
|
}
|
||||||
@@ -99,7 +99,7 @@ else {
|
@@ -102,7 +102,7 @@ else {
|
||||||
if (!defined $Compiler || (! -x $Compiler && ! SearchInPath($Compiler))) { $Compiler = $DefaultCCompiler; }
|
if (!defined $Compiler || (! -x $Compiler && ! SearchInPath($Compiler))) { $Compiler = $DefaultCCompiler; }
|
||||||
|
|
||||||
$Clang = $ENV{'CLANG'};
|
$Clang = $ENV{'CLANG'};
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
Index: llvm-toolchain-snapshot_12~++20210114102728+0975604cc013/llvm/include/llvm/Support/ARMTargetParser.def
|
Index: llvm-toolchain-snapshot_14~++20211114120952+5b4bfd8c2415/llvm/include/llvm/Support/ARMTargetParser.def
|
||||||
===================================================================
|
===================================================================
|
||||||
--- llvm-toolchain-snapshot_12~++20210114102728+0975604cc013.orig/llvm/include/llvm/Support/ARMTargetParser.def
|
--- llvm-toolchain-snapshot_14~++20211114120952+5b4bfd8c2415.orig/llvm/include/llvm/Support/ARMTargetParser.def
|
||||||
+++ llvm-toolchain-snapshot_12~++20210114102728+0975604cc013/llvm/include/llvm/Support/ARMTargetParser.def
|
+++ llvm-toolchain-snapshot_14~++20211114120952+5b4bfd8c2415/llvm/include/llvm/Support/ARMTargetParser.def
|
||||||
@@ -76,7 +76,7 @@ ARM_ARCH("armv6kz", ARMV6KZ, "6KZ", "v6k
|
@@ -76,7 +76,7 @@ ARM_ARCH("armv6kz", ARMV6KZ, "6KZ", "v6k
|
||||||
ARM_ARCH("armv6-m", ARMV6M, "6-M", "v6m", ARMBuildAttrs::CPUArch::v6_M,
|
ARM_ARCH("armv6-m", ARMV6M, "6-M", "v6m", ARMBuildAttrs::CPUArch::v6_M,
|
||||||
FK_NONE, ARM::AEK_NONE)
|
FK_NONE, ARM::AEK_NONE)
|
||||||
@ -11,11 +11,11 @@ Index: llvm-toolchain-snapshot_12~++20210114102728+0975604cc013/llvm/include/llv
|
|||||||
ARM_ARCH("armv7ve", ARMV7VE, "7VE", "v7ve", ARMBuildAttrs::CPUArch::v7,
|
ARM_ARCH("armv7ve", ARMV7VE, "7VE", "v7ve", ARMBuildAttrs::CPUArch::v7,
|
||||||
FK_NEON, (ARM::AEK_SEC | ARM::AEK_MP | ARM::AEK_VIRT |
|
FK_NEON, (ARM::AEK_SEC | ARM::AEK_MP | ARM::AEK_VIRT |
|
||||||
ARM::AEK_HWDIVARM | ARM::AEK_HWDIVTHUMB | ARM::AEK_DSP))
|
ARM::AEK_HWDIVARM | ARM::AEK_HWDIVTHUMB | ARM::AEK_DSP))
|
||||||
Index: llvm-toolchain-snapshot_12~++20210114102728+0975604cc013/llvm/lib/Target/ARM/ARM.td
|
Index: llvm-toolchain-snapshot_14~++20211114120952+5b4bfd8c2415/llvm/lib/Target/ARM/ARM.td
|
||||||
===================================================================
|
===================================================================
|
||||||
--- llvm-toolchain-snapshot_12~++20210114102728+0975604cc013.orig/llvm/lib/Target/ARM/ARM.td
|
--- llvm-toolchain-snapshot_14~++20211114120952+5b4bfd8c2415.orig/llvm/lib/Target/ARM/ARM.td
|
||||||
+++ llvm-toolchain-snapshot_12~++20210114102728+0975604cc013/llvm/lib/Target/ARM/ARM.td
|
+++ llvm-toolchain-snapshot_14~++20211114120952+5b4bfd8c2415/llvm/lib/Target/ARM/ARM.td
|
||||||
@@ -725,7 +725,8 @@ def ARMv6sm : Architecture<"armv6s-m",
|
@@ -743,7 +743,8 @@ def ARMv6sm : Architecture<"armv6s-m",
|
||||||
FeatureStrictAlign]>;
|
FeatureStrictAlign]>;
|
||||||
|
|
||||||
def ARMv7a : Architecture<"armv7-a", "ARMv7a", [HasV7Ops,
|
def ARMv7a : Architecture<"armv7-a", "ARMv7a", [HasV7Ops,
|
||||||
|
8
debian/patches/clang-baseline-fix-i386.patch
vendored
8
debian/patches/clang-baseline-fix-i386.patch
vendored
@ -1,8 +1,8 @@
|
|||||||
Index: llvm-toolchain-snapshot_12~++20200809124138+04a23f1fe08/clang/lib/Driver/ToolChains/Arch/X86.cpp
|
Index: llvm-toolchain-snapshot_14~++20211114120952+5b4bfd8c2415/clang/lib/Driver/ToolChains/Arch/X86.cpp
|
||||||
===================================================================
|
===================================================================
|
||||||
--- llvm-toolchain-snapshot_12~++20200809124138+04a23f1fe08.orig/clang/lib/Driver/ToolChains/Arch/X86.cpp
|
--- llvm-toolchain-snapshot_14~++20211114120952+5b4bfd8c2415.orig/clang/lib/Driver/ToolChains/Arch/X86.cpp
|
||||||
+++ llvm-toolchain-snapshot_12~++20200809124138+04a23f1fe08/clang/lib/Driver/ToolChains/Arch/X86.cpp
|
+++ llvm-toolchain-snapshot_14~++20211114120952+5b4bfd8c2415/clang/lib/Driver/ToolChains/Arch/X86.cpp
|
||||||
@@ -102,8 +102,8 @@ std::string x86::getX86TargetCPU(const A
|
@@ -109,8 +109,8 @@ std::string x86::getX86TargetCPU(const D
|
||||||
case llvm::Triple::FreeBSD:
|
case llvm::Triple::FreeBSD:
|
||||||
return "i686";
|
return "i686";
|
||||||
default:
|
default:
|
||||||
|
8
debian/patches/clang-tidy-run-bin.diff
vendored
8
debian/patches/clang-tidy-run-bin.diff
vendored
@ -1,8 +1,8 @@
|
|||||||
Index: llvm-toolchain-snapshot_14~++20200423143502+bbb7921da97/clang-tools-extra/clang-tidy/tool/run-clang-tidy.py
|
Index: llvm-toolchain-snapshot_14~++20211114120952+5b4bfd8c2415/clang-tools-extra/clang-tidy/tool/run-clang-tidy.py
|
||||||
===================================================================
|
===================================================================
|
||||||
--- llvm-toolchain-snapshot_14~++20200423143502+bbb7921da97.orig/clang-tools-extra/clang-tidy/tool/run-clang-tidy.py
|
--- llvm-toolchain-snapshot_14~++20211114120952+5b4bfd8c2415.orig/clang-tools-extra/clang-tidy/tool/run-clang-tidy.py
|
||||||
+++ llvm-toolchain-snapshot_14~++20200423143502+bbb7921da97/clang-tools-extra/clang-tidy/tool/run-clang-tidy.py
|
+++ llvm-toolchain-snapshot_14~++20211114120952+5b4bfd8c2415/clang-tools-extra/clang-tidy/tool/run-clang-tidy.py
|
||||||
@@ -186,10 +186,10 @@ def main():
|
@@ -194,10 +194,10 @@ def main():
|
||||||
action='store_true', help='allow alpha checkers from '
|
action='store_true', help='allow alpha checkers from '
|
||||||
'clang-analyzer.')
|
'clang-analyzer.')
|
||||||
parser.add_argument('-clang-tidy-binary', metavar='PATH',
|
parser.add_argument('-clang-tidy-binary', metavar='PATH',
|
||||||
|
8
debian/patches/clangd-atomic-cmake.patch
vendored
8
debian/patches/clangd-atomic-cmake.patch
vendored
@ -1,7 +1,7 @@
|
|||||||
Index: llvm-toolchain-snapshot_13~++20210714114159+03a4702c884a/clang-tools-extra/clangd/CMakeLists.txt
|
Index: llvm-toolchain-snapshot_14~++20211114120952+5b4bfd8c2415/clang-tools-extra/clangd/CMakeLists.txt
|
||||||
===================================================================
|
===================================================================
|
||||||
--- llvm-toolchain-snapshot_13~++20210714114159+03a4702c884a.orig/clang-tools-extra/clangd/CMakeLists.txt
|
--- llvm-toolchain-snapshot_14~++20211114120952+5b4bfd8c2415.orig/clang-tools-extra/clangd/CMakeLists.txt
|
||||||
+++ llvm-toolchain-snapshot_13~++20210714114159+03a4702c884a/clang-tools-extra/clangd/CMakeLists.txt
|
+++ llvm-toolchain-snapshot_14~++20211114120952+5b4bfd8c2415/clang-tools-extra/clangd/CMakeLists.txt
|
||||||
@@ -52,6 +52,11 @@ endif()
|
@@ -52,6 +52,11 @@ endif()
|
||||||
|
|
||||||
include_directories(BEFORE "${CMAKE_CURRENT_BINARY_DIR}/../clang-tidy")
|
include_directories(BEFORE "${CMAKE_CURRENT_BINARY_DIR}/../clang-tidy")
|
||||||
@ -14,7 +14,7 @@ Index: llvm-toolchain-snapshot_13~++20210714114159+03a4702c884a/clang-tools-extr
|
|||||||
add_clang_library(clangDaemon
|
add_clang_library(clangDaemon
|
||||||
AST.cpp
|
AST.cpp
|
||||||
ASTSignals.cpp
|
ASTSignals.cpp
|
||||||
@@ -163,6 +168,7 @@ clang_target_link_libraries(clangDaemon
|
@@ -164,6 +169,7 @@ clang_target_link_libraries(clangDaemon
|
||||||
target_link_libraries(clangDaemon
|
target_link_libraries(clangDaemon
|
||||||
PRIVATE
|
PRIVATE
|
||||||
${LLVM_PTHREAD_LIB}
|
${LLVM_PTHREAD_LIB}
|
||||||
|
@ -1,10 +1,10 @@
|
|||||||
add option to disable compiler-rt scudo standalone allocator as it is
|
add option to disable compiler-rt scudo standalone allocator as it is
|
||||||
not always supported by all arch profiles such as arm5vt of ARM32 arch
|
not always supported by all arch profiles such as arm5vt of ARM32 arch
|
||||||
Index: llvm-toolchain-13_13.0.0/compiler-rt/CMakeLists.txt
|
Index: llvm-toolchain-snapshot_14~++20211114120952+5b4bfd8c2415/compiler-rt/CMakeLists.txt
|
||||||
===================================================================
|
===================================================================
|
||||||
--- llvm-toolchain-13_13.0.0.orig/compiler-rt/CMakeLists.txt
|
--- llvm-toolchain-snapshot_14~++20211114120952+5b4bfd8c2415.orig/compiler-rt/CMakeLists.txt
|
||||||
+++ llvm-toolchain-13_13.0.0/compiler-rt/CMakeLists.txt
|
+++ llvm-toolchain-snapshot_14~++20211114120952+5b4bfd8c2415/compiler-rt/CMakeLists.txt
|
||||||
@@ -250,6 +250,12 @@ option(COMPILER_RT_USE_BUILTINS_LIBRARY
|
@@ -256,6 +256,12 @@ option(COMPILER_RT_USE_BUILTINS_LIBRARY
|
||||||
|
|
||||||
include(config-ix)
|
include(config-ix)
|
||||||
|
|
||||||
|
@ -1,10 +1,10 @@
|
|||||||
fix builtins armhf default arch detection by adding the same armhf triple
|
fix builtins armhf default arch detection by adding the same armhf triple
|
||||||
handling use for compiler-rt
|
handling use for compiler-rt
|
||||||
Index: llvm-toolchain-12_12.0.1/compiler-rt/lib/builtins/CMakeLists.txt
|
Index: llvm-toolchain-snapshot_14~++20211114120952+5b4bfd8c2415/compiler-rt/lib/builtins/CMakeLists.txt
|
||||||
===================================================================
|
===================================================================
|
||||||
--- llvm-toolchain-12_12.0.1.orig/compiler-rt/lib/builtins/CMakeLists.txt
|
--- llvm-toolchain-snapshot_14~++20211114120952+5b4bfd8c2415.orig/compiler-rt/lib/builtins/CMakeLists.txt
|
||||||
+++ llvm-toolchain-12_12.0.1/compiler-rt/lib/builtins/CMakeLists.txt
|
+++ llvm-toolchain-snapshot_14~++20211114120952+5b4bfd8c2415/compiler-rt/lib/builtins/CMakeLists.txt
|
||||||
@@ -16,6 +16,11 @@ if (CMAKE_SOURCE_DIR STREQUAL CMAKE_CURR
|
@@ -19,6 +19,11 @@ if (CMAKE_SOURCE_DIR STREQUAL CMAKE_CURR
|
||||||
|
|
||||||
load_llvm_config()
|
load_llvm_config()
|
||||||
construct_compiler_rt_default_triple()
|
construct_compiler_rt_default_triple()
|
||||||
|
@ -1,9 +1,9 @@
|
|||||||
suppress warnings for xray and testing when not enabled
|
suppress warnings for xray and testing when not enabled
|
||||||
Index: llvm-toolchain-12_12.0.1/compiler-rt/cmake/Modules/CompilerRTUtils.cmake
|
Index: llvm-toolchain-snapshot_14~++20211114120952+5b4bfd8c2415/compiler-rt/cmake/Modules/CompilerRTUtils.cmake
|
||||||
===================================================================
|
===================================================================
|
||||||
--- llvm-toolchain-12_12.0.1.orig/compiler-rt/cmake/Modules/CompilerRTUtils.cmake
|
--- llvm-toolchain-snapshot_14~++20211114120952+5b4bfd8c2415.orig/compiler-rt/cmake/Modules/CompilerRTUtils.cmake
|
||||||
+++ llvm-toolchain-12_12.0.1/compiler-rt/cmake/Modules/CompilerRTUtils.cmake
|
+++ llvm-toolchain-snapshot_14~++20211114120952+5b4bfd8c2415/compiler-rt/cmake/Modules/CompilerRTUtils.cmake
|
||||||
@@ -242,15 +242,15 @@ macro(load_llvm_config)
|
@@ -323,15 +323,15 @@ macro(load_llvm_config)
|
||||||
|
|
||||||
# Detect if we have the LLVMXRay and TestingSupport library installed and
|
# Detect if we have the LLVMXRay and TestingSupport library installed and
|
||||||
# available from llvm-config.
|
# available from llvm-config.
|
||||||
@ -22,7 +22,7 @@ Index: llvm-toolchain-12_12.0.1/compiler-rt/cmake/Modules/CompilerRTUtils.cmake
|
|||||||
string(REGEX REPLACE "[ \t]*[\r\n]+[ \t]*" ";" CONFIG_OUTPUT ${CONFIG_OUTPUT})
|
string(REGEX REPLACE "[ \t]*[\r\n]+[ \t]*" ";" CONFIG_OUTPUT ${CONFIG_OUTPUT})
|
||||||
list(GET CONFIG_OUTPUT 0 LDFLAGS)
|
list(GET CONFIG_OUTPUT 0 LDFLAGS)
|
||||||
list(GET CONFIG_OUTPUT 1 LIBLIST)
|
list(GET CONFIG_OUTPUT 1 LIBLIST)
|
||||||
@@ -267,7 +267,7 @@ macro(load_llvm_config)
|
@@ -348,7 +348,7 @@ macro(load_llvm_config)
|
||||||
RESULT_VARIABLE HAD_ERROR
|
RESULT_VARIABLE HAD_ERROR
|
||||||
OUTPUT_VARIABLE CONFIG_OUTPUT
|
OUTPUT_VARIABLE CONFIG_OUTPUT
|
||||||
ERROR_QUIET)
|
ERROR_QUIET)
|
||||||
|
8
debian/patches/debug-jit-path.diff
vendored
8
debian/patches/debug-jit-path.diff
vendored
@ -1,8 +1,8 @@
|
|||||||
Index: llvm-toolchain-snapshot_11~++20200326111000+4673699a470/llvm/lib/ExecutionEngine/PerfJITEvents/PerfJITEventListener.cpp
|
Index: llvm-toolchain-snapshot_14~++20211114120952+5b4bfd8c2415/llvm/lib/ExecutionEngine/PerfJITEvents/PerfJITEventListener.cpp
|
||||||
===================================================================
|
===================================================================
|
||||||
--- llvm-toolchain-snapshot_11~++20200326111000+4673699a470.orig/llvm/lib/ExecutionEngine/PerfJITEvents/PerfJITEventListener.cpp
|
--- llvm-toolchain-snapshot_14~++20211114120952+5b4bfd8c2415.orig/llvm/lib/ExecutionEngine/PerfJITEvents/PerfJITEventListener.cpp
|
||||||
+++ llvm-toolchain-snapshot_11~++20200326111000+4673699a470/llvm/lib/ExecutionEngine/PerfJITEvents/PerfJITEventListener.cpp
|
+++ llvm-toolchain-snapshot_14~++20211114120952+5b4bfd8c2415/llvm/lib/ExecutionEngine/PerfJITEvents/PerfJITEventListener.cpp
|
||||||
@@ -301,8 +301,8 @@ bool PerfJITEventListener::InitDebugging
|
@@ -304,8 +304,8 @@ bool PerfJITEventListener::InitDebugging
|
||||||
// search for location to dump data to
|
// search for location to dump data to
|
||||||
if (const char *BaseDir = getenv("JITDUMPDIR"))
|
if (const char *BaseDir = getenv("JITDUMPDIR"))
|
||||||
Path.append(BaseDir);
|
Path.append(BaseDir);
|
||||||
|
8
debian/patches/declare_clear_cache.diff
vendored
8
debian/patches/declare_clear_cache.diff
vendored
@ -2,11 +2,11 @@
|
|||||||
lib/Support/Unix/Memory.inc | 2 +-
|
lib/Support/Unix/Memory.inc | 2 +-
|
||||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||||
|
|
||||||
Index: llvm-toolchain-snapshot_11~++20200326111000+4673699a470/llvm/lib/Support/Unix/Memory.inc
|
Index: llvm-toolchain-snapshot_14~++20211114120952+5b4bfd8c2415/llvm/lib/Support/Unix/Memory.inc
|
||||||
===================================================================
|
===================================================================
|
||||||
--- llvm-toolchain-snapshot_11~++20200326111000+4673699a470.orig/llvm/lib/Support/Unix/Memory.inc
|
--- llvm-toolchain-snapshot_14~++20211114120952+5b4bfd8c2415.orig/llvm/lib/Support/Unix/Memory.inc
|
||||||
+++ llvm-toolchain-snapshot_11~++20200326111000+4673699a470/llvm/lib/Support/Unix/Memory.inc
|
+++ llvm-toolchain-snapshot_14~++20211114120952+5b4bfd8c2415/llvm/lib/Support/Unix/Memory.inc
|
||||||
@@ -253,7 +253,7 @@ void Memory::InvalidateInstructionCache(
|
@@ -245,7 +245,7 @@ void Memory::InvalidateInstructionCache(
|
||||||
// FIXME: Can we safely always call this for __GNUC__ everywhere?
|
// FIXME: Can we safely always call this for __GNUC__ everywhere?
|
||||||
const char *Start = static_cast<const char *>(Addr);
|
const char *Start = static_cast<const char *>(Addr);
|
||||||
const char *End = Start + Len;
|
const char *End = Start + Len;
|
||||||
|
8
debian/patches/disable-sse2-old-x86.diff
vendored
8
debian/patches/disable-sse2-old-x86.diff
vendored
@ -1,8 +1,8 @@
|
|||||||
Index: llvm-toolchain-snapshot_14~++20210824065029+d2e103644be3/llvm/include/llvm/Support/X86TargetParser.def
|
Index: llvm-toolchain-snapshot_14~++20211114120952+5b4bfd8c2415/llvm/include/llvm/Support/X86TargetParser.def
|
||||||
===================================================================
|
===================================================================
|
||||||
--- llvm-toolchain-snapshot_14~++20210824065029+d2e103644be3.orig/llvm/include/llvm/Support/X86TargetParser.def
|
--- llvm-toolchain-snapshot_14~++20211114120952+5b4bfd8c2415.orig/llvm/include/llvm/Support/X86TargetParser.def
|
||||||
+++ llvm-toolchain-snapshot_14~++20210824065029+d2e103644be3/llvm/include/llvm/Support/X86TargetParser.def
|
+++ llvm-toolchain-snapshot_14~++20211114120952+5b4bfd8c2415/llvm/include/llvm/Support/X86TargetParser.def
|
||||||
@@ -224,7 +224,7 @@ CPU_SPECIFIC("pentium_mmx", 'D', "+mmx")
|
@@ -225,7 +225,7 @@ CPU_SPECIFIC("pentium_mmx", 'D', "+mmx")
|
||||||
CPU_SPECIFIC("pentium_ii", 'E', "+cmov,+mmx")
|
CPU_SPECIFIC("pentium_ii", 'E', "+cmov,+mmx")
|
||||||
CPU_SPECIFIC("pentium_iii", 'H', "+cmov,+mmx,+sse")
|
CPU_SPECIFIC("pentium_iii", 'H', "+cmov,+mmx,+sse")
|
||||||
CPU_SPECIFIC_ALIAS("pentium_iii_no_xmm_regs", "pentium_iii")
|
CPU_SPECIFIC_ALIAS("pentium_iii_no_xmm_regs", "pentium_iii")
|
||||||
|
@ -1,8 +1,8 @@
|
|||||||
Index: llvm-toolchain-snapshot_11~++20200617103614+2eaadfc4fe6/llvm/utils/lit/lit/Test.py
|
Index: llvm-toolchain-snapshot_14~++20211114120952+5b4bfd8c2415/llvm/utils/lit/lit/Test.py
|
||||||
===================================================================
|
===================================================================
|
||||||
--- llvm-toolchain-snapshot_11~++20200617103614+2eaadfc4fe6.orig/llvm/utils/lit/lit/Test.py
|
--- llvm-toolchain-snapshot_14~++20211114120952+5b4bfd8c2415.orig/llvm/utils/lit/lit/Test.py
|
||||||
+++ llvm-toolchain-snapshot_11~++20200617103614+2eaadfc4fe6/llvm/utils/lit/lit/Test.py
|
+++ llvm-toolchain-snapshot_14~++20211114120952+5b4bfd8c2415/llvm/utils/lit/lit/Test.py
|
||||||
@@ -51,7 +51,7 @@ XFAIL = ResultCode('XFAIL',
|
@@ -52,7 +52,7 @@ XFAIL = ResultCode('XFAIL',
|
||||||
UNRESOLVED = ResultCode('UNRESOLVED', 'Unresolved', True)
|
UNRESOLVED = ResultCode('UNRESOLVED', 'Unresolved', True)
|
||||||
TIMEOUT = ResultCode('TIMEOUT', 'Timed Out', True)
|
TIMEOUT = ResultCode('TIMEOUT', 'Timed Out', True)
|
||||||
FAIL = ResultCode('FAIL', 'Failed', True)
|
FAIL = ResultCode('FAIL', 'Failed', True)
|
||||||
|
20
debian/patches/hurd/hurd-pathmax.diff
vendored
20
debian/patches/hurd/hurd-pathmax.diff
vendored
@ -1,8 +1,8 @@
|
|||||||
Index: llvm-toolchain-snapshot_11~++20200624084348+31c40f2d6bc/clang/lib/Basic/FileManager.cpp
|
Index: llvm-toolchain-snapshot_14~++20211114120952+5b4bfd8c2415/clang/lib/Basic/FileManager.cpp
|
||||||
===================================================================
|
===================================================================
|
||||||
--- llvm-toolchain-snapshot_11~++20200624084348+31c40f2d6bc.orig/clang/lib/Basic/FileManager.cpp
|
--- llvm-toolchain-snapshot_14~++20211114120952+5b4bfd8c2415.orig/clang/lib/Basic/FileManager.cpp
|
||||||
+++ llvm-toolchain-snapshot_11~++20200624084348+31c40f2d6bc/clang/lib/Basic/FileManager.cpp
|
+++ llvm-toolchain-snapshot_14~++20211114120952+5b4bfd8c2415/clang/lib/Basic/FileManager.cpp
|
||||||
@@ -528,6 +528,12 @@ FileManager::getNoncachedStatValue(Strin
|
@@ -592,6 +592,12 @@ FileManager::getNoncachedStatValue(Strin
|
||||||
return std::error_code();
|
return std::error_code();
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -15,10 +15,10 @@ Index: llvm-toolchain-snapshot_11~++20200624084348+31c40f2d6bc/clang/lib/Basic/F
|
|||||||
void FileManager::GetUniqueIDMapping(
|
void FileManager::GetUniqueIDMapping(
|
||||||
SmallVectorImpl<const FileEntry *> &UIDToFiles) const {
|
SmallVectorImpl<const FileEntry *> &UIDToFiles) const {
|
||||||
UIDToFiles.clear();
|
UIDToFiles.clear();
|
||||||
Index: llvm-toolchain-snapshot_11~++20200624084348+31c40f2d6bc/lldb/include/lldb/lldb-defines.h
|
Index: llvm-toolchain-snapshot_14~++20211114120952+5b4bfd8c2415/lldb/include/lldb/lldb-defines.h
|
||||||
===================================================================
|
===================================================================
|
||||||
--- llvm-toolchain-snapshot_11~++20200624084348+31c40f2d6bc.orig/lldb/include/lldb/lldb-defines.h
|
--- llvm-toolchain-snapshot_14~++20211114120952+5b4bfd8c2415.orig/lldb/include/lldb/lldb-defines.h
|
||||||
+++ llvm-toolchain-snapshot_11~++20200624084348+31c40f2d6bc/lldb/include/lldb/lldb-defines.h
|
+++ llvm-toolchain-snapshot_14~++20211114120952+5b4bfd8c2415/lldb/include/lldb/lldb-defines.h
|
||||||
@@ -27,6 +27,11 @@
|
@@ -27,6 +27,11 @@
|
||||||
#define INT32_MAX 2147483647
|
#define INT32_MAX 2147483647
|
||||||
#endif
|
#endif
|
||||||
@ -31,10 +31,10 @@ Index: llvm-toolchain-snapshot_11~++20200624084348+31c40f2d6bc/lldb/include/lldb
|
|||||||
#if !defined(UINT32_MAX)
|
#if !defined(UINT32_MAX)
|
||||||
#define UINT32_MAX 4294967295U
|
#define UINT32_MAX 4294967295U
|
||||||
#endif
|
#endif
|
||||||
Index: llvm-toolchain-snapshot_11~++20200624084348+31c40f2d6bc/polly/lib/External/ppcg/cuda_common.c
|
Index: llvm-toolchain-snapshot_14~++20211114120952+5b4bfd8c2415/polly/lib/External/ppcg/cuda_common.c
|
||||||
===================================================================
|
===================================================================
|
||||||
--- llvm-toolchain-snapshot_11~++20200624084348+31c40f2d6bc.orig/polly/lib/External/ppcg/cuda_common.c
|
--- llvm-toolchain-snapshot_14~++20211114120952+5b4bfd8c2415.orig/polly/lib/External/ppcg/cuda_common.c
|
||||||
+++ llvm-toolchain-snapshot_11~++20200624084348+31c40f2d6bc/polly/lib/External/ppcg/cuda_common.c
|
+++ llvm-toolchain-snapshot_14~++20211114120952+5b4bfd8c2415/polly/lib/External/ppcg/cuda_common.c
|
||||||
@@ -15,6 +15,11 @@
|
@@ -15,6 +15,11 @@
|
||||||
#include "cuda_common.h"
|
#include "cuda_common.h"
|
||||||
#include "ppcg.h"
|
#include "ppcg.h"
|
||||||
|
@ -1,10 +1,10 @@
|
|||||||
set rpath for prepare_builtins build utility to find correct stage2
|
set rpath for prepare_builtins build utility to find correct stage2
|
||||||
libs at runtime when executed as part of a build
|
libs at runtime when executed as part of a build
|
||||||
Index: llvm-toolchain-12_12.0.1/libclc/CMakeLists.txt
|
Index: llvm-toolchain-snapshot_14~++20211114120952+5b4bfd8c2415/libclc/CMakeLists.txt
|
||||||
===================================================================
|
===================================================================
|
||||||
--- llvm-toolchain-12_12.0.1.orig/libclc/CMakeLists.txt
|
--- llvm-toolchain-snapshot_14~++20211114120952+5b4bfd8c2415.orig/libclc/CMakeLists.txt
|
||||||
+++ llvm-toolchain-12_12.0.1/libclc/CMakeLists.txt
|
+++ llvm-toolchain-snapshot_14~++20211114120952+5b4bfd8c2415/libclc/CMakeLists.txt
|
||||||
@@ -139,6 +139,9 @@ target_compile_options( prepare_builtins
|
@@ -149,6 +149,9 @@ target_compile_options( prepare_builtins
|
||||||
target_compile_definitions( prepare_builtins PRIVATE ${LLVM_VERSION_DEFINE} )
|
target_compile_definitions( prepare_builtins PRIVATE ${LLVM_VERSION_DEFINE} )
|
||||||
target_link_libraries( prepare_builtins PRIVATE ${LLVM_LIBS} )
|
target_link_libraries( prepare_builtins PRIVATE ${LLVM_LIBS} )
|
||||||
target_link_libraries( prepare_builtins PRIVATE ${LLVM_SYSTEM_LIBS} )
|
target_link_libraries( prepare_builtins PRIVATE ${LLVM_SYSTEM_LIBS} )
|
||||||
|
8
debian/patches/libcxx-armhf-ftbfs.diff
vendored
8
debian/patches/libcxx-armhf-ftbfs.diff
vendored
@ -1,8 +1,8 @@
|
|||||||
Index: llvm-toolchain-snapshot_14~++20210731093534+61da95e8a16a/libcxx/include/atomic
|
Index: llvm-toolchain-snapshot_14~++20211114120952+5b4bfd8c2415/libcxx/include/atomic
|
||||||
===================================================================
|
===================================================================
|
||||||
--- llvm-toolchain-snapshot_14~++20210731093534+61da95e8a16a.orig/libcxx/include/atomic
|
--- llvm-toolchain-snapshot_14~++20211114120952+5b4bfd8c2415.orig/libcxx/include/atomic
|
||||||
+++ llvm-toolchain-snapshot_14~++20210731093534+61da95e8a16a/libcxx/include/atomic
|
+++ llvm-toolchain-snapshot_14~++20211114120952+5b4bfd8c2415/libcxx/include/atomic
|
||||||
@@ -2822,10 +2822,15 @@ typedef conditional<_LIBCPP_CONTENTION_L
|
@@ -2675,10 +2675,15 @@ typedef conditional<_LIBCPP_CONTENTION_L
|
||||||
typedef conditional<_LIBCPP_CONTENTION_LOCK_FREE, __cxx_contention_t, unsigned char>::type __libcpp_unsigned_lock_free;
|
typedef conditional<_LIBCPP_CONTENTION_LOCK_FREE, __cxx_contention_t, unsigned char>::type __libcpp_unsigned_lock_free;
|
||||||
#else
|
#else
|
||||||
// No signed/unsigned lock-free types
|
// No signed/unsigned lock-free types
|
||||||
|
@ -1,9 +1,9 @@
|
|||||||
if libatomic is found only link it if libgcc is the rtlib
|
if libatomic is found only link it if libgcc is the rtlib
|
||||||
Index: llvm-toolchain-12_12.0.1/libcxx/CMakeLists.txt
|
Index: llvm-toolchain-snapshot_14~++20211114120952+5b4bfd8c2415/libcxx/CMakeLists.txt
|
||||||
===================================================================
|
===================================================================
|
||||||
--- llvm-toolchain-12_12.0.1.orig/libcxx/CMakeLists.txt
|
--- llvm-toolchain-snapshot_14~++20211114120952+5b4bfd8c2415.orig/libcxx/CMakeLists.txt
|
||||||
+++ llvm-toolchain-12_12.0.1/libcxx/CMakeLists.txt
|
+++ llvm-toolchain-snapshot_14~++20211114120952+5b4bfd8c2415/libcxx/CMakeLists.txt
|
||||||
@@ -756,12 +756,14 @@ function(cxx_link_system_libraries targe
|
@@ -800,12 +800,14 @@ function(cxx_link_system_libraries targe
|
||||||
endif()
|
endif()
|
||||||
elseif (LIBCXX_HAS_GCC_LIB)
|
elseif (LIBCXX_HAS_GCC_LIB)
|
||||||
target_link_libraries(${target} PRIVATE gcc)
|
target_link_libraries(${target} PRIVATE gcc)
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
Index: llvm-toolchain-snapshot_13~++20210701114351+e4b9fecd392f/libcxx/test/std/numerics/rand/rand.util/rand.util.canonical/generate_canonical.pass.cpp
|
Index: llvm-toolchain-snapshot_14~++20211114120952+5b4bfd8c2415/libcxx/test/std/numerics/rand/rand.util/rand.util.canonical/generate_canonical.pass.cpp
|
||||||
===================================================================
|
===================================================================
|
||||||
--- llvm-toolchain-snapshot_13~++20210701114351+e4b9fecd392f.orig/libcxx/test/std/numerics/rand/rand.util/rand.util.canonical/generate_canonical.pass.cpp
|
--- llvm-toolchain-snapshot_14~++20211114120952+5b4bfd8c2415.orig/libcxx/test/std/numerics/rand/rand.util/rand.util.canonical/generate_canonical.pass.cpp
|
||||||
+++ llvm-toolchain-snapshot_13~++20210701114351+e4b9fecd392f/libcxx/test/std/numerics/rand/rand.util/rand.util.canonical/generate_canonical.pass.cpp
|
+++ llvm-toolchain-snapshot_14~++20211114120952+5b4bfd8c2415/libcxx/test/std/numerics/rand/rand.util/rand.util.canonical/generate_canonical.pass.cpp
|
||||||
@@ -11,6 +11,8 @@
|
@@ -11,6 +11,8 @@
|
||||||
// template<class RealType, size_t bits, class URNG>
|
// template<class RealType, size_t bits, class URNG>
|
||||||
// RealType generate_canonical(URNG& g);
|
// RealType generate_canonical(URNG& g);
|
||||||
@ -11,11 +11,11 @@ Index: llvm-toolchain-snapshot_13~++20210701114351+e4b9fecd392f/libcxx/test/std/
|
|||||||
#include <random>
|
#include <random>
|
||||||
#include <cassert>
|
#include <cassert>
|
||||||
|
|
||||||
Index: llvm-toolchain-snapshot_13~++20210701114351+e4b9fecd392f/libcxx/test/std/re/re.traits/isctype.pass.cpp
|
Index: llvm-toolchain-snapshot_14~++20211114120952+5b4bfd8c2415/libcxx/test/std/re/re.traits/isctype.pass.cpp
|
||||||
===================================================================
|
===================================================================
|
||||||
--- llvm-toolchain-snapshot_13~++20210701114351+e4b9fecd392f.orig/libcxx/test/std/re/re.traits/isctype.pass.cpp
|
--- llvm-toolchain-snapshot_14~++20211114120952+5b4bfd8c2415.orig/libcxx/test/std/re/re.traits/isctype.pass.cpp
|
||||||
+++ llvm-toolchain-snapshot_13~++20210701114351+e4b9fecd392f/libcxx/test/std/re/re.traits/isctype.pass.cpp
|
+++ llvm-toolchain-snapshot_14~++20211114120952+5b4bfd8c2415/libcxx/test/std/re/re.traits/isctype.pass.cpp
|
||||||
@@ -14,6 +14,7 @@
|
@@ -15,6 +15,7 @@
|
||||||
|
|
||||||
// bool isctype(charT c, char_class_type f) const;
|
// bool isctype(charT c, char_class_type f) const;
|
||||||
|
|
||||||
@ -23,10 +23,10 @@ Index: llvm-toolchain-snapshot_13~++20210701114351+e4b9fecd392f/libcxx/test/std/
|
|||||||
|
|
||||||
#include <regex>
|
#include <regex>
|
||||||
#include <cassert>
|
#include <cassert>
|
||||||
Index: llvm-toolchain-snapshot_13~++20210701114351+e4b9fecd392f/libcxxabi/test/catch_multi_level_pointer.pass.cpp
|
Index: llvm-toolchain-snapshot_14~++20211114120952+5b4bfd8c2415/libcxxabi/test/catch_multi_level_pointer.pass.cpp
|
||||||
===================================================================
|
===================================================================
|
||||||
--- llvm-toolchain-snapshot_13~++20210701114351+e4b9fecd392f.orig/libcxxabi/test/catch_multi_level_pointer.pass.cpp
|
--- llvm-toolchain-snapshot_14~++20211114120952+5b4bfd8c2415.orig/libcxxabi/test/catch_multi_level_pointer.pass.cpp
|
||||||
+++ llvm-toolchain-snapshot_13~++20210701114351+e4b9fecd392f/libcxxabi/test/catch_multi_level_pointer.pass.cpp
|
+++ llvm-toolchain-snapshot_14~++20211114120952+5b4bfd8c2415/libcxxabi/test/catch_multi_level_pointer.pass.cpp
|
||||||
@@ -11,6 +11,8 @@
|
@@ -11,6 +11,8 @@
|
||||||
// 1b00fc5d8133 made it in the dylib in macOS 10.11
|
// 1b00fc5d8133 made it in the dylib in macOS 10.11
|
||||||
// XFAIL: use_system_cxx_lib && target={{.+}}-apple-macosx10.{{9|10}}
|
// XFAIL: use_system_cxx_lib && target={{.+}}-apple-macosx10.{{9|10}}
|
||||||
@ -36,10 +36,10 @@ Index: llvm-toolchain-snapshot_13~++20210701114351+e4b9fecd392f/libcxxabi/test/c
|
|||||||
#include <cassert>
|
#include <cassert>
|
||||||
#include <cstdio>
|
#include <cstdio>
|
||||||
#include <cstdlib>
|
#include <cstdlib>
|
||||||
Index: llvm-toolchain-snapshot_13~++20210701114351+e4b9fecd392f/libcxx/test/std/utilities/allocator.adaptor/allocator.adaptor.members/construct.pass.cpp
|
Index: llvm-toolchain-snapshot_14~++20211114120952+5b4bfd8c2415/libcxx/test/std/utilities/allocator.adaptor/allocator.adaptor.members/construct.pass.cpp
|
||||||
===================================================================
|
===================================================================
|
||||||
--- llvm-toolchain-snapshot_13~++20210701114351+e4b9fecd392f.orig/libcxx/test/std/utilities/allocator.adaptor/allocator.adaptor.members/construct.pass.cpp
|
--- llvm-toolchain-snapshot_14~++20211114120952+5b4bfd8c2415.orig/libcxx/test/std/utilities/allocator.adaptor/allocator.adaptor.members/construct.pass.cpp
|
||||||
+++ llvm-toolchain-snapshot_13~++20210701114351+e4b9fecd392f/libcxx/test/std/utilities/allocator.adaptor/allocator.adaptor.members/construct.pass.cpp
|
+++ llvm-toolchain-snapshot_14~++20211114120952+5b4bfd8c2415/libcxx/test/std/utilities/allocator.adaptor/allocator.adaptor.members/construct.pass.cpp
|
||||||
@@ -15,6 +15,8 @@
|
@@ -15,6 +15,8 @@
|
||||||
|
|
||||||
// template <class T, class... Args> void construct(T* p, Args&&... args);
|
// template <class T, class... Args> void construct(T* p, Args&&... args);
|
||||||
|
@ -10,11 +10,11 @@ To set instruction support one can check __GCC_HAVE_SYNC_COMPARE_AND_SWAP_8 defi
|
|||||||
|
|
||||||
Bug: https://llvm.org/bugs/show_bug.cgi?id=19355
|
Bug: https://llvm.org/bugs/show_bug.cgi?id=19355
|
||||||
|
|
||||||
Index: llvm-toolchain-snapshot_11~++20200326111000+4673699a470/libcxx/test/std/atomics/atomics.lockfree/isalwayslockfree.pass.cpp
|
Index: llvm-toolchain-snapshot_14~++20211114120952+5b4bfd8c2415/libcxx/test/std/atomics/atomics.lockfree/isalwayslockfree.pass.cpp
|
||||||
===================================================================
|
===================================================================
|
||||||
--- llvm-toolchain-snapshot_11~++20200326111000+4673699a470.orig/libcxx/test/std/atomics/atomics.lockfree/isalwayslockfree.pass.cpp
|
--- llvm-toolchain-snapshot_14~++20211114120952+5b4bfd8c2415.orig/libcxx/test/std/atomics/atomics.lockfree/isalwayslockfree.pass.cpp
|
||||||
+++ llvm-toolchain-snapshot_11~++20200326111000+4673699a470/libcxx/test/std/atomics/atomics.lockfree/isalwayslockfree.pass.cpp
|
+++ llvm-toolchain-snapshot_14~++20211114120952+5b4bfd8c2415/libcxx/test/std/atomics/atomics.lockfree/isalwayslockfree.pass.cpp
|
||||||
@@ -21,6 +21,14 @@
|
@@ -24,6 +24,14 @@
|
||||||
# error Feature test macro missing.
|
# error Feature test macro missing.
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
@ -7,10 +7,10 @@ sure their ABI stays in sync.
|
|||||||
|
|
||||||
No known upstream bug about this.
|
No known upstream bug about this.
|
||||||
|
|
||||||
Index: llvm-toolchain-snapshot_11~++20200326111000+4673699a470/libcxxabi/src/cxa_exception.cpp
|
Index: llvm-toolchain-snapshot_14~++20211114120952+5b4bfd8c2415/libcxxabi/src/cxa_exception.cpp
|
||||||
===================================================================
|
===================================================================
|
||||||
--- llvm-toolchain-snapshot_11~++20200326111000+4673699a470.orig/libcxxabi/src/cxa_exception.cpp
|
--- llvm-toolchain-snapshot_14~++20211114120952+5b4bfd8c2415.orig/libcxxabi/src/cxa_exception.cpp
|
||||||
+++ llvm-toolchain-snapshot_11~++20200326111000+4673699a470/libcxxabi/src/cxa_exception.cpp
|
+++ llvm-toolchain-snapshot_14~++20211114120952+5b4bfd8c2415/libcxxabi/src/cxa_exception.cpp
|
||||||
@@ -275,15 +275,16 @@ __cxa_throw(void *thrown_object, std::ty
|
@@ -275,15 +275,16 @@ __cxa_throw(void *thrown_object, std::ty
|
||||||
|
|
||||||
#ifdef __USING_SJLJ_EXCEPTIONS__
|
#ifdef __USING_SJLJ_EXCEPTIONS__
|
||||||
@ -30,7 +30,7 @@ Index: llvm-toolchain-snapshot_11~++20200326111000+4673699a470/libcxxabi/src/cxa
|
|||||||
// 2.5.3 Exception Handlers
|
// 2.5.3 Exception Handlers
|
||||||
/*
|
/*
|
||||||
The adjusted pointer is computed by the personality routine during phase 1
|
The adjusted pointer is computed by the personality routine during phase 1
|
||||||
@@ -546,7 +547,11 @@ void __cxa_end_catch() {
|
@@ -551,7 +552,11 @@ void __cxa_end_catch() {
|
||||||
// to touch a foreign exception in any way, that is undefined
|
// to touch a foreign exception in any way, that is undefined
|
||||||
// behavior. They likely can't since the only way to catch
|
// behavior. They likely can't since the only way to catch
|
||||||
// a foreign exception is with catch (...)!
|
// a foreign exception is with catch (...)!
|
||||||
@ -42,7 +42,7 @@ Index: llvm-toolchain-snapshot_11~++20200326111000+4673699a470/libcxxabi/src/cxa
|
|||||||
globals->caughtExceptions = 0;
|
globals->caughtExceptions = 0;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -603,8 +608,10 @@ void __cxa_rethrow() {
|
@@ -608,8 +613,10 @@ void __cxa_rethrow() {
|
||||||
}
|
}
|
||||||
#ifdef __USING_SJLJ_EXCEPTIONS__
|
#ifdef __USING_SJLJ_EXCEPTIONS__
|
||||||
_Unwind_SjLj_RaiseException(&exception_header->unwindHeader);
|
_Unwind_SjLj_RaiseException(&exception_header->unwindHeader);
|
||||||
@ -54,7 +54,7 @@ Index: llvm-toolchain-snapshot_11~++20200326111000+4673699a470/libcxxabi/src/cxa
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
// If we get here, some kind of unwinding error has occurred.
|
// If we get here, some kind of unwinding error has occurred.
|
||||||
@@ -728,8 +735,10 @@ __cxa_rethrow_primary_exception(void* th
|
@@ -733,8 +740,10 @@ __cxa_rethrow_primary_exception(void* th
|
||||||
dep_exception_header->unwindHeader.exception_cleanup = dependent_exception_cleanup;
|
dep_exception_header->unwindHeader.exception_cleanup = dependent_exception_cleanup;
|
||||||
#ifdef __USING_SJLJ_EXCEPTIONS__
|
#ifdef __USING_SJLJ_EXCEPTIONS__
|
||||||
_Unwind_SjLj_RaiseException(&dep_exception_header->unwindHeader);
|
_Unwind_SjLj_RaiseException(&dep_exception_header->unwindHeader);
|
||||||
@ -66,10 +66,10 @@ Index: llvm-toolchain-snapshot_11~++20200326111000+4673699a470/libcxxabi/src/cxa
|
|||||||
#endif
|
#endif
|
||||||
// Some sort of unwinding error. Note that terminate is a handler.
|
// Some sort of unwinding error. Note that terminate is a handler.
|
||||||
__cxa_begin_catch(&dep_exception_header->unwindHeader);
|
__cxa_begin_catch(&dep_exception_header->unwindHeader);
|
||||||
Index: llvm-toolchain-snapshot_11~++20200326111000+4673699a470/libcxxabi/src/cxa_exception.h
|
Index: llvm-toolchain-snapshot_14~++20211114120952+5b4bfd8c2415/libcxxabi/src/cxa_exception.h
|
||||||
===================================================================
|
===================================================================
|
||||||
--- llvm-toolchain-snapshot_11~++20200326111000+4673699a470.orig/libcxxabi/src/cxa_exception.h
|
--- llvm-toolchain-snapshot_14~++20211114120952+5b4bfd8c2415.orig/libcxxabi/src/cxa_exception.h
|
||||||
+++ llvm-toolchain-snapshot_11~++20200326111000+4673699a470/libcxxabi/src/cxa_exception.h
|
+++ llvm-toolchain-snapshot_14~++20211114120952+5b4bfd8c2415/libcxxabi/src/cxa_exception.h
|
||||||
@@ -27,6 +27,45 @@ _LIBCXXABI_HIDDEN uint64_t __getExceptio
|
@@ -27,6 +27,45 @@ _LIBCXXABI_HIDDEN uint64_t __getExceptio
|
||||||
_LIBCXXABI_HIDDEN void __setExceptionClass ( _Unwind_Exception*, uint64_t);
|
_LIBCXXABI_HIDDEN void __setExceptionClass ( _Unwind_Exception*, uint64_t);
|
||||||
_LIBCXXABI_HIDDEN bool __isOurExceptionClass(const _Unwind_Exception*);
|
_LIBCXXABI_HIDDEN bool __isOurExceptionClass(const _Unwind_Exception*);
|
||||||
|
@ -2,11 +2,11 @@ Powerpc has extended double that doesn't match x86 coding. Power format would
|
|||||||
need special tests to verify correctness but for now it is enough to prevent
|
need special tests to verify correctness but for now it is enough to prevent
|
||||||
incorrect test from running.
|
incorrect test from running.
|
||||||
|
|
||||||
Index: llvm-toolchain-snapshot_11~++20200326111000+4673699a470/libcxxabi/test/test_demangle.pass.cpp
|
Index: llvm-toolchain-snapshot_14~++20211114120952+5b4bfd8c2415/libcxxabi/test/test_demangle.pass.cpp
|
||||||
===================================================================
|
===================================================================
|
||||||
--- llvm-toolchain-snapshot_11~++20200326111000+4673699a470.orig/libcxxabi/test/test_demangle.pass.cpp
|
--- llvm-toolchain-snapshot_14~++20211114120952+5b4bfd8c2415.orig/libcxxabi/test/test_demangle.pass.cpp
|
||||||
+++ llvm-toolchain-snapshot_11~++20200326111000+4673699a470/libcxxabi/test/test_demangle.pass.cpp
|
+++ llvm-toolchain-snapshot_14~++20211114120952+5b4bfd8c2415/libcxxabi/test/test_demangle.pass.cpp
|
||||||
@@ -29834,7 +29834,7 @@ const char* invalid_cases[] =
|
@@ -29902,7 +29902,7 @@ const char* invalid_cases[] =
|
||||||
"NSoERj5E=Y1[uM:ga",
|
"NSoERj5E=Y1[uM:ga",
|
||||||
"Aon_PmKVPDk7?fg4XP5smMUL6;<WsI_mgbf23cCgsHbT<l8EE\0uVRkNOoXDrgdA4[8IU>Vl<>IL8ayHpiVDDDXTY;^o9;i",
|
"Aon_PmKVPDk7?fg4XP5smMUL6;<WsI_mgbf23cCgsHbT<l8EE\0uVRkNOoXDrgdA4[8IU>Vl<>IL8ayHpiVDDDXTY;^o9;i",
|
||||||
"_ZNSt16allocator_traitsISaIN4llvm3sys2fs18directory_iteratorEEE9constructIS3_IS3_EEEDTcl12_S_constructfp_fp0_spcl7forwardIT0_Efp1_EEERS4_PT_DpOS7_",
|
"_ZNSt16allocator_traitsISaIN4llvm3sys2fs18directory_iteratorEEE9constructIS3_IS3_EEEDTcl12_S_constructfp_fp0_spcl7forwardIT0_Efp1_EEERS4_PT_DpOS7_",
|
||||||
|
@ -1,10 +1,10 @@
|
|||||||
if LIBCXXABI_USE_COMPILER_RT=ON, add builtins to libcxxabi library
|
if LIBCXXABI_USE_COMPILER_RT=ON, add builtins to libcxxabi library
|
||||||
flags, otherwise add libgcc following how libunwind does the same
|
flags, otherwise add libgcc following how libunwind does the same
|
||||||
Index: llvm-toolchain-12_12.0.1/libcxxabi/src/CMakeLists.txt
|
Index: llvm-toolchain-snapshot_14~++20211114120952+5b4bfd8c2415/libcxxabi/src/CMakeLists.txt
|
||||||
===================================================================
|
===================================================================
|
||||||
--- llvm-toolchain-12_12.0.1.orig/libcxxabi/src/CMakeLists.txt
|
--- llvm-toolchain-snapshot_14~++20211114120952+5b4bfd8c2415.orig/libcxxabi/src/CMakeLists.txt
|
||||||
+++ llvm-toolchain-12_12.0.1/libcxxabi/src/CMakeLists.txt
|
+++ llvm-toolchain-snapshot_14~++20211114120952+5b4bfd8c2415/libcxxabi/src/CMakeLists.txt
|
||||||
@@ -104,7 +104,9 @@ if (ANDROID AND ANDROID_PLATFORM_LEVEL L
|
@@ -111,7 +111,9 @@ if (ANDROID AND ANDROID_PLATFORM_LEVEL L
|
||||||
list(APPEND LIBCXXABI_LIBRARIES android_support)
|
list(APPEND LIBCXXABI_LIBRARIES android_support)
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
@ -14,3 +14,4 @@ Index: llvm-toolchain-12_12.0.1/libcxxabi/src/CMakeLists.txt
|
|||||||
+else()
|
+else()
|
||||||
add_library_flags_if(LIBCXXABI_HAS_GCC_LIB gcc)
|
add_library_flags_if(LIBCXXABI_HAS_GCC_LIB gcc)
|
||||||
endif ()
|
endif ()
|
||||||
|
|
||||||
|
10
debian/patches/lldb-soname.diff
vendored
10
debian/patches/lldb-soname.diff
vendored
@ -2,10 +2,10 @@
|
|||||||
lldb/source/API/CMakeLists.txt | 14 +++++++-------
|
lldb/source/API/CMakeLists.txt | 14 +++++++-------
|
||||||
1 file changed, 7 insertions(+), 7 deletions(-)
|
1 file changed, 7 insertions(+), 7 deletions(-)
|
||||||
|
|
||||||
Index: llvm-toolchain-snapshot_13~++20210610102058+aaaeb4b160fe/lldb/source/API/CMakeLists.txt
|
Index: llvm-toolchain-snapshot_14~++20211114120952+5b4bfd8c2415/lldb/source/API/CMakeLists.txt
|
||||||
===================================================================
|
===================================================================
|
||||||
--- llvm-toolchain-snapshot_13~++20210610102058+aaaeb4b160fe.orig/lldb/source/API/CMakeLists.txt
|
--- llvm-toolchain-snapshot_14~++20211114120952+5b4bfd8c2415.orig/lldb/source/API/CMakeLists.txt
|
||||||
+++ llvm-toolchain-snapshot_13~++20210610102058+aaaeb4b160fe/lldb/source/API/CMakeLists.txt
|
+++ llvm-toolchain-snapshot_14~++20211114120952+5b4bfd8c2415/lldb/source/API/CMakeLists.txt
|
||||||
@@ -19,7 +19,12 @@ if(LLDB_ENABLE_LUA)
|
@@ -19,7 +19,12 @@ if(LLDB_ENABLE_LUA)
|
||||||
set(lldb_lua_wrapper ${lua_bindings_dir}/LLDBWrapLua.cpp)
|
set(lldb_lua_wrapper ${lua_bindings_dir}/LLDBWrapLua.cpp)
|
||||||
endif()
|
endif()
|
||||||
@ -20,7 +20,7 @@ Index: llvm-toolchain-snapshot_13~++20210610102058+aaaeb4b160fe/lldb/source/API/
|
|||||||
SBAddress.cpp
|
SBAddress.cpp
|
||||||
SBAttachInfo.cpp
|
SBAttachInfo.cpp
|
||||||
SBBlock.cpp
|
SBBlock.cpp
|
||||||
@@ -163,7 +168,7 @@ endif()
|
@@ -162,7 +167,7 @@ endif()
|
||||||
|
|
||||||
set_target_properties(liblldb
|
set_target_properties(liblldb
|
||||||
PROPERTIES
|
PROPERTIES
|
||||||
@ -29,7 +29,7 @@ Index: llvm-toolchain-snapshot_13~++20210610102058+aaaeb4b160fe/lldb/source/API/
|
|||||||
)
|
)
|
||||||
|
|
||||||
if (NOT CMAKE_SYSTEM_NAME MATCHES "Windows")
|
if (NOT CMAKE_SYSTEM_NAME MATCHES "Windows")
|
||||||
@@ -182,12 +187,12 @@ if (NOT CMAKE_SYSTEM_NAME MATCHES "Windo
|
@@ -181,12 +186,12 @@ if (NOT CMAKE_SYSTEM_NAME MATCHES "Windo
|
||||||
set_target_properties(liblldb_exports PROPERTIES FOLDER "lldb misc")
|
set_target_properties(liblldb_exports PROPERTIES FOLDER "lldb misc")
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
|
@ -12,11 +12,11 @@ which could then break something else.
|
|||||||
|
|
||||||
This probably should have upstream bug but I couldn't find any existing report.
|
This probably should have upstream bug but I couldn't find any existing report.
|
||||||
|
|
||||||
Index: llvm-toolchain-snapshot_14~++20201021041841+fa5fa63fd14/lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunication.cpp
|
Index: llvm-toolchain-snapshot_14~++20211114120952+5b4bfd8c2415/lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunication.cpp
|
||||||
===================================================================
|
===================================================================
|
||||||
--- llvm-toolchain-snapshot_14~++20201021041841+fa5fa63fd14.orig/lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunication.cpp
|
--- llvm-toolchain-snapshot_14~++20211114120952+5b4bfd8c2415.orig/lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunication.cpp
|
||||||
+++ llvm-toolchain-snapshot_14~++20201021041841+fa5fa63fd14/lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunication.cpp
|
+++ llvm-toolchain-snapshot_14~++20211114120952+5b4bfd8c2415/lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunication.cpp
|
||||||
@@ -35,6 +35,7 @@
|
@@ -34,6 +34,7 @@
|
||||||
#include "lldb/Utility/StreamString.h"
|
#include "lldb/Utility/StreamString.h"
|
||||||
#include "llvm/ADT/SmallString.h"
|
#include "llvm/ADT/SmallString.h"
|
||||||
#include "llvm/Support/ScopedPrinter.h"
|
#include "llvm/Support/ScopedPrinter.h"
|
||||||
@ -24,7 +24,7 @@ Index: llvm-toolchain-snapshot_14~++20201021041841+fa5fa63fd14/lldb/source/Plugi
|
|||||||
|
|
||||||
#include "ProcessGDBRemoteLog.h"
|
#include "ProcessGDBRemoteLog.h"
|
||||||
|
|
||||||
@@ -43,7 +44,7 @@
|
@@ -42,7 +43,7 @@
|
||||||
#elif defined(_WIN32)
|
#elif defined(_WIN32)
|
||||||
#define DEBUGSERVER_BASENAME "lldb-server.exe"
|
#define DEBUGSERVER_BASENAME "lldb-server.exe"
|
||||||
#else
|
#else
|
||||||
|
@ -1,8 +1,8 @@
|
|||||||
Index: llvm-toolchain-snapshot_12~++20200812084744+2ad7e1a301f/lldb/bindings/python/python.swig
|
Index: llvm-toolchain-snapshot_14~++20211114120952+5b4bfd8c2415/lldb/bindings/python/python.swig
|
||||||
===================================================================
|
===================================================================
|
||||||
--- llvm-toolchain-snapshot_12~++20200812084744+2ad7e1a301f.orig/lldb/bindings/python/python.swig
|
--- llvm-toolchain-snapshot_14~++20211114120952+5b4bfd8c2415.orig/lldb/bindings/python/python.swig
|
||||||
+++ llvm-toolchain-snapshot_12~++20200812084744+2ad7e1a301f/lldb/bindings/python/python.swig
|
+++ llvm-toolchain-snapshot_14~++20211114120952+5b4bfd8c2415/lldb/bindings/python/python.swig
|
||||||
@@ -50,7 +50,7 @@ except ImportError:
|
@@ -54,7 +54,7 @@ except ImportError:
|
||||||
%enddef
|
%enddef
|
||||||
// These versions will not generate working python modules, so error out early.
|
// These versions will not generate working python modules, so error out early.
|
||||||
#if SWIG_VERSION >= 0x030009 && SWIG_VERSION < 0x030011
|
#if SWIG_VERSION >= 0x030009 && SWIG_VERSION < 0x030011
|
||||||
|
14
debian/patches/lldb/lldb-missing-install.diff
vendored
14
debian/patches/lldb/lldb-missing-install.diff
vendored
@ -1,7 +1,7 @@
|
|||||||
Index: llvm-toolchain-snapshot_12~++20201021041841+fa5fa63fd14/lldb/tools/argdumper/CMakeLists.txt
|
Index: llvm-toolchain-snapshot_14~++20211114120952+5b4bfd8c2415/lldb/tools/argdumper/CMakeLists.txt
|
||||||
===================================================================
|
===================================================================
|
||||||
--- llvm-toolchain-snapshot_12~++20201021041841+fa5fa63fd14.orig/lldb/tools/argdumper/CMakeLists.txt
|
--- llvm-toolchain-snapshot_14~++20211114120952+5b4bfd8c2415.orig/lldb/tools/argdumper/CMakeLists.txt
|
||||||
+++ llvm-toolchain-snapshot_12~++20201021041841+fa5fa63fd14/lldb/tools/argdumper/CMakeLists.txt
|
+++ llvm-toolchain-snapshot_14~++20211114120952+5b4bfd8c2415/lldb/tools/argdumper/CMakeLists.txt
|
||||||
@@ -6,3 +6,6 @@ add_lldb_tool(lldb-argdumper ADD_TO_FRAM
|
@@ -6,3 +6,6 @@ add_lldb_tool(lldb-argdumper ADD_TO_FRAM
|
||||||
)
|
)
|
||||||
|
|
||||||
@ -9,11 +9,11 @@ Index: llvm-toolchain-snapshot_12~++20201021041841+fa5fa63fd14/lldb/tools/argdum
|
|||||||
+
|
+
|
||||||
+install(TARGETS lldb-argdumper
|
+install(TARGETS lldb-argdumper
|
||||||
+ RUNTIME DESTINATION bin)
|
+ RUNTIME DESTINATION bin)
|
||||||
Index: llvm-toolchain-snapshot_12~++20201021041841+fa5fa63fd14/lldb/tools/lldb-server/CMakeLists.txt
|
Index: llvm-toolchain-snapshot_14~++20211114120952+5b4bfd8c2415/lldb/tools/lldb-server/CMakeLists.txt
|
||||||
===================================================================
|
===================================================================
|
||||||
--- llvm-toolchain-snapshot_12~++20201021041841+fa5fa63fd14.orig/lldb/tools/lldb-server/CMakeLists.txt
|
--- llvm-toolchain-snapshot_14~++20211114120952+5b4bfd8c2415.orig/lldb/tools/lldb-server/CMakeLists.txt
|
||||||
+++ llvm-toolchain-snapshot_12~++20201021041841+fa5fa63fd14/lldb/tools/lldb-server/CMakeLists.txt
|
+++ llvm-toolchain-snapshot_14~++20211114120952+5b4bfd8c2415/lldb/tools/lldb-server/CMakeLists.txt
|
||||||
@@ -68,3 +68,7 @@ add_dependencies(lldb-server
|
@@ -66,3 +66,7 @@ add_dependencies(lldb-server
|
||||||
)
|
)
|
||||||
target_include_directories(lldb-server PRIVATE "${LLDB_SOURCE_DIR}/source")
|
target_include_directories(lldb-server PRIVATE "${LLDB_SOURCE_DIR}/source")
|
||||||
target_link_libraries(lldb-server PRIVATE ${LLDB_SYSTEM_LIBS})
|
target_link_libraries(lldb-server PRIVATE ${LLDB_SYSTEM_LIBS})
|
||||||
|
@ -1,10 +1,10 @@
|
|||||||
remove regex anchor in lld linker detection to account for vendor, if
|
remove regex anchor in lld linker detection to account for vendor, if
|
||||||
specified, being prepended to lld version string
|
specified, being prepended to lld version string
|
||||||
Index: llvm-toolchain-12_12.0.1/llvm/cmake/modules/AddLLVM.cmake
|
Index: llvm-toolchain-snapshot_14~++20211114120952+5b4bfd8c2415/llvm/cmake/modules/AddLLVM.cmake
|
||||||
===================================================================
|
===================================================================
|
||||||
--- llvm-toolchain-12_12.0.1.orig/llvm/cmake/modules/AddLLVM.cmake
|
--- llvm-toolchain-snapshot_14~++20211114120952+5b4bfd8c2415.orig/llvm/cmake/modules/AddLLVM.cmake
|
||||||
+++ llvm-toolchain-12_12.0.1/llvm/cmake/modules/AddLLVM.cmake
|
+++ llvm-toolchain-snapshot_14~++20211114120952+5b4bfd8c2415/llvm/cmake/modules/AddLLVM.cmake
|
||||||
@@ -196,7 +196,7 @@ if (NOT DEFINED LLVM_LINKER_DETECTED)
|
@@ -210,7 +210,7 @@ if (NOT DEFINED LLVM_LINKER_DETECTED AND
|
||||||
set(LLVM_LINKER_DETECTED YES CACHE INTERNAL "")
|
set(LLVM_LINKER_DETECTED YES CACHE INTERNAL "")
|
||||||
set(LLVM_LINKER_IS_GOLD YES CACHE INTERNAL "")
|
set(LLVM_LINKER_IS_GOLD YES CACHE INTERNAL "")
|
||||||
message(STATUS "Linker detection: GNU Gold")
|
message(STATUS "Linker detection: GNU Gold")
|
||||||
|
@ -1,10 +1,10 @@
|
|||||||
add a check and only set up and build compiler-rt builtins if they have
|
add a check and only set up and build compiler-rt builtins if they have
|
||||||
not been disabled
|
not been disabled
|
||||||
Index: llvm-toolchain-12_12.0.1/llvm/runtimes/CMakeLists.txt
|
Index: llvm-toolchain-snapshot_14~++20211114120952+5b4bfd8c2415/llvm/runtimes/CMakeLists.txt
|
||||||
===================================================================
|
===================================================================
|
||||||
--- llvm-toolchain-12_12.0.1.orig/llvm/runtimes/CMakeLists.txt
|
--- llvm-toolchain-snapshot_14~++20211114120952+5b4bfd8c2415.orig/llvm/runtimes/CMakeLists.txt
|
||||||
+++ llvm-toolchain-12_12.0.1/llvm/runtimes/CMakeLists.txt
|
+++ llvm-toolchain-snapshot_14~++20211114120952+5b4bfd8c2415/llvm/runtimes/CMakeLists.txt
|
||||||
@@ -131,7 +131,12 @@ endfunction()
|
@@ -132,7 +132,12 @@ endfunction()
|
||||||
# is required because the other runtimes need the builtin libraries present
|
# is required because the other runtimes need the builtin libraries present
|
||||||
# before the just-built compiler can pass the configuration tests.
|
# before the just-built compiler can pass the configuration tests.
|
||||||
get_compiler_rt_path(compiler_rt_path)
|
get_compiler_rt_path(compiler_rt_path)
|
||||||
|
8
debian/patches/lower-python-dep.diff
vendored
8
debian/patches/lower-python-dep.diff
vendored
@ -1,8 +1,8 @@
|
|||||||
Index: llvm-toolchain-snapshot_14~++20210731093534+61da95e8a16a/llvm/cmake/modules/HandleLLVMOptions.cmake
|
Index: llvm-toolchain-snapshot_14~++20211114120952+5b4bfd8c2415/llvm/cmake/modules/HandleLLVMOptions.cmake
|
||||||
===================================================================
|
===================================================================
|
||||||
--- llvm-toolchain-snapshot_14~++20210731093534+61da95e8a16a.orig/llvm/cmake/modules/HandleLLVMOptions.cmake
|
--- llvm-toolchain-snapshot_14~++20211114120952+5b4bfd8c2415.orig/llvm/cmake/modules/HandleLLVMOptions.cmake
|
||||||
+++ llvm-toolchain-snapshot_14~++20210731093534+61da95e8a16a/llvm/cmake/modules/HandleLLVMOptions.cmake
|
+++ llvm-toolchain-snapshot_14~++20211114120952+5b4bfd8c2415/llvm/cmake/modules/HandleLLVMOptions.cmake
|
||||||
@@ -1224,8 +1224,8 @@ if(LLVM_USE_RELATIVE_PATHS_IN_FILES)
|
@@ -1213,8 +1213,8 @@ if(LLVM_USE_RELATIVE_PATHS_IN_FILES)
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
if(LLVM_INCLUDE_TESTS)
|
if(LLVM_INCLUDE_TESTS)
|
||||||
|
8
debian/patches/mips/mips-D101773-reloc.patch
vendored
8
debian/patches/mips/mips-D101773-reloc.patch
vendored
@ -24,11 +24,11 @@ Differential Revision: https://reviews.llvm.org/D101773
|
|||||||
2 files changed, 33 insertions(+)
|
2 files changed, 33 insertions(+)
|
||||||
create mode 100644 llvm/test/MC/Mips/mips_lo16.s
|
create mode 100644 llvm/test/MC/Mips/mips_lo16.s
|
||||||
|
|
||||||
Index: llvm-toolchain-12_12.0.1~+rc2/llvm/lib/MC/ELFObjectWriter.cpp
|
Index: llvm-toolchain-snapshot_14~++20211114120952+5b4bfd8c2415/llvm/lib/MC/ELFObjectWriter.cpp
|
||||||
===================================================================
|
===================================================================
|
||||||
--- llvm-toolchain-12_12.0.1~+rc2.orig/llvm/lib/MC/ELFObjectWriter.cpp
|
--- llvm-toolchain-snapshot_14~++20211114120952+5b4bfd8c2415.orig/llvm/lib/MC/ELFObjectWriter.cpp
|
||||||
+++ llvm-toolchain-12_12.0.1~+rc2/llvm/lib/MC/ELFObjectWriter.cpp
|
+++ llvm-toolchain-snapshot_14~++20211114120952+5b4bfd8c2415/llvm/lib/MC/ELFObjectWriter.cpp
|
||||||
@@ -1408,6 +1408,17 @@ bool ELFObjectWriter::shouldRelocateWith
|
@@ -1376,6 +1376,17 @@ bool ELFObjectWriter::shouldRelocateWith
|
||||||
if (TargetObjectWriter->getEMachine() == ELF::EM_MIPS &&
|
if (TargetObjectWriter->getEMachine() == ELF::EM_MIPS &&
|
||||||
!hasRelocationAddend())
|
!hasRelocationAddend())
|
||||||
return true;
|
return true;
|
||||||
|
8
debian/patches/mips/mips-fpxx-enable.diff
vendored
8
debian/patches/mips/mips-fpxx-enable.diff
vendored
@ -1,8 +1,8 @@
|
|||||||
Index: llvm-toolchain-snapshot_11~++20200326111000+4673699a470/clang/lib/Driver/ToolChains/Arch/Mips.cpp
|
Index: llvm-toolchain-snapshot_14~++20211114120952+5b4bfd8c2415/clang/lib/Driver/ToolChains/Arch/Mips.cpp
|
||||||
===================================================================
|
===================================================================
|
||||||
--- llvm-toolchain-snapshot_11~++20200326111000+4673699a470.orig/clang/lib/Driver/ToolChains/Arch/Mips.cpp
|
--- llvm-toolchain-snapshot_14~++20211114120952+5b4bfd8c2415.orig/clang/lib/Driver/ToolChains/Arch/Mips.cpp
|
||||||
+++ llvm-toolchain-snapshot_11~++20200326111000+4673699a470/clang/lib/Driver/ToolChains/Arch/Mips.cpp
|
+++ llvm-toolchain-snapshot_14~++20211114120952+5b4bfd8c2415/clang/lib/Driver/ToolChains/Arch/Mips.cpp
|
||||||
@@ -468,10 +468,10 @@ bool mips::isFP64ADefault(const llvm::Tr
|
@@ -467,10 +467,10 @@ bool mips::isFP64ADefault(const llvm::Tr
|
||||||
|
|
||||||
bool mips::isFPXXDefault(const llvm::Triple &Triple, StringRef CPUName,
|
bool mips::isFPXXDefault(const llvm::Triple &Triple, StringRef CPUName,
|
||||||
StringRef ABIName, mips::FloatABI FloatABI) {
|
StringRef ABIName, mips::FloatABI FloatABI) {
|
||||||
|
8
debian/patches/openmp-soname.diff
vendored
8
debian/patches/openmp-soname.diff
vendored
@ -1,8 +1,8 @@
|
|||||||
Index: llvm-toolchain-snapshot_11~++20200326111000+4673699a470/openmp/runtime/CMakeLists.txt
|
Index: llvm-toolchain-snapshot_14~++20211114120952+5b4bfd8c2415/openmp/runtime/CMakeLists.txt
|
||||||
===================================================================
|
===================================================================
|
||||||
--- llvm-toolchain-snapshot_11~++20200326111000+4673699a470.orig/openmp/runtime/CMakeLists.txt
|
--- llvm-toolchain-snapshot_14~++20211114120952+5b4bfd8c2415.orig/openmp/runtime/CMakeLists.txt
|
||||||
+++ llvm-toolchain-snapshot_11~++20200326111000+4673699a470/openmp/runtime/CMakeLists.txt
|
+++ llvm-toolchain-snapshot_14~++20211114120952+5b4bfd8c2415/openmp/runtime/CMakeLists.txt
|
||||||
@@ -341,7 +341,8 @@ else()
|
@@ -371,7 +371,8 @@ else()
|
||||||
set(LIBOMP_INSTALL_KIND ARCHIVE)
|
set(LIBOMP_INSTALL_KIND ARCHIVE)
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
|
@ -1,8 +1,8 @@
|
|||||||
Index: llvm-toolchain-snapshot_11~++20200326111000+4673699a470/openmp/runtime/src/kmp_affinity.h
|
Index: llvm-toolchain-snapshot_14~++20211114120952+5b4bfd8c2415/openmp/runtime/src/kmp_affinity.h
|
||||||
===================================================================
|
===================================================================
|
||||||
--- llvm-toolchain-snapshot_11~++20200326111000+4673699a470.orig/openmp/runtime/src/kmp_affinity.h
|
--- llvm-toolchain-snapshot_14~++20211114120952+5b4bfd8c2415.orig/openmp/runtime/src/kmp_affinity.h
|
||||||
+++ llvm-toolchain-snapshot_11~++20200326111000+4673699a470/openmp/runtime/src/kmp_affinity.h
|
+++ llvm-toolchain-snapshot_14~++20211114120952+5b4bfd8c2415/openmp/runtime/src/kmp_affinity.h
|
||||||
@@ -211,28 +211,29 @@ public:
|
@@ -231,28 +231,29 @@ public:
|
||||||
#elif __NR_sched_getaffinity != 223
|
#elif __NR_sched_getaffinity != 223
|
||||||
#error Wrong code for getaffinity system call.
|
#error Wrong code for getaffinity system call.
|
||||||
#endif /* __NR_sched_getaffinity */
|
#endif /* __NR_sched_getaffinity */
|
||||||
|
8
debian/patches/print-lldb-path.patch
vendored
8
debian/patches/print-lldb-path.patch
vendored
@ -1,11 +1,11 @@
|
|||||||
Author: Gianfranco Costamagna <locutusofborg@debian.org>
|
Author: Gianfranco Costamagna <locutusofborg@debian.org>
|
||||||
Last-Update: 2020-01-21
|
Last-Update: 2020-01-21
|
||||||
|
|
||||||
Index: llvm-toolchain-snapshot_14~++20210731093534+61da95e8a16a/lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp
|
Index: llvm-toolchain-snapshot_14~++20211114120952+5b4bfd8c2415/lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp
|
||||||
===================================================================
|
===================================================================
|
||||||
--- llvm-toolchain-snapshot_14~++20210731093534+61da95e8a16a.orig/lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp
|
--- llvm-toolchain-snapshot_14~++20211114120952+5b4bfd8c2415.orig/lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp
|
||||||
+++ llvm-toolchain-snapshot_14~++20210731093534+61da95e8a16a/lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp
|
+++ llvm-toolchain-snapshot_14~++20211114120952+5b4bfd8c2415/lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp
|
||||||
@@ -384,6 +384,8 @@ void ScriptInterpreterPython::ComputePyt
|
@@ -383,6 +383,8 @@ void ScriptInterpreterPython::ComputePyt
|
||||||
// x86_64, or bin on Windows).
|
// x86_64, or bin on Windows).
|
||||||
llvm::sys::path::remove_filename(path);
|
llvm::sys::path::remove_filename(path);
|
||||||
llvm::sys::path::append(path, LLDB_PYTHON_RELATIVE_LIBDIR);
|
llvm::sys::path::append(path, LLDB_PYTHON_RELATIVE_LIBDIR);
|
||||||
|
8
debian/patches/python-clangpath.diff
vendored
8
debian/patches/python-clangpath.diff
vendored
@ -2,11 +2,11 @@
|
|||||||
clang/bindings/python/clang/cindex.py | 2 +-
|
clang/bindings/python/clang/cindex.py | 2 +-
|
||||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||||
|
|
||||||
Index: llvm-toolchain-snapshot_14~++20200326142000+4673699a470/clang/bindings/python/clang/cindex.py
|
Index: llvm-toolchain-snapshot_14~++20211114120952+5b4bfd8c2415/clang/bindings/python/clang/cindex.py
|
||||||
===================================================================
|
===================================================================
|
||||||
--- llvm-toolchain-snapshot_14~++20200326142000+4673699a470.orig/clang/bindings/python/clang/cindex.py
|
--- llvm-toolchain-snapshot_14~++20211114120952+5b4bfd8c2415.orig/clang/bindings/python/clang/cindex.py
|
||||||
+++ llvm-toolchain-snapshot_14~++20200326142000+4673699a470/clang/bindings/python/clang/cindex.py
|
+++ llvm-toolchain-snapshot_14~++20211114120952+5b4bfd8c2415/clang/bindings/python/clang/cindex.py
|
||||||
@@ -4160,7 +4160,7 @@ class Config(object):
|
@@ -4162,7 +4162,7 @@ class Config(object):
|
||||||
elif name == 'Windows':
|
elif name == 'Windows':
|
||||||
file = 'libclang.dll'
|
file = 'libclang.dll'
|
||||||
else:
|
else:
|
||||||
|
10
debian/patches/remove-apple-clang-manpage.diff
vendored
10
debian/patches/remove-apple-clang-manpage.diff
vendored
@ -1,8 +1,8 @@
|
|||||||
Index: llvm-toolchain-snapshot_11~++20200326111000+4673699a470/clang/docs/CommandGuide/clang.rst
|
Index: llvm-toolchain-snapshot_14~++20211114120952+5b4bfd8c2415/clang/docs/CommandGuide/clang.rst
|
||||||
===================================================================
|
===================================================================
|
||||||
--- llvm-toolchain-snapshot_11~++20200326111000+4673699a470.orig/clang/docs/CommandGuide/clang.rst
|
--- llvm-toolchain-snapshot_14~++20211114120952+5b4bfd8c2415.orig/clang/docs/CommandGuide/clang.rst
|
||||||
+++ llvm-toolchain-snapshot_11~++20200326111000+4673699a470/clang/docs/CommandGuide/clang.rst
|
+++ llvm-toolchain-snapshot_14~++20211114120952+5b4bfd8c2415/clang/docs/CommandGuide/clang.rst
|
||||||
@@ -319,20 +319,10 @@ Clang fully supports cross compilation a
|
@@ -321,20 +321,10 @@ Clang fully supports cross compilation a
|
||||||
Depending on how your version of Clang is configured, it may have support for a
|
Depending on how your version of Clang is configured, it may have support for a
|
||||||
number of cross compilers, or may only support a native target.
|
number of cross compilers, or may only support a native target.
|
||||||
|
|
||||||
@ -24,7 +24,7 @@ Index: llvm-toolchain-snapshot_11~++20200326111000+4673699a470/clang/docs/Comman
|
|||||||
.. option:: --print-supported-cpus
|
.. option:: --print-supported-cpus
|
||||||
|
|
||||||
Print out a list of supported processors for the given target (specified
|
Print out a list of supported processors for the given target (specified
|
||||||
@@ -635,11 +625,6 @@ ENVIRONMENT
|
@@ -653,11 +643,6 @@ ENVIRONMENT
|
||||||
These environment variables specify additional paths, as for :envvar:`CPATH`, which are
|
These environment variables specify additional paths, as for :envvar:`CPATH`, which are
|
||||||
only used when processing the appropriate language.
|
only used when processing the appropriate language.
|
||||||
|
|
||||||
|
8
debian/patches/scan-build-clang-path.diff
vendored
8
debian/patches/scan-build-clang-path.diff
vendored
@ -2,11 +2,11 @@
|
|||||||
clang/tools/scan-build/bin/scan-build | 2 +-
|
clang/tools/scan-build/bin/scan-build | 2 +-
|
||||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||||
|
|
||||||
Index: llvm-toolchain-snapshot_14~++20200326142000+4673699a470/clang/tools/scan-build/bin/scan-build
|
Index: llvm-toolchain-snapshot_14~++20211114120952+5b4bfd8c2415/clang/tools/scan-build/bin/scan-build
|
||||||
===================================================================
|
===================================================================
|
||||||
--- llvm-toolchain-snapshot_14~++20200326142000+4673699a470.orig/clang/tools/scan-build/bin/scan-build
|
--- llvm-toolchain-snapshot_14~++20211114120952+5b4bfd8c2415.orig/clang/tools/scan-build/bin/scan-build
|
||||||
+++ llvm-toolchain-snapshot_14~++20200326142000+4673699a470/clang/tools/scan-build/bin/scan-build
|
+++ llvm-toolchain-snapshot_14~++20211114120952+5b4bfd8c2415/clang/tools/scan-build/bin/scan-build
|
||||||
@@ -1478,7 +1478,7 @@ sub FindClang {
|
@@ -1486,7 +1486,7 @@ sub FindClang {
|
||||||
if (!defined $Options{AnalyzerDiscoveryMethod}) {
|
if (!defined $Options{AnalyzerDiscoveryMethod}) {
|
||||||
$Clang = Cwd::realpath("$RealBin/bin/clang") if (-f "$RealBin/bin/clang");
|
$Clang = Cwd::realpath("$RealBin/bin/clang") if (-f "$RealBin/bin/clang");
|
||||||
if (!defined $Clang || ! -x $Clang) {
|
if (!defined $Clang || ! -x $Clang) {
|
||||||
|
16
debian/patches/symbolizer-path.diff
vendored
16
debian/patches/symbolizer-path.diff
vendored
@ -1,7 +1,7 @@
|
|||||||
Index: llvm-toolchain-12_12.0.1/compiler-rt/lib/sanitizer_common/sanitizer_symbolizer_posix_libcdep.cpp
|
Index: llvm-toolchain-snapshot_14~++20211114120952+5b4bfd8c2415/compiler-rt/lib/sanitizer_common/sanitizer_symbolizer_posix_libcdep.cpp
|
||||||
===================================================================
|
===================================================================
|
||||||
--- llvm-toolchain-12_12.0.1.orig/compiler-rt/lib/sanitizer_common/sanitizer_symbolizer_posix_libcdep.cpp
|
--- llvm-toolchain-snapshot_14~++20211114120952+5b4bfd8c2415.orig/compiler-rt/lib/sanitizer_common/sanitizer_symbolizer_posix_libcdep.cpp
|
||||||
+++ llvm-toolchain-12_12.0.1/compiler-rt/lib/sanitizer_common/sanitizer_symbolizer_posix_libcdep.cpp
|
+++ llvm-toolchain-snapshot_14~++20211114120952+5b4bfd8c2415/compiler-rt/lib/sanitizer_common/sanitizer_symbolizer_posix_libcdep.cpp
|
||||||
@@ -25,6 +25,10 @@
|
@@ -25,6 +25,10 @@
|
||||||
#include "sanitizer_symbolizer_internal.h"
|
#include "sanitizer_symbolizer_internal.h"
|
||||||
#include "sanitizer_symbolizer_libbacktrace.h"
|
#include "sanitizer_symbolizer_libbacktrace.h"
|
||||||
@ -13,7 +13,7 @@ Index: llvm-toolchain-12_12.0.1/compiler-rt/lib/sanitizer_common/sanitizer_symbo
|
|||||||
|
|
||||||
#include <dlfcn.h> // for dlsym()
|
#include <dlfcn.h> // for dlsym()
|
||||||
#include <errno.h>
|
#include <errno.h>
|
||||||
@@ -433,7 +437,7 @@ static SymbolizerTool *ChooseExternalSym
|
@@ -442,7 +446,7 @@ static SymbolizerTool *ChooseExternalSym
|
||||||
return new(*allocator) AtosSymbolizer(found_path, allocator);
|
return new(*allocator) AtosSymbolizer(found_path, allocator);
|
||||||
}
|
}
|
||||||
#endif // SANITIZER_MAC
|
#endif // SANITIZER_MAC
|
||||||
@ -22,11 +22,11 @@ Index: llvm-toolchain-12_12.0.1/compiler-rt/lib/sanitizer_common/sanitizer_symbo
|
|||||||
VReport(2, "Using llvm-symbolizer found at: %s\n", found_path);
|
VReport(2, "Using llvm-symbolizer found at: %s\n", found_path);
|
||||||
return new(*allocator) LLVMSymbolizer(found_path, allocator);
|
return new(*allocator) LLVMSymbolizer(found_path, allocator);
|
||||||
}
|
}
|
||||||
Index: llvm-toolchain-12_12.0.1/compiler-rt/lib/sanitizer_common/CMakeLists.txt
|
Index: llvm-toolchain-snapshot_14~++20211114120952+5b4bfd8c2415/compiler-rt/lib/sanitizer_common/CMakeLists.txt
|
||||||
===================================================================
|
===================================================================
|
||||||
--- llvm-toolchain-12_12.0.1.orig/compiler-rt/lib/sanitizer_common/CMakeLists.txt
|
--- llvm-toolchain-snapshot_14~++20211114120952+5b4bfd8c2415.orig/compiler-rt/lib/sanitizer_common/CMakeLists.txt
|
||||||
+++ llvm-toolchain-12_12.0.1/compiler-rt/lib/sanitizer_common/CMakeLists.txt
|
+++ llvm-toolchain-snapshot_14~++20211114120952+5b4bfd8c2415/compiler-rt/lib/sanitizer_common/CMakeLists.txt
|
||||||
@@ -195,6 +195,7 @@ set(SANITIZER_IMPL_HEADERS
|
@@ -196,6 +196,7 @@ set(SANITIZER_IMPL_HEADERS
|
||||||
)
|
)
|
||||||
|
|
||||||
include_directories(..)
|
include_directories(..)
|
||||||
|
8
debian/patches/x86-fuzzer.patch
vendored
8
debian/patches/x86-fuzzer.patch
vendored
@ -1,11 +1,11 @@
|
|||||||
Description: fuzzer: EMULATION_ARGUMENT is also required when building on i386 for x86_64
|
Description: fuzzer: EMULATION_ARGUMENT is also required when building on i386 for x86_64
|
||||||
Author: Adrian Bunk <bunk@debian.org>
|
Author: Adrian Bunk <bunk@debian.org>
|
||||||
|
|
||||||
Index: llvm-toolchain-snapshot_13~++20210516062812+d539357e1b8a/compiler-rt/lib/fuzzer/CMakeLists.txt
|
Index: llvm-toolchain-snapshot_14~++20211114120952+5b4bfd8c2415/compiler-rt/lib/fuzzer/CMakeLists.txt
|
||||||
===================================================================
|
===================================================================
|
||||||
--- llvm-toolchain-snapshot_13~++20210516062812+d539357e1b8a.orig/compiler-rt/lib/fuzzer/CMakeLists.txt
|
--- llvm-toolchain-snapshot_14~++20211114120952+5b4bfd8c2415.orig/compiler-rt/lib/fuzzer/CMakeLists.txt
|
||||||
+++ llvm-toolchain-snapshot_13~++20210516062812+d539357e1b8a/compiler-rt/lib/fuzzer/CMakeLists.txt
|
+++ llvm-toolchain-snapshot_14~++20211114120952+5b4bfd8c2415/compiler-rt/lib/fuzzer/CMakeLists.txt
|
||||||
@@ -138,6 +138,8 @@ if(OS_NAME MATCHES "Linux|Fuchsia" AND
|
@@ -140,6 +140,8 @@ if(OS_NAME MATCHES "Linux|Fuchsia" AND
|
||||||
macro(partially_link_libcxx name dir arch)
|
macro(partially_link_libcxx name dir arch)
|
||||||
if(${arch} MATCHES "i386")
|
if(${arch} MATCHES "i386")
|
||||||
set(EMULATION_ARGUMENT "-m" "elf_i386")
|
set(EMULATION_ARGUMENT "-m" "elf_i386")
|
||||||
|
Loading…
Reference in New Issue
Block a user