From 99f035792afb98f1aa0ec8415d20df09de82f97b Mon Sep 17 00:00:00 2001 From: Khem Raj Date: Tue, 5 Jul 2022 06:30:52 -0700 Subject: clang: Update to 14.0.6 Drop 0038-Add-missing-cstdint.patch as it is part of the 14.0.6 release. Bring in following changes * f28c006a5895 Bump version to 14.0.6 * aa586b6f5f55 [clang][AVR] Implement standard calling convention for AVR and AVRTiny * ec42d3c069c7 [AVR] Add more devices * c12386ae247c [MC][AArch64] Enable '+v8a' when nothing specified for MCSubtargetInfo * 4d5dad43b2eb [analyzer] Fix null pointer deref in CastValueChecker * 5b296385298f PR45879: Fix assert when constant evaluating union assignment. * deb573739df9 [clang-tidy] `bugprone-use-after-move`: Fix handling of moves in lambda captures * d0cd5a872f8d [clang-format] Fix SpacesInLineCommentPrefix deleting tokens. * 3cd9df8443f8 [clang-format] Fix PointerAlignment: Right not working with tab indentation. * d350783a0520 [LoopIdiom] Merge TBAA of adjacent stores when creating memset * 198626ad43fd [MIPS] Address instruction selection failure for abs.[sd] * b75bf750fdc2 [LoopIdiom] Fix bailout for aliasing in memcpy transform. * 2e857fe6e390 [ARM] Fix MVE getShuffleCost legalized type check * a517f3439671 [Support] Add missing header to Base64.h * 4d039a7a7189 [Support] Add missing header to Signals.h * 483db58f3eb5 compiler-rt: Allow build without __c11_atomic_fetch_nand * 576e5b39ae4d [clang-tidy] Fix #55134 (regression introduced by 5da7c04) * 99b5eb2d3a61 [Local] Don't remove invoke of non-willreturn function * 885724c60cdc [SimplifyCFG] Add test for invoke of nounwind non-willreturn function (NFC) * 2f0a69c32a4c [OpenMP] Fix partial unrolling off-by-one. * 79147e4722cc [clang][CUDA][Windows] Fix compilation error on Windows with `uint32_t __nvvm_get_smem_pointer` * ec0332328bd6 [clang] Fix some clang->llvm type cache invalidation issues * 10d442522b1a [clang][AVR] Implement standard calling convention for AVR and AVRTiny * 09ec80e16f47 [PowerPC] Treat llvm.fmuladd intrinsic as using CTR Signed-off-by: Khem Raj (cherry picked from commit ad6f0176e462574437163205503df285150bfad0) Signed-off-by: Ricardo Salveti --- conf/layer.conf | 2 +- recipes-devtools/clang/clang.inc | 4 +-- .../clang/clang/0038-Add-missing-cstdint.patch | 32 ---------------------- recipes-devtools/clang/common.inc | 1 - 4 files changed, 3 insertions(+), 36 deletions(-) delete mode 100644 recipes-devtools/clang/clang/0038-Add-missing-cstdint.patch diff --git a/conf/layer.conf b/conf/layer.conf index 8938b39..41cf3d8 100644 --- a/conf/layer.conf +++ b/conf/layer.conf @@ -31,7 +31,7 @@ INHERIT += "clang" # Do not include clang in SDK unless user wants to CLANGSDK ??= "0" -LLVMVERSION = "14.0.5" +LLVMVERSION = "14.0.6" require conf/nonclangable.conf require conf/nonscanable.conf diff --git a/recipes-devtools/clang/clang.inc b/recipes-devtools/clang/clang.inc index e9b6506..253c128 100644 --- a/recipes-devtools/clang/clang.inc +++ b/recipes-devtools/clang/clang.inc @@ -6,9 +6,9 @@ LLVM_GIT_PROTOCOL ?= "https" MAJOR_VER = "14" MINOR_VER = "0" -PATCH_VER = "5" +PATCH_VER = "6" -SRCREV ?= "b950bd2ce7ff79b203b2acba02e1c468836989ae" +SRCREV ?= "f28c006a5895fc0e329fe15fead81e37457cb1d1" PV = "${MAJOR_VER}.${MINOR_VER}.${PATCH_VER}" BRANCH = "release/14.x" diff --git a/recipes-devtools/clang/clang/0038-Add-missing-cstdint.patch b/recipes-devtools/clang/clang/0038-Add-missing-cstdint.patch deleted file mode 100644 index f6ef7ad..0000000 --- a/recipes-devtools/clang/clang/0038-Add-missing-cstdint.patch +++ /dev/null @@ -1,32 +0,0 @@ -From ff1681ddb303223973653f7f5f3f3435b48a1983 Mon Sep 17 00:00:00 2001 -From: Sergei Trofimovich -Date: Mon, 23 May 2022 08:03:23 +0100 -Subject: [PATCH] [Support] Add missing header to Signals.h - -Without the change llvm build fails on this week's gcc-13 snapshot as: - - [ 0%] Building CXX object lib/Support/CMakeFiles/LLVMSupport.dir/Signals.cpp.o - In file included from llvm/lib/Support/Signals.cpp:14: - llvm/include/llvm/Support/Signals.h:119:8: error: variable or field 'CleanupOnSignal' declared void - 119 | void CleanupOnSignal(uintptr_t Context); - | ^~~~~~~~~~~~~~~ - -Upstream-Status: Backport [https://github.com/llvm/llvm-project/commit/ff1681ddb303223973653f7f5f3f3435b48a1983] - -Signed-off-by: Jose Quaresma ---- - llvm/include/llvm/Support/Signals.h | 1 + - 1 file changed, 1 insertion(+) - -diff --git a/llvm/include/llvm/Support/Signals.h b/llvm/include/llvm/Support/Signals.h -index 44f5a750ff5cb..937e0572d4a72 100644 ---- a/llvm/include/llvm/Support/Signals.h -+++ b/llvm/include/llvm/Support/Signals.h -@@ -14,6 +14,7 @@ - #ifndef LLVM_SUPPORT_SIGNALS_H - #define LLVM_SUPPORT_SIGNALS_H - -+#include - #include - - namespace llvm { diff --git a/recipes-devtools/clang/common.inc b/recipes-devtools/clang/common.inc index ad35128..77d7142 100644 --- a/recipes-devtools/clang/common.inc +++ b/recipes-devtools/clang/common.inc @@ -47,7 +47,6 @@ SRC_URI = "\ file://0035-compiler-rt-Enable-__int128-for-ppc32.patch \ file://0036-compiler-rt-builtins-Move-DMB-definition-to-syn-opsh.patch \ file://0037-sanitizer-Remove-include-linux-fs.h-to-resolve-fscon.patch \ - file://0038-Add-missing-cstdint.patch \ " # Fallback to no-PIE if not set GCCPIE ??= "" -- cgit v1.2.3-54-g00ecf