diff options
author | Khem Raj <raj.khem@gmail.com> | 2022-12-03 08:27:44 -0800 |
---|---|---|
committer | Khem Raj <raj.khem@gmail.com> | 2022-12-05 10:18:15 -0800 |
commit | 6f955e96a02425dddea66335613a66cd9f08b851 (patch) | |
tree | 8f80cb99e3053924b9e2fde33d77aa6fa61138b3 /recipes-devtools/clang | |
parent | fbc1e97d4dc3a085bf76d21741776df952e18eb7 (diff) | |
download | meta-clang-6f955e96a02425dddea66335613a66cd9f08b851.tar.gz |
clang: Update to 15.0.6
Drop backported patches already available in this release
This brings following changes
* 088f33605d8a [CodeGen][ARM] Fix ARMABIInfo::EmitVAAarg crash with empty record type variadic arg
* abcd0341d846 [ELF] Handle GCC collect2 -plugin-opt= on Windows
* e6e61e9b2ef7 Revert "Reapply: Add an error message to the default SIGPIPE handler"
* 25a36ca5c791 Bump version to 15.0.6
* 154e88af7ec9 Bump version to 15.0.5
* a39989663758 [VectorUtils] Skip interleave members with diff type and alloca sizes.
* dc8f6ffc3bf2 [lldb] Get rid of __STDC_LIMIT_MACROS and __STDC_CONSTANT_MACROS
* 392963bb1daf [lldb] Fix 'error: non-const lvalue...' caused by SWIG 4.1.0
* 68799e789fc5 [GlobalOpt] Don't remove inalloca from varargs functions
* 11c3a21f8d1b [analyzer] Workaround crash on encountering Class non-type template parameters
* 0988addf2680 Link libclangBasic against libatomic when necessary.
* 4c3d83810ad7 Link liblldCOFF against libatomic when necessary
* d75ae21044ad Set LLVM_ATOMIC_LIB variable for convenient linking against libatomic
* 6750e341b076 [TypePromotion] Replace Zext to Truncate for the case src bitwidth is larger
* 58ba50a52ede [cmake] Add missing CMakePushCheckState include to FindLibEdit.cmake
* 931b6d51d84e Reenable POSIX builtin library functions in gnu2x mode
* c8e7a87b1ed6 [CMake] Fix -Wstrict-prototypes
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'recipes-devtools/clang')
4 files changed, 2 insertions, 80 deletions
diff --git a/recipes-devtools/clang/clang.inc b/recipes-devtools/clang/clang.inc index 74e929f..858ab57 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 = "15" | 7 | MAJOR_VER = "15" |
8 | MINOR_VER = "0" | 8 | MINOR_VER = "0" |
9 | PATCH_VER = "4" | 9 | PATCH_VER = "6" |
10 | 10 | ||
11 | SRCREV ?= "5c68a1cb123161b54b72ce90e7975d95a8eaf2a4" | 11 | SRCREV ?= "088f33605d8a61ff519c580a71b1dd57d16a03f8" |
12 | 12 | ||
13 | PV = "${MAJOR_VER}.${MINOR_VER}.${PATCH_VER}" | 13 | PV = "${MAJOR_VER}.${MINOR_VER}.${PATCH_VER}" |
14 | BRANCH = "release/15.x" | 14 | BRANCH = "release/15.x" |
diff --git a/recipes-devtools/clang/clang/0035-lldb-fix-swig-error.patch b/recipes-devtools/clang/clang/0035-lldb-fix-swig-error.patch deleted file mode 100644 index 460680b..0000000 --- a/recipes-devtools/clang/clang/0035-lldb-fix-swig-error.patch +++ /dev/null | |||
@@ -1,30 +0,0 @@ | |||
1 | From 392963bb1daf7ec8822a0f02929a8ada17eb0a0a Mon Sep 17 00:00:00 2001 | ||
2 | From: Jitka Plesnikova <jplesnik@redhat.com> | ||
3 | Date: Wed, 21 Sep 2022 11:42:46 +0200 | ||
4 | Subject: [PATCH] [lldb] Fix 'error: non-const lvalue...' caused by SWIG 4.1.0 | ||
5 | |||
6 | Fix the failure caused by change in SwigValueWraper for C++11 and later | ||
7 | for improved move semantics in SWIG commit. | ||
8 | |||
9 | https://github.com/swig/swig/commit/d1055f4b3d51cb8060893f8036846ac743302dab | ||
10 | (cherry picked from commit f0a25fe0b746f56295d5c02116ba28d2f965c175) | ||
11 | |||
12 | Upstream-Status: Backport | ||
13 | Signed-off-by: Anuj Mittal <anuj.mittal@intel.com> | ||
14 | --- | ||
15 | lldb/bindings/python/python-typemaps.swig | 2 +- | ||
16 | 1 file changed, 1 insertion(+), 1 deletion(-) | ||
17 | |||
18 | diff --git a/lldb/bindings/python/python-typemaps.swig b/lldb/bindings/python/python-typemaps.swig | ||
19 | index bf3de66b91bf..d45431c771ca 100644 | ||
20 | --- a/lldb/bindings/python/python-typemaps.swig | ||
21 | +++ b/lldb/bindings/python/python-typemaps.swig | ||
22 | @@ -435,7 +435,7 @@ template <> bool SetNumberFromPyObject<double>(double &number, PyObject *obj) { | ||
23 | |||
24 | %typemap(out) lldb::FileSP { | ||
25 | $result = nullptr; | ||
26 | - lldb::FileSP &sp = $1; | ||
27 | + const lldb::FileSP &sp = $1; | ||
28 | if (sp) { | ||
29 | PythonFile pyfile = unwrapOrSetPythonException(PythonFile::FromFile(*sp)); | ||
30 | if (!pyfile.IsValid()) | ||
diff --git a/recipes-devtools/clang/clang/0036-dc8f6ffc3bf297098a1dfd3fbce801afbe9f5238.patch b/recipes-devtools/clang/clang/0036-dc8f6ffc3bf297098a1dfd3fbce801afbe9f5238.patch deleted file mode 100644 index 2c3498c..0000000 --- a/recipes-devtools/clang/clang/0036-dc8f6ffc3bf297098a1dfd3fbce801afbe9f5238.patch +++ /dev/null | |||
@@ -1,46 +0,0 @@ | |||
1 | From dc8f6ffc3bf297098a1dfd3fbce801afbe9f5238 Mon Sep 17 00:00:00 2001 | ||
2 | From: serge-sans-paille <sguelton@redhat.com> | ||
3 | Date: Thu, 29 Sep 2022 21:48:38 +0200 | ||
4 | Subject: [PATCH] [lldb] Get rid of __STDC_LIMIT_MACROS and | ||
5 | __STDC_CONSTANT_MACROS | ||
6 | |||
7 | C++11 made the use of these macro obsolete, see https://sourceware.org/bugzilla/show_bug.cgi?id=15366 | ||
8 | |||
9 | As a side effect this prevents https://github.com/swig/swig/issues/2193. | ||
10 | |||
11 | Differential Revision: https://reviews.llvm.org/D134877 | ||
12 | |||
13 | (cherry picked from commit 81fc5f7909a4ef5a8d4b5da2a10f77f7cb01ba63) | ||
14 | Upstream-Status: Backport | ||
15 | Signed-off-by: Anuj Mittal <anuj.mittal@intel.com> | ||
16 | --- | ||
17 | lldb/bindings/CMakeLists.txt | 2 -- | ||
18 | lldb/bindings/interfaces.swig | 3 --- | ||
19 | 2 files changed, 5 deletions(-) | ||
20 | |||
21 | diff --git a/lldb/bindings/CMakeLists.txt b/lldb/bindings/CMakeLists.txt | ||
22 | index c8aa0bcf9681..9eed2f1e6299 100644 | ||
23 | --- a/lldb/bindings/CMakeLists.txt | ||
24 | +++ b/lldb/bindings/CMakeLists.txt | ||
25 | @@ -26,8 +26,6 @@ set(SWIG_COMMON_FLAGS | ||
26 | -features autodoc | ||
27 | -I${LLDB_SOURCE_DIR}/include | ||
28 | -I${CMAKE_CURRENT_SOURCE_DIR} | ||
29 | - -D__STDC_LIMIT_MACROS | ||
30 | - -D__STDC_CONSTANT_MACROS | ||
31 | ${DARWIN_EXTRAS} | ||
32 | ) | ||
33 | |||
34 | diff --git a/lldb/bindings/interfaces.swig b/lldb/bindings/interfaces.swig | ||
35 | index c9a6d0f06056..021c7683d170 100644 | ||
36 | --- a/lldb/bindings/interfaces.swig | ||
37 | +++ b/lldb/bindings/interfaces.swig | ||
38 | @@ -1,8 +1,5 @@ | ||
39 | /* Various liblldb typedefs that SWIG needs to know about. */ | ||
40 | #define __extension__ /* Undefine GCC keyword to make Swig happy when processing glibc's stdint.h. */ | ||
41 | -/* The ISO C99 standard specifies that in C++ implementations limit macros such | ||
42 | - as INT32_MAX should only be defined if __STDC_LIMIT_MACROS is. */ | ||
43 | -#define __STDC_LIMIT_MACROS | ||
44 | %include "stdint.i" | ||
45 | |||
46 | %include "lldb/lldb-defines.h" | ||
diff --git a/recipes-devtools/clang/common.inc b/recipes-devtools/clang/common.inc index 5f6a6f4..a0f8a00 100644 --- a/recipes-devtools/clang/common.inc +++ b/recipes-devtools/clang/common.inc | |||
@@ -44,8 +44,6 @@ SRC_URI = "\ | |||
44 | file://0032-compiler-rt-Enable-__int128-for-ppc32.patch \ | 44 | file://0032-compiler-rt-Enable-__int128-for-ppc32.patch \ |
45 | file://0033-llvm-Do-not-use-cmake-infra-to-detect-libzstd.patch \ | 45 | file://0033-llvm-Do-not-use-cmake-infra-to-detect-libzstd.patch \ |
46 | file://0034-Revert-MIPS-compiler-rt-Fix-stat-struct-s-size-for-O.patch \ | 46 | file://0034-Revert-MIPS-compiler-rt-Fix-stat-struct-s-size-for-O.patch \ |
47 | file://0035-lldb-fix-swig-error.patch \ | ||
48 | file://0036-dc8f6ffc3bf297098a1dfd3fbce801afbe9f5238.patch \ | ||
49 | " | 47 | " |
50 | # Fallback to no-PIE if not set | 48 | # Fallback to no-PIE if not set |
51 | GCCPIE ??= "" | 49 | GCCPIE ??= "" |