diff options
author | Khem Raj <raj.khem@gmail.com> | 2023-06-22 17:15:54 -0700 |
---|---|---|
committer | Khem Raj <raj.khem@gmail.com> | 2023-09-19 19:59:21 -0700 |
commit | d52f203a6bd9e8715cd6fff255e4d2a5a5f78b52 (patch) | |
tree | 162c9187e556c848f6dba53e72ffc8e9db01fe4d /recipes-devtools/clang/clang/0004-llvm-TargetLibraryInfo-Undefine-libc-functions-if-th.patch | |
parent | e12fa95bb0193fad9b62cbeafee687507763506c (diff) | |
download | meta-clang-d52f203a6bd9e8715cd6fff255e4d2a5a5f78b52.tar.gz |
clang: Update to 17.0.1 release branch
Drop riscv multilib patch it does not work with clang 17.0
Release Notes are below
https://releases.llvm.org/17.0.1/docs/ReleaseNotes.html
https://releases.llvm.org/17.0.1/tools/clang/docs/ReleaseNotes.html
https://releases.llvm.org/17.0.1/tools/lld/docs/ReleaseNotes.html
https://releases.llvm.org/17.0.1/tools/clang/tools/extra/docs/ReleaseNotes.html
https://releases.llvm.org/17.0.1/projects/libcxx/docs/ReleaseNotes.html
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'recipes-devtools/clang/clang/0004-llvm-TargetLibraryInfo-Undefine-libc-functions-if-th.patch')
-rw-r--r-- | recipes-devtools/clang/clang/0004-llvm-TargetLibraryInfo-Undefine-libc-functions-if-th.patch | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/recipes-devtools/clang/clang/0004-llvm-TargetLibraryInfo-Undefine-libc-functions-if-th.patch b/recipes-devtools/clang/clang/0004-llvm-TargetLibraryInfo-Undefine-libc-functions-if-th.patch index 6927ebd..4d13016 100644 --- a/recipes-devtools/clang/clang/0004-llvm-TargetLibraryInfo-Undefine-libc-functions-if-th.patch +++ b/recipes-devtools/clang/clang/0004-llvm-TargetLibraryInfo-Undefine-libc-functions-if-th.patch | |||
@@ -1,4 +1,4 @@ | |||
1 | From d333a8f789767d1aad9288861dbde840fc9de14a Mon Sep 17 00:00:00 2001 | 1 | From f258983025dd6a1d8a72f244ac97893c895e5b21 Mon Sep 17 00:00:00 2001 |
2 | From: Khem Raj <raj.khem@gmail.com> | 2 | From: Khem Raj <raj.khem@gmail.com> |
3 | Date: Sat, 21 May 2016 00:33:20 +0000 | 3 | Date: Sat, 21 May 2016 00:33:20 +0000 |
4 | Subject: [PATCH] llvm: TargetLibraryInfo: Undefine libc functions if they are | 4 | Subject: [PATCH] llvm: TargetLibraryInfo: Undefine libc functions if they are |
@@ -14,10 +14,10 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com> | |||
14 | 1 file changed, 21 insertions(+), 1 deletion(-) | 14 | 1 file changed, 21 insertions(+), 1 deletion(-) |
15 | 15 | ||
16 | diff --git a/llvm/include/llvm/Analysis/TargetLibraryInfo.def b/llvm/include/llvm/Analysis/TargetLibraryInfo.def | 16 | diff --git a/llvm/include/llvm/Analysis/TargetLibraryInfo.def b/llvm/include/llvm/Analysis/TargetLibraryInfo.def |
17 | index 5f6af3514fc2..9ac2e912590f 100644 | 17 | index 03ac422d3e6b..3080b4758894 100644 |
18 | --- a/llvm/include/llvm/Analysis/TargetLibraryInfo.def | 18 | --- a/llvm/include/llvm/Analysis/TargetLibraryInfo.def |
19 | +++ b/llvm/include/llvm/Analysis/TargetLibraryInfo.def | 19 | +++ b/llvm/include/llvm/Analysis/TargetLibraryInfo.def |
20 | @@ -1303,6 +1303,9 @@ TLI_DEFINE_STRING_INTERNAL("fopen") | 20 | @@ -1348,6 +1348,9 @@ TLI_DEFINE_STRING_INTERNAL("fopen") |
21 | TLI_DEFINE_SIG_INTERNAL(Ptr, Ptr, Ptr) | 21 | TLI_DEFINE_SIG_INTERNAL(Ptr, Ptr, Ptr) |
22 | 22 | ||
23 | /// FILE *fopen64(const char *filename, const char *opentype) | 23 | /// FILE *fopen64(const char *filename, const char *opentype) |
@@ -27,7 +27,7 @@ index 5f6af3514fc2..9ac2e912590f 100644 | |||
27 | TLI_DEFINE_ENUM_INTERNAL(fopen64) | 27 | TLI_DEFINE_ENUM_INTERNAL(fopen64) |
28 | TLI_DEFINE_STRING_INTERNAL("fopen64") | 28 | TLI_DEFINE_STRING_INTERNAL("fopen64") |
29 | TLI_DEFINE_SIG_INTERNAL(Ptr, Ptr, Ptr) | 29 | TLI_DEFINE_SIG_INTERNAL(Ptr, Ptr, Ptr) |
30 | @@ -1381,7 +1384,9 @@ TLI_DEFINE_SIG_INTERNAL(Int, Ptr, Long, Int) | 30 | @@ -1426,7 +1429,9 @@ TLI_DEFINE_SIG_INTERNAL(Int, Ptr, Long, Int) |
31 | TLI_DEFINE_ENUM_INTERNAL(fseeko) | 31 | TLI_DEFINE_ENUM_INTERNAL(fseeko) |
32 | TLI_DEFINE_STRING_INTERNAL("fseeko") | 32 | TLI_DEFINE_STRING_INTERNAL("fseeko") |
33 | TLI_DEFINE_SIG_INTERNAL(Int, Ptr, IntX, Int) | 33 | TLI_DEFINE_SIG_INTERNAL(Int, Ptr, IntX, Int) |
@@ -38,7 +38,7 @@ index 5f6af3514fc2..9ac2e912590f 100644 | |||
38 | /// int fseeko64(FILE *stream, off64_t offset, int whence) | 38 | /// int fseeko64(FILE *stream, off64_t offset, int whence) |
39 | TLI_DEFINE_ENUM_INTERNAL(fseeko64) | 39 | TLI_DEFINE_ENUM_INTERNAL(fseeko64) |
40 | TLI_DEFINE_STRING_INTERNAL("fseeko64") | 40 | TLI_DEFINE_STRING_INTERNAL("fseeko64") |
41 | @@ -1398,6 +1403,9 @@ TLI_DEFINE_STRING_INTERNAL("fstat") | 41 | @@ -1443,6 +1448,9 @@ TLI_DEFINE_STRING_INTERNAL("fstat") |
42 | TLI_DEFINE_SIG_INTERNAL(Int, Int, Ptr) | 42 | TLI_DEFINE_SIG_INTERNAL(Int, Int, Ptr) |
43 | 43 | ||
44 | /// int fstat64(int filedes, struct stat64 *buf) | 44 | /// int fstat64(int filedes, struct stat64 *buf) |
@@ -48,7 +48,7 @@ index 5f6af3514fc2..9ac2e912590f 100644 | |||
48 | TLI_DEFINE_ENUM_INTERNAL(fstat64) | 48 | TLI_DEFINE_ENUM_INTERNAL(fstat64) |
49 | TLI_DEFINE_STRING_INTERNAL("fstat64") | 49 | TLI_DEFINE_STRING_INTERNAL("fstat64") |
50 | TLI_DEFINE_SIG_INTERNAL(Int, Int, Ptr) | 50 | TLI_DEFINE_SIG_INTERNAL(Int, Int, Ptr) |
51 | @@ -1423,6 +1431,9 @@ TLI_DEFINE_STRING_INTERNAL("ftello") | 51 | @@ -1468,6 +1476,9 @@ TLI_DEFINE_STRING_INTERNAL("ftello") |
52 | TLI_DEFINE_SIG_INTERNAL(IntPlus, Ptr) | 52 | TLI_DEFINE_SIG_INTERNAL(IntPlus, Ptr) |
53 | 53 | ||
54 | /// off64_t ftello64(FILE *stream) | 54 | /// off64_t ftello64(FILE *stream) |
@@ -58,7 +58,7 @@ index 5f6af3514fc2..9ac2e912590f 100644 | |||
58 | TLI_DEFINE_ENUM_INTERNAL(ftello64) | 58 | TLI_DEFINE_ENUM_INTERNAL(ftello64) |
59 | TLI_DEFINE_STRING_INTERNAL("ftello64") | 59 | TLI_DEFINE_STRING_INTERNAL("ftello64") |
60 | TLI_DEFINE_SIG_INTERNAL(Int64, Ptr) | 60 | TLI_DEFINE_SIG_INTERNAL(Int64, Ptr) |
61 | @@ -1633,6 +1644,9 @@ TLI_DEFINE_STRING_INTERNAL("lstat") | 61 | @@ -1678,6 +1689,9 @@ TLI_DEFINE_STRING_INTERNAL("lstat") |
62 | TLI_DEFINE_SIG_INTERNAL(Int, Ptr, Ptr) | 62 | TLI_DEFINE_SIG_INTERNAL(Int, Ptr, Ptr) |
63 | 63 | ||
64 | /// int lstat64(const char *path, struct stat64 *buf); | 64 | /// int lstat64(const char *path, struct stat64 *buf); |
@@ -68,7 +68,7 @@ index 5f6af3514fc2..9ac2e912590f 100644 | |||
68 | TLI_DEFINE_ENUM_INTERNAL(lstat64) | 68 | TLI_DEFINE_ENUM_INTERNAL(lstat64) |
69 | TLI_DEFINE_STRING_INTERNAL("lstat64") | 69 | TLI_DEFINE_STRING_INTERNAL("lstat64") |
70 | TLI_DEFINE_SIG_INTERNAL(Int, Ptr, Ptr) | 70 | TLI_DEFINE_SIG_INTERNAL(Int, Ptr, Ptr) |
71 | @@ -2045,6 +2059,9 @@ TLI_DEFINE_STRING_INTERNAL("stat") | 71 | @@ -2090,6 +2104,9 @@ TLI_DEFINE_STRING_INTERNAL("stat") |
72 | TLI_DEFINE_SIG_INTERNAL(Int, Ptr, Ptr) | 72 | TLI_DEFINE_SIG_INTERNAL(Int, Ptr, Ptr) |
73 | 73 | ||
74 | /// int stat64(const char *path, struct stat64 *buf); | 74 | /// int stat64(const char *path, struct stat64 *buf); |
@@ -78,7 +78,7 @@ index 5f6af3514fc2..9ac2e912590f 100644 | |||
78 | TLI_DEFINE_ENUM_INTERNAL(stat64) | 78 | TLI_DEFINE_ENUM_INTERNAL(stat64) |
79 | TLI_DEFINE_STRING_INTERNAL("stat64") | 79 | TLI_DEFINE_STRING_INTERNAL("stat64") |
80 | TLI_DEFINE_SIG_INTERNAL(Int, Ptr, Ptr) | 80 | TLI_DEFINE_SIG_INTERNAL(Int, Ptr, Ptr) |
81 | @@ -2270,6 +2287,9 @@ TLI_DEFINE_STRING_INTERNAL("tmpfile") | 81 | @@ -2315,6 +2332,9 @@ TLI_DEFINE_STRING_INTERNAL("tmpfile") |
82 | TLI_DEFINE_SIG_INTERNAL(Ptr) | 82 | TLI_DEFINE_SIG_INTERNAL(Ptr) |
83 | 83 | ||
84 | /// FILE *tmpfile64(void) | 84 | /// FILE *tmpfile64(void) |