Skip to content

Commit

Permalink
clang: Upgrade to latest on main/13.0 branch
Browse files Browse the repository at this point in the history
Fix compiler-rt build on armv6 reported in
YoeDistro/yoe-distro#555

Signed-off-by: Khem Raj <[email protected]>
  • Loading branch information
kraj committed Jun 15, 2021
1 parent c379426 commit 23729bb
Show file tree
Hide file tree
Showing 37 changed files with 106 additions and 59 deletions.
2 changes: 1 addition & 1 deletion recipes-devtools/clang/clang.inc
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ MAJOR_VER = "13"
MINOR_VER = "0"
PATCH_VER = "0"

SRCREV ?= "054cc3b1b469de4b0cb25d1dc3af43c679c5dc44"
SRCREV ?= "1e50c3d785f4563873ab1ce86559f2a1285b5678"

PV = "${MAJOR_VER}.${MINOR_VER}.${PATCH_VER}"
BRANCH = "main"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
From e20b3c1ef199ea7b5f888c78a64fa21e69d0c269 Mon Sep 17 00:00:00 2001
From 3f5e7342d5f2490728e5971d9e709b3be736d633 Mon Sep 17 00:00:00 2001
From: Khem Raj <[email protected]>
Date: Mon, 22 May 2017 17:36:16 -0700
Subject: [PATCH] lldb: Add -lxml2 to linker cmdline of xml is found
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
From a39aaf48e8e0137cba75718b0fb77c68133a7713 Mon Sep 17 00:00:00 2001
From 9052bcd92350fe8ede577fe876e59951478e1949 Mon Sep 17 00:00:00 2001
From: Khem Raj <[email protected]>
Date: Sun, 27 Aug 2017 10:37:49 -0700
Subject: [PATCH] libcxxabi: Find libunwind headers when
Expand All @@ -17,10 +17,10 @@ Signed-off-by: Khem Raj <[email protected]>
1 file changed, 11 insertions(+), 10 deletions(-)

diff --git a/libcxxabi/CMakeLists.txt b/libcxxabi/CMakeLists.txt
index 1e8b73aa38cc..fb656e7db9fb 100644
index 9bd81075dd14..6a9ba8ec635d 100644
--- a/libcxxabi/CMakeLists.txt
+++ b/libcxxabi/CMakeLists.txt
@@ -512,14 +512,9 @@ set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} ${LIBCXXABI_C_FLAGS}")
@@ -511,14 +511,9 @@ set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} ${LIBCXXABI_C_FLAGS}")
# Setup Source Code
#===============================================================================

Expand All @@ -36,7 +36,7 @@ index 1e8b73aa38cc..fb656e7db9fb 100644
PATHS ${LIBCXXABI_LIBUNWIND_INCLUDES}
${LIBCXXABI_LIBUNWIND_PATH}/include
${CMAKE_BINARY_DIR}/${LIBCXXABI_LIBUNWIND_INCLUDES}
@@ -530,15 +525,21 @@ if (LIBCXXABI_USE_LLVM_UNWINDER OR LLVM_NATIVE_ARCH MATCHES ARM)
@@ -529,15 +524,21 @@ if (LIBCXXABI_USE_LLVM_UNWINDER OR LLVM_NATIVE_ARCH MATCHES ARM)
NO_CMAKE_FIND_ROOT_PATH
)

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
From d90aa65eb5ab3d12ba8e56fde9cdf5db57a50ccb Mon Sep 17 00:00:00 2001
From adf258f2809c719a3a52b1d832f0139d8e668a34 Mon Sep 17 00:00:00 2001
From: Khem Raj <[email protected]>
Date: Sun, 19 Apr 2015 15:16:23 -0700
Subject: [PATCH] compiler-rt: support a new embedded linux target
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
From bce1f130dc86109ba398b756712393b93d7b6fd7 Mon Sep 17 00:00:00 2001
From 08dabaabc28efd55ba1b77830fc8b92f1ad28894 Mon Sep 17 00:00:00 2001
From: Khem Raj <[email protected]>
Date: Thu, 19 May 2016 23:11:45 -0700
Subject: [PATCH] compiler-rt: Simplify cross-compilation. Don't use
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
From 87fb84e500d2671be478cb983998afb60d93b7de Mon Sep 17 00:00:00 2001
From d3adf3b2a689fe006b6b24430b3f52ecd6807efa Mon Sep 17 00:00:00 2001
From: Khem Raj <[email protected]>
Date: Sat, 21 May 2016 00:33:20 +0000
Subject: [PATCH] llvm: TargetLibraryInfo: Undefine libc functions if they are
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
From aac14f4dc0fb5f8bf0350d6bcee111e2496c2769 Mon Sep 17 00:00:00 2001
From 693007ba2f20c6ef45114d73166fb0273d1fdacb Mon Sep 17 00:00:00 2001
From: Martin Kelly <[email protected]>
Date: Fri, 19 May 2017 00:22:57 -0700
Subject: [PATCH] llvm: allow env override of exe path
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
From 036a427f39847a8cc56bb5226ad89a3055a0ec28 Mon Sep 17 00:00:00 2001
From a81fe1f4e85bfb616b914f894c767488ee230792 Mon Sep 17 00:00:00 2001
From: Dan McGregor <[email protected]>
Date: Wed, 26 Apr 2017 20:29:41 -0600
Subject: [PATCH] clang: driver: Check sysroot for ldso path
Expand All @@ -14,10 +14,10 @@ Signed-off-by: Khem Raj <[email protected]>
1 file changed, 16 insertions(+)

