diff options
author | Khem Raj <raj.khem@gmail.com> | 2022-07-05 06:30:52 -0700 |
---|---|---|
committer | Khem Raj <raj.khem@gmail.com> | 2023-08-07 13:20:23 -0700 |
commit | 99f035792afb98f1aa0ec8415d20df09de82f97b (patch) | |
tree | c89a934ad57d1ba45c7d9c281daa251d99ad83df | |
parent | 26a3942c556ae93728b7c2eb5e87f25f055ac54c (diff) | |
download | meta-clang-99f035792afb98f1aa0ec8415d20df09de82f97b.tar.gz |
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 <cstdint> header to Base64.h
* 4d039a7a7189 [Support] Add missing <cstdint> 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 <raj.khem@gmail.com>
(cherry picked from commit ad6f0176e462574437163205503df285150bfad0)
Signed-off-by: Ricardo Salveti <ricardo@foundries.io>
-rw-r--r-- | conf/layer.conf | 2 | ||||
-rw-r--r-- | recipes-devtools/clang/clang.inc | 4 | ||||
-rw-r--r-- | recipes-devtools/clang/clang/0038-Add-missing-cstdint.patch | 32 | ||||
-rw-r--r-- | recipes-devtools/clang/common.inc | 1 |
4 files changed, 3 insertions, 36 deletions
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" | |||
31 | # Do not include clang in SDK unless user wants to | 31 | # Do not include clang in SDK unless user wants to |
32 | CLANGSDK ??= "0" | 32 | CLANGSDK ??= "0" |
33 | 33 | ||
34 | LLVMVERSION = "14.0.5" | 34 | LLVMVERSION = "14.0.6" |
35 | 35 | ||
36 | require conf/nonclangable.conf | 36 | require conf/nonclangable.conf |
37 | require conf/nonscanable.conf | 37 | 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" | |||
6 | 6 | ||
7 | MAJOR_VER = "14" | 7 | MAJOR_VER = "14" |
8 | MINOR_VER = "0" | 8 | MINOR_VER = "0" |
9 | PATCH_VER = "5" | 9 | PATCH_VER = "6" |
10 | 10 | ||
11 | SRCREV ?= "b950bd2ce7ff79b203b2acba02e1c468836989ae" | 11 | SRCREV ?= "f28c006a5895fc0e329fe15fead81e37457cb1d1" |
12 | 12 | ||
13 | PV = "${MAJOR_VER}.${MINOR_VER}.${PATCH_VER}" | 13 | PV = "${MAJOR_VER}.${MINOR_VER}.${PATCH_VER}" |
14 | BRANCH = "release/14.x" | 14 | 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 @@ | |||
1 | From ff1681ddb303223973653f7f5f3f3435b48a1983 Mon Sep 17 00:00:00 2001 | ||
2 | From: Sergei Trofimovich <slyich@gmail.com> | ||
3 | Date: Mon, 23 May 2022 08:03:23 +0100 | ||
4 | Subject: [PATCH] [Support] Add missing <cstdint> header to Signals.h | ||
5 | |||
6 | Without the change llvm build fails on this week's gcc-13 snapshot as: | ||
7 | |||
8 | [ 0%] Building CXX object lib/Support/CMakeFiles/LLVMSupport.dir/Signals.cpp.o | ||
9 | In file included from llvm/lib/Support/Signals.cpp:14: | ||
10 | llvm/include/llvm/Support/Signals.h:119:8: error: variable or field 'CleanupOnSignal' declared void | ||
11 | 119 | void CleanupOnSignal(uintptr_t Context); | ||
12 | | ^~~~~~~~~~~~~~~ | ||
13 | |||
14 | Upstream-Status: Backport [https://github.com/llvm/llvm-project/commit/ff1681ddb303223973653f7f5f3f3435b48a1983] | ||
15 | |||
16 | Signed-off-by: Jose Quaresma <jose.quaresma@foundries.io> | ||
17 | --- | ||
18 | llvm/include/llvm/Support/Signals.h | 1 + | ||
19 | 1 file changed, 1 insertion(+) | ||
20 | |||
21 | diff --git a/llvm/include/llvm/Support/Signals.h b/llvm/include/llvm/Support/Signals.h | ||
22 | index 44f5a750ff5cb..937e0572d4a72 100644 | ||
23 | --- a/llvm/include/llvm/Support/Signals.h | ||
24 | +++ b/llvm/include/llvm/Support/Signals.h | ||
25 | @@ -14,6 +14,7 @@ | ||
26 | #ifndef LLVM_SUPPORT_SIGNALS_H | ||
27 | #define LLVM_SUPPORT_SIGNALS_H | ||
28 | |||
29 | +#include <cstdint> | ||
30 | #include <string> | ||
31 | |||
32 | 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 = "\ | |||
47 | file://0035-compiler-rt-Enable-__int128-for-ppc32.patch \ | 47 | file://0035-compiler-rt-Enable-__int128-for-ppc32.patch \ |
48 | file://0036-compiler-rt-builtins-Move-DMB-definition-to-syn-opsh.patch \ | 48 | file://0036-compiler-rt-builtins-Move-DMB-definition-to-syn-opsh.patch \ |
49 | file://0037-sanitizer-Remove-include-linux-fs.h-to-resolve-fscon.patch \ | 49 | file://0037-sanitizer-Remove-include-linux-fs.h-to-resolve-fscon.patch \ |
50 | file://0038-Add-missing-cstdint.patch \ | ||
51 | " | 50 | " |
52 | # Fallback to no-PIE if not set | 51 | # Fallback to no-PIE if not set |
53 | GCCPIE ??= "" | 52 | GCCPIE ??= "" |