diff --git a/clang/lib/Driver/ToolChains/Linux.cpp b/clang/lib/Driver/ToolChains/Linux.cpp
index e855d337ae64..95d88e0c6d79 100644
index 886e0b35ece8..5f40847f77a3 100644
--- a/clang/lib/Driver/ToolChains/Linux.cpp
+++ b/clang/lib/Driver/ToolChains/Linux.cpp
@@ -479,11 +479,19 @@ std::string Linux::getDynamicLinker(const ArgList &Args) const {
@@ -476,11 +476,19 @@ std::string Linux::getDynamicLinker(const ArgList &Args) const {
LibDir = "lib64";
Loader =
(tools::ppc::hasPPCAbiArg(Args, "elfv2")) ? "ld64.so.2" : "ld64.so.1";
Expand All @@ -37,7 +37,7 @@ index e855d337ae64..95d88e0c6d79 100644
break;
case llvm::Triple::riscv32: {
StringRef ABIName = tools::riscv::getRISCVABI(Args, Triple);
@@ -505,6 +513,10 @@ std::string Linux::getDynamicLinker(const ArgList &Args) const {
@@ -502,6 +510,10 @@ std::string Linux::getDynamicLinker(const ArgList &Args) const {
case llvm::Triple::sparcv9:
LibDir = "lib64";
Loader = "ld-linux.so.2";
Expand All @@ -48,7 +48,7 @@ index e855d337ae64..95d88e0c6d79 100644
break;
case llvm::Triple::systemz:
LibDir = "lib";
@@ -519,6 +531,10 @@ std::string Linux::getDynamicLinker(const ArgList &Args) const {
@@ -516,6 +528,10 @@ std::string Linux::getDynamicLinker(const ArgList &Args) const {

LibDir = X32 ? "libx32" : "lib64";
Loader = X32 ? "ld-linux-x32.so.2" : "ld-linux-x86-64.so.2";
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
From 62cf14e937d10accf5208802a237136caf87036a Mon Sep 17 00:00:00 2001
From 1d8c23ef1e70a1404224918dd2090c6a2828c7ef Mon Sep 17 00:00:00 2001
From: Khem Raj <[email protected]>
Date: Thu, 19 May 2016 21:11:06 -0700
Subject: [PATCH] clang: Driver/tools.cpp: Add -lssp_nonshared on musl
Expand All @@ -13,7 +13,7 @@ Signed-off-by: Khem Raj <[email protected]>
1 file changed, 6 insertions(+)

diff --git a/clang/lib/Driver/ToolChains/Gnu.cpp b/clang/lib/Driver/ToolChains/Gnu.cpp
index a27841dc5985..e0be5e43a10b 100644
index 517ba60e0b77..42cf98572b95 100644
--- a/clang/lib/Driver/ToolChains/Gnu.cpp
+++ b/clang/lib/Driver/ToolChains/Gnu.cpp
@@ -630,6 +630,12 @@ void tools::gnutools::Linker::ConstructJob(Compilation &C, const JobAction &JA,
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
From ac6c4f6b2eea1f74d66d95d2ca839f94ae54b26e Mon Sep 17 00:00:00 2001
From 082dd1f20b838510dca1481e9479c57ce8d03dff Mon Sep 17 00:00:00 2001
From: Khem Raj <[email protected]>
Date: Tue, 10 May 2016 02:00:11 -0700
Subject: [PATCH] clang: musl/ppc does not support 128-bit long double
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
From e74b86d360243aac37f71970969a41ef2e29b5bc Mon Sep 17 00:00:00 2001
From 0c0f10bfe6d0b51080b81c73fae52ddb2a768e5d Mon Sep 17 00:00:00 2001
From: Khem Raj <[email protected]>
Date: Thu, 16 Mar 2017 09:02:13 -0700
Subject: [PATCH] clang: Prepend trailing '/' to sysroot
Expand All @@ -24,10 +24,10 @@ Signed-off-by: Khem Raj <[email protected]>
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/clang/lib/Driver/ToolChains/Linux.cpp b/clang/lib/Driver/ToolChains/Linux.cpp
index 95d88e0c6d79..d2ccbe635208 100644
index 5f40847f77a3..50cd166231c9 100644
--- a/clang/lib/Driver/ToolChains/Linux.cpp
+++ b/clang/lib/Driver/ToolChains/Linux.cpp
@@ -182,7 +182,7 @@ Linux::Linux(const Driver &D, const llvm::Triple &Triple, const ArgList &Args)
@@ -181,7 +181,7 @@ Linux::Linux(const Driver &D, const llvm::Triple &Triple, const ArgList &Args)
Multilibs = GCCInstallation.getMultilibs();
SelectedMultilib = GCCInstallation.getMultilib();
llvm::Triple::ArchType Arch = Triple.getArch();
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
From facdeca80d228bec1684802c6ac2618d9953cad8 Mon Sep 17 00:00:00 2001
From 1c4f99104db0a5d2504fb9f1d4a5cd57a94aaaef Mon Sep 17 00:00:00 2001
From: Khem Raj <[email protected]>
Date: Thu, 16 Mar 2017 19:06:26 -0700
Subject: [PATCH] clang: Look inside the target sysroot for compiler runtime
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
From e1727d4a162c1f0c46caf9792ce32d17729eabf4 Mon Sep 17 00:00:00 2001
From 9be197ac1d1a80f4f8ec81bb7ea41a393869cab1 Mon Sep 17 00:00:00 2001
From: Khem Raj <[email protected]>
Date: Sat, 20 Mar 2021 16:09:16 -0700
Subject: [PATCH] clang: Define / releative gcc installation dir
Expand All @@ -14,7 +14,7 @@ Signed-off-by: Khem Raj <[email protected]>
1 file changed, 7 insertions(+), 7 deletions(-)

diff --git a/clang/lib/Driver/ToolChains/Gnu.cpp b/clang/lib/Driver/ToolChains/Gnu.cpp
index e0be5e43a10b..19c13afe048d 100644
index 42cf98572b95..cd0bf93aa299 100644
--- a/clang/lib/Driver/ToolChains/Gnu.cpp
+++ b/clang/lib/Driver/ToolChains/Gnu.cpp
@@ -2529,19 +2529,19 @@ void Generic_GCC::GCCInstallationDetector::ScanLibDirForGCCTriple(
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
From db17a2f5d14733efa51f44868e21373a038cab61 Mon Sep 17 00:00:00 2001
From 14c7eb733c03a775de7e828a11af6d43170620e8 Mon Sep 17 00:00:00 2001
From: Khem Raj <[email protected]>
Date: Wed, 31 Jul 2019 22:51:39 -0700
Subject: [PATCH] clang: Add -lpthread and -ldl along with -lunwind for static
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
From 4840d4d70891e429f64a0b440ebd28eb544e09cc Mon Sep 17 00:00:00 2001
From 1ea29b33aebd027faf22bf9a0bf1c83c8b7c6571 Mon Sep 17 00:00:00 2001
From: Anuj Mittal <[email protected]>
Date: Thu, 26 Dec 2019 12:56:16 -0800
Subject: [PATCH] Pass PYTHON_EXECUTABLE when cross compiling for native build
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
From 662447e6dcc04b8cab8af89d164b91cdad8d39fd Mon Sep 17 00:00:00 2001
From e8f619fae05f543455ec8e1e61e255ac5cbd5f39 Mon Sep 17 00:00:00 2001
From: Khem Raj <[email protected]>
Date: Mon, 18 Nov 2019 17:00:29 -0800
Subject: [PATCH] Check for atomic<double> intrinsics
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
From e797d257fb0e4f8561d39c8a8c4e0bfd2323ed43 Mon Sep 17 00:00:00 2001
From 24701aa638b8e111d7c93cf129959b63403d2327 Mon Sep 17 00:00:00 2001
From: Evangelos Foutras <[email protected]>
Date: Thu, 26 Dec 2019 15:46:19 -0800
Subject: [PATCH] clang: Enable SSP and PIE by default
Expand Down Expand Up @@ -37,10 +37,10 @@ Signed-off-by: Khem Raj <[email protected]>
13 files changed, 42 insertions(+), 30 deletions(-)

diff --git a/clang/lib/Driver/ToolChains/Linux.cpp b/clang/lib/Driver/ToolChains/Linux.cpp
index d2ccbe635208..5bd2e5061f3c 100644
index 50cd166231c9..af1f7a6e5c48 100644
--- a/clang/lib/Driver/ToolChains/Linux.cpp
+++ b/clang/lib/Driver/ToolChains/Linux.cpp
@@ -671,8 +671,14 @@ void Linux::AddIAMCUIncludeArgs(const ArgList &DriverArgs,
@@ -668,8 +668,14 @@ void Linux::AddIAMCUIncludeArgs(const ArgList &DriverArgs,
}

bool Linux::isPIEDefault() const {
Expand Down Expand Up @@ -134,7 +134,7 @@ index e9b86cbcf428..47f304c0420d 100644
// CHECK-LD-32: "-L[[SYSROOT]]/usr/lib/gcc/i386-unknown-linux/10.2.0/../../../../i386-unknown-linux/lib"
// CHECK-LD-32: "-L[[SYSROOT]]/lib"
diff --git a/clang/test/Driver/fsanitize.c b/clang/test/Driver/fsanitize.c
index 7febfd02a1ad..1381d9018e32 100644
index baa37b5fd79d..a6aeb09f6cd8 100644
--- a/clang/test/Driver/fsanitize.c
+++ b/clang/test/Driver/fsanitize.c
@@ -330,15 +330,15 @@
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
From f7aa025b6171ce7c9f4a37593f4875a331d73da2 Mon Sep 17 00:00:00 2001
From 91c7a0a31acf1ab7475b85144d923f70541fae7c Mon Sep 17 00:00:00 2001
From: Jeremy Puhlman <[email protected]>
Date: Thu, 16 Jan 2020 21:16:10 +0000
Subject: [PATCH] libcxx: Add compiler runtime library to link step for libcxx
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
From 3aa86ff94b54b378637ef3dcc95350d28e014aa9 Mon Sep 17 00:00:00 2001
From 2682484fb5365d5bfbe4c343f74298e155d20645 Mon Sep 17 00:00:00 2001
From: Ovidiu Panait <[email protected]>
Date: Fri, 31 Jan 2020 10:56:11 +0200
Subject: [PATCH] clang,llvm: cmake: Fix configure for packages using
Expand Down Expand Up @@ -52,7 +52,7 @@ index 5752f4277444..f40ea35faf46 100644
endmacro()

diff --git a/llvm/cmake/modules/AddLLVM.cmake b/llvm/cmake/modules/AddLLVM.cmake
index 9c2b85374307..7e4a07b5972c 100644
index 689cac474c1a..75f425955e2a 100644
--- a/llvm/cmake/modules/AddLLVM.cmake
+++ b/llvm/cmake/modules/AddLLVM.cmake
@@ -1226,7 +1226,6 @@ macro(add_llvm_tool name)
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
From de696c06d7d00637a1787738b841e4514c65f061 Mon Sep 17 00:00:00 2001
From f59f431174b876e1fb64e982f1b4f3848376a840 Mon Sep 17 00:00:00 2001
From: Jim Broadus <[email protected]>
Date: Thu, 26 Mar 2020 16:05:53 -0700
Subject: [PATCH] clang: Fix resource dir location for cross toolchains
Expand All @@ -19,7 +19,7 @@ Signed-off-by: Khem Raj <[email protected]>
1 file changed, 7 insertions(+), 1 deletion(-)

diff --git a/clang/lib/Driver/Driver.cpp b/clang/lib/Driver/Driver.cpp
index 287b21864154..42a8141c36bb 100644
index 930941fe8558..fad53b15cc52 100644
--- a/clang/lib/Driver/Driver.cpp
+++ b/clang/lib/Driver/Driver.cpp
@@ -121,7 +121,13 @@ std::string Driver::GetResourcesPath(StringRef BinaryPath,
Expand Down
2 changes: 1 addition & 1 deletion recipes-devtools/clang/clang/0020-fix-path-to-libffi.patch
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
From 43515a2cf000fef0b08521b14a03191bbbd81865 Mon Sep 17 00:00:00 2001
From 199b980b8aa03a9d102d33f1353b5e94fb255ea8 Mon Sep 17 00:00:00 2001
From: Anuj Mittal <[email protected]>
Date: Fri, 3 Apr 2020 15:10:37 +0800
Subject: [PATCH] fix path to libffi
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
From 6e87ead1a81b300f69a5444b0e32ee2db189d6e3 Mon Sep 17 00:00:00 2001
From 9b0acc4e9fb202a4d224fbf5eba54576fdb95ea3 Mon Sep 17 00:00:00 2001
From: Oleksandr Ocheretnyi <[email protected]>
Date: Wed, 15 Apr 2020 00:08:39 +0300
Subject: [PATCH] clang: driver: Add dyld-prefix when checking sysroot for ldso
Expand All @@ -18,10 +18,10 @@ Signed-off-by: Khem Raj <[email protected]>
1 file changed, 8 insertions(+), 8 deletions(-)

diff --git a/clang/lib/Driver/ToolChains/Linux.cpp b/clang/lib/Driver/ToolChains/Linux.cpp
index 5bd2e5061f3c..8a63dd8c0e60 100644
index af1f7a6e5c48..0b3bbdeab5f3 100644
--- a/clang/lib/Driver/ToolChains/Linux.cpp
+++ b/clang/lib/Driver/ToolChains/Linux.cpp
@@ -479,8 +479,8 @@ std::string Linux::getDynamicLinker(const ArgList &Args) const {
@@ -476,8 +476,8 @@ std::string Linux::getDynamicLinker(const ArgList &Args) const {
LibDir = "lib64";
Loader =
(tools::ppc::hasPPCAbiArg(Args, "elfv2")) ? "ld64.so.2" : "ld64.so.1";
Expand All @@ -32,7 +32,7 @@ index 5bd2e5061f3c..8a63dd8c0e60 100644
LibDir = "lib";
}
break;
@@ -488,8 +488,8 @@ std::string Linux::getDynamicLinker(const ArgList &Args) const {
@@ -485,8 +485,8 @@ std::string Linux::getDynamicLinker(const ArgList &Args) const {
LibDir = "lib64";
Loader =
(tools::ppc::hasPPCAbiArg(Args, "elfv1")) ? "ld64.so.1" : "ld64.so.2";
Expand All @@ -43,7 +43,7 @@ index 5bd2e5061f3c..8a63dd8c0e60 100644
LibDir = "lib";
}
break;
@@ -513,8 +513,8 @@ std::string Linux::getDynamicLinker(const ArgList &Args) const {
@@ -510,8 +510,8 @@ std::string Linux::getDynamicLinker(const ArgList &Args) const {
case llvm::Triple::sparcv9:
LibDir = "lib64";
Loader = "ld-linux.so.2";
Expand All @@ -54,7 +54,7 @@ index 5bd2e5061f3c..8a63dd8c0e60 100644
LibDir = "lib";
}
break;
@@ -531,8 +531,8 @@ std::string Linux::getDynamicLinker(const ArgList &Args) const {
@@ -528,8 +528,8 @@ std::string Linux::getDynamicLinker(const ArgList &Args) const {

LibDir = X32 ? "libx32" : "lib64";
Loader = X32 ? "ld-linux-x32.so.2" : "ld-linux-x86-64.so.2";
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
From e08f5f92d3d52f3716e71cb5b2a074766eb0e150 Mon Sep 17 00:00:00 2001
From 90d69c23d95ae59ddbc6c2383ea30f622f09f4eb Mon Sep 17 00:00:00 2001
From: Khem Raj <[email protected]>
Date: Wed, 14 Oct 2020 22:19:57 -0700
Subject: [PATCH] clang: Use python3 in python scripts
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
From 2d88ade091c2f3f66de514d398e5d22d0a7bd065 Mon Sep 17 00:00:00 2001
From 5c6b926de61fb1c7f2bf425fe09bab0bf59ac101 Mon Sep 17 00:00:00 2001
From: Hongxu Jia <[email protected]>
Date: Mon, 25 Jan 2021 16:14:35 +0800
Subject: [PATCH] For x86_64, set Yocto based GCC install search path
Expand Down Expand Up @@ -57,7 +57,7 @@ Signed-off-by: Khem Raj <[email protected]>
1 file changed, 1 insertion(+)

diff --git a/clang/lib/Driver/ToolChains/Gnu.cpp b/clang/lib/Driver/ToolChains/Gnu.cpp
index 19c13afe048d..458acb47a45d 100644
index cd0bf93aa299..54ed719c9f0c 100644
--- a/clang/lib/Driver/ToolChains/Gnu.cpp
+++ b/clang/lib/Driver/ToolChains/Gnu.cpp
@@ -2111,6 +2111,7 @@ void Generic_GCC::GCCInstallationDetector::AddDefaultGCCPrefixes(
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
From 26bd74255d5fdf7a9dd0fb9140e0f6c2b9be5ac6 Mon Sep 17 00:00:00 2001
From 83c73d91b61f989a8e3d4b96ada4f10c5c426c73 Mon Sep 17 00:00:00 2001
From: Khem Raj <[email protected]>
Date: Sat, 6 Feb 2021 12:44:30 -0800
Subject: [PATCH] compiler-rt: Include stddef.h
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
From a39a58f080877b99b1ef580f7915c547ad0112db Mon Sep 17 00:00:00 2001
From e3f5f4346d0faeca424ce0494fbc2b1f75373e5f Mon Sep 17 00:00:00 2001
From: Khem Raj <[email protected]>
Date: Sun, 7 Feb 2021 23:58:41 -0800
Subject: [PATCH] llvm: Do not use find_library for ncurses
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
From c5ea14dd34a2d6ba93c94533b43ad83f560831b6 Mon Sep 17 00:00:00 2001
From d008023e9fcd2615ca21d74c85e197570ba24502 Mon Sep 17 00:00:00 2001
From: Khem Raj <[email protected]>
Date: Thu, 11 Feb 2021 16:42:49 -0800
Subject: [PATCH] llvm: Insert anchor for adding OE distro vendor names
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
From e52894aae026b217e0dae193b1c1203de5e7792e Mon Sep 17 00:00:00 2001
From 656ce3eec5ca681fdbcc137f86cbf48de920f3cc Mon Sep 17 00:00:00 2001
From: Khem Raj <[email protected]>
Date: Wed, 24 Mar 2021 00:32:09 -0700
Subject: [PATCH] compiler-rt: Use mcr based barrier on armv6
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
From 332447757e61e5c7ca0b3fbeafcaf0c53b308174 Mon Sep 17 00:00:00 2001
From b85085aee33ceeee4aee46b8b7c293f1b0de5f6a Mon Sep 17 00:00:00 2001
From: Khem Raj <[email protected]>
Date: Thu, 15 Apr 2021 18:58:07 -0700
Subject: [PATCH] clang: Switch defaults to dwarf-5 debug info on Linux
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
From 9ff4fbb42c182b11a6b7bd870cb82a6ae4896fe3 Mon Sep 17 00:00:00 2001
From 8a2e12e1d4054b989018d31c28ec843300001739 Mon Sep 17 00:00:00 2001
From: Khem Raj <[email protected]>
Date: Wed, 19 May 2021 17:32:13 -0700
Subject: [PATCH] compiler-rt: Do not use backtrace APIs on non-glibc linux
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
From 4cb3ad387cb2b4eb9c9ec8243aaafbffc71c9ede Mon Sep 17 00:00:00 2001
From 329d1ae9d9c5f4b7453865dc6fbb9c5341a4d02d Mon Sep 17 00:00:00 2001
From: Khem Raj <[email protected]>
Date: Wed, 19 May 2021 17:56:03 -0700
Subject: [PATCH] clang: Fix x86 triple for non-debian multiarch linux distros
Expand All @@ -12,10 +12,10 @@ Signed-off-by: Khem Raj <[email protected]>
1 file changed, 3 insertions(+)

diff --git a/clang/lib/Driver/ToolChains/Linux.cpp b/clang/lib/Driver/ToolChains/Linux.cpp
index 8a63dd8c0e60..66874319fc44 100644
index 0b3bbdeab5f3..b73644df5641 100644
--- a/clang/lib/Driver/ToolChains/Linux.cpp
+++ b/clang/lib/Driver/ToolChains/Linux.cpp
@@ -622,6 +622,9 @@ void Linux::addLibStdCxxIncludePaths(const llvm::opt::ArgList &DriverArgs,
@@ -619,6 +619,9 @@ void Linux::addLibStdCxxIncludePaths(const llvm::opt::ArgList &DriverArgs,
GCCInstallation.getTriple().getArch() == llvm::Triple::x86
? "i386-linux-gnu"
: TripleStr;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
From ce655e90531061414002634584590761734ce229 Mon Sep 17 00:00:00 2001
From 3b4033d5a25f03ec9496151ae868cf0f0e63a6ae Mon Sep 17 00:00:00 2001
From: Khem Raj <[email protected]>
Date: Wed, 19 May 2021 21:49:18 -0700
Subject: [PATCH] compiler-rt: Link scudo with SANITIZER_CXX_ABI_LIBRARIES
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
From b7dab91761d8656d802da8d0d754352f58fb05c9 Mon Sep 17 00:00:00 2001
From 1e5dfaf08426f235a92081aadda5ae2a149ff871 Mon Sep 17 00:00:00 2001
From: Khem Raj <[email protected]>
Date: Fri, 21 May 2021 08:14:29 -0700
Subject: [PATCH] compiler-rt: Link scudo standalone with libatomic on mips
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
From a9ac0832f39e10a08d8b49b7c4968cc30100f706 Mon Sep 17 00:00:00 2001
From 049cffbdf0e6e19037a5bc49483e6d68b18d6a0e Mon Sep 17 00:00:00 2001
From: Maksim Kita <[email protected]>
Date: Sun, 23 May 2021 10:27:29 +0000
Subject: [PATCH] libunwind: Added unw_backtrace method
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
From 4ff7a960f67ee8b0df09fb76113d9a2380e4b802 Mon Sep 17 00:00:00 2001
From 54593b1564c12f55da088f3d6c68d4a55e411083 Mon Sep 17 00:00:00 2001
From: Khem Raj <[email protected]>
Date: Sat, 29 May 2021 13:42:25 -0700
Subject: [PATCH] compiler-rt: Use uintptr_t instead of _Unwind_Word
Expand Down
Loading

0 comments on commit 23729bb

Please sign in to comment.