diff --git a/upstream_utils/llvm_patches/0001-Remove-StringRef-ArrayRef-and-Optional.patch b/upstream_utils/llvm_patches/0001-Remove-StringRef-ArrayRef-and-Optional.patch index 15328b3885..e9f00f7c46 100644 --- a/upstream_utils/llvm_patches/0001-Remove-StringRef-ArrayRef-and-Optional.patch +++ b/upstream_utils/llvm_patches/0001-Remove-StringRef-ArrayRef-and-Optional.patch @@ -1,7 +1,7 @@ From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 From: PJ Reiniger Date: Sat, 7 May 2022 22:09:18 -0400 -Subject: [PATCH 01/36] Remove StringRef, ArrayRef, and Optional +Subject: [PATCH 01/35] Remove StringRef, ArrayRef, and Optional --- llvm/include/llvm/ADT/PointerUnion.h | 1 - diff --git a/upstream_utils/llvm_patches/0002-Wrap-std-min-max-calls-in-parens-for-Windows-warning.patch b/upstream_utils/llvm_patches/0002-Wrap-std-min-max-calls-in-parens-for-Windows-warning.patch index 02d082e28a..2a4080aecf 100644 --- a/upstream_utils/llvm_patches/0002-Wrap-std-min-max-calls-in-parens-for-Windows-warning.patch +++ b/upstream_utils/llvm_patches/0002-Wrap-std-min-max-calls-in-parens-for-Windows-warning.patch @@ -1,7 +1,7 @@ From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 From: PJ Reiniger Date: Sat, 7 May 2022 22:12:41 -0400 -Subject: [PATCH 02/36] Wrap std::min/max calls in parens, for Windows warnings +Subject: [PATCH 02/35] Wrap std::min/max calls in parens, for Windows warnings --- llvm/include/llvm/ADT/DenseMap.h | 4 ++-- diff --git a/upstream_utils/llvm_patches/0003-Change-unique_function-storage-size.patch b/upstream_utils/llvm_patches/0003-Change-unique_function-storage-size.patch index 985b49e352..3c11dbd1ab 100644 --- a/upstream_utils/llvm_patches/0003-Change-unique_function-storage-size.patch +++ b/upstream_utils/llvm_patches/0003-Change-unique_function-storage-size.patch @@ -1,7 +1,7 @@ From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 From: PJ Reiniger Date: Sat, 7 May 2022 22:13:55 -0400 -Subject: [PATCH 03/36] Change unique_function storage size +Subject: [PATCH 03/35] Change unique_function storage size --- llvm/include/llvm/ADT/FunctionExtras.h | 4 ++-- diff --git a/upstream_utils/llvm_patches/0004-Threading-updates.patch b/upstream_utils/llvm_patches/0004-Threading-updates.patch index cd00f749f5..b85bf093b1 100644 --- a/upstream_utils/llvm_patches/0004-Threading-updates.patch +++ b/upstream_utils/llvm_patches/0004-Threading-updates.patch @@ -1,7 +1,7 @@ From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 From: PJ Reiniger Date: Sat, 7 May 2022 22:17:19 -0400 -Subject: [PATCH 04/36] Threading updates +Subject: [PATCH 04/35] Threading updates - Remove guards for threads and exception - Prefer scope gaurd over lock gaurd diff --git a/upstream_utils/llvm_patches/0005-ifdef-guard-safety.patch b/upstream_utils/llvm_patches/0005-ifdef-guard-safety.patch index 3ef68089e0..ae5adaa181 100644 --- a/upstream_utils/llvm_patches/0005-ifdef-guard-safety.patch +++ b/upstream_utils/llvm_patches/0005-ifdef-guard-safety.patch @@ -1,7 +1,7 @@ From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 From: PJ Reiniger Date: Sat, 7 May 2022 22:28:13 -0400 -Subject: [PATCH 05/36] \#ifdef guard safety +Subject: [PATCH 05/35] \#ifdef guard safety Prevents redefinition if someone is pulling in real LLVM, since the macros are in global namespace --- diff --git a/upstream_utils/llvm_patches/0006-Explicitly-use-std.patch b/upstream_utils/llvm_patches/0006-Explicitly-use-std.patch index 7cdf6d48d8..42405fb106 100644 --- a/upstream_utils/llvm_patches/0006-Explicitly-use-std.patch +++ b/upstream_utils/llvm_patches/0006-Explicitly-use-std.patch @@ -1,7 +1,7 @@ From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 From: PJ Reiniger Date: Sat, 7 May 2022 22:37:34 -0400 -Subject: [PATCH 06/36] Explicitly use std:: +Subject: [PATCH 06/35] Explicitly use std:: --- llvm/include/llvm/ADT/SmallSet.h | 2 +- diff --git a/upstream_utils/llvm_patches/0007-Remove-format_provider.patch b/upstream_utils/llvm_patches/0007-Remove-format_provider.patch index 6283d65222..2e35494be2 100644 --- a/upstream_utils/llvm_patches/0007-Remove-format_provider.patch +++ b/upstream_utils/llvm_patches/0007-Remove-format_provider.patch @@ -1,7 +1,7 @@ From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 From: PJ Reiniger Date: Sat, 7 May 2022 22:53:50 -0400 -Subject: [PATCH 07/36] Remove format_provider +Subject: [PATCH 07/35] Remove format_provider --- llvm/include/llvm/Support/Chrono.h | 114 ------------------------ diff --git a/upstream_utils/llvm_patches/0008-Add-compiler-warning-pragmas.patch b/upstream_utils/llvm_patches/0008-Add-compiler-warning-pragmas.patch index 374c92a4f0..b597ba5a4e 100644 --- a/upstream_utils/llvm_patches/0008-Add-compiler-warning-pragmas.patch +++ b/upstream_utils/llvm_patches/0008-Add-compiler-warning-pragmas.patch @@ -1,7 +1,7 @@ From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 From: PJ Reiniger Date: Sun, 8 May 2022 13:34:07 -0400 -Subject: [PATCH 08/36] Add compiler warning pragmas +Subject: [PATCH 08/35] Add compiler warning pragmas --- llvm/include/llvm/ADT/FunctionExtras.h | 11 +++++++++++ diff --git a/upstream_utils/llvm_patches/0009-Remove-unused-functions.patch b/upstream_utils/llvm_patches/0009-Remove-unused-functions.patch index 6908a9164d..cabe680419 100644 --- a/upstream_utils/llvm_patches/0009-Remove-unused-functions.patch +++ b/upstream_utils/llvm_patches/0009-Remove-unused-functions.patch @@ -1,7 +1,7 @@ From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 From: PJ Reiniger Date: Sun, 8 May 2022 13:43:50 -0400 -Subject: [PATCH 09/36] Remove unused functions +Subject: [PATCH 09/35] Remove unused functions --- llvm/include/llvm/ADT/SmallString.h | 77 ------ diff --git a/upstream_utils/llvm_patches/0010-Detemplatize-SmallVectorBase.patch b/upstream_utils/llvm_patches/0010-Detemplatize-SmallVectorBase.patch index e6828a33ae..beea0fb91a 100644 --- a/upstream_utils/llvm_patches/0010-Detemplatize-SmallVectorBase.patch +++ b/upstream_utils/llvm_patches/0010-Detemplatize-SmallVectorBase.patch @@ -1,7 +1,7 @@ From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 From: PJ Reiniger Date: Thu, 5 May 2022 23:18:34 -0400 -Subject: [PATCH 10/36] Detemplatize SmallVectorBase +Subject: [PATCH 10/35] Detemplatize SmallVectorBase --- llvm/include/llvm/ADT/SmallVector.h | 35 ++++++++++------------------- diff --git a/upstream_utils/llvm_patches/0011-Add-vectors-to-raw_ostream.patch b/upstream_utils/llvm_patches/0011-Add-vectors-to-raw_ostream.patch index 0d91c3692e..606f5a38b2 100644 --- a/upstream_utils/llvm_patches/0011-Add-vectors-to-raw_ostream.patch +++ b/upstream_utils/llvm_patches/0011-Add-vectors-to-raw_ostream.patch @@ -1,7 +1,7 @@ From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 From: PJ Reiniger Date: Sun, 8 May 2022 13:48:59 -0400 -Subject: [PATCH 11/36] Add vectors to raw_ostream +Subject: [PATCH 11/35] Add vectors to raw_ostream --- llvm/include/llvm/Support/raw_ostream.h | 115 ++++++++++++++++++++++++ diff --git a/upstream_utils/llvm_patches/0013-Delete-numbers-from-MathExtras.patch b/upstream_utils/llvm_patches/0012-Delete-numbers-from-MathExtras.patch similarity index 98% rename from upstream_utils/llvm_patches/0013-Delete-numbers-from-MathExtras.patch rename to upstream_utils/llvm_patches/0012-Delete-numbers-from-MathExtras.patch index caf241ea4d..3f45e36062 100644 --- a/upstream_utils/llvm_patches/0013-Delete-numbers-from-MathExtras.patch +++ b/upstream_utils/llvm_patches/0012-Delete-numbers-from-MathExtras.patch @@ -1,7 +1,7 @@ From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 From: PJ Reiniger Date: Thu, 5 May 2022 18:09:45 -0400 -Subject: [PATCH 13/36] Delete numbers from MathExtras +Subject: [PATCH 12/35] Delete numbers from MathExtras --- llvm/include/llvm/Support/MathExtras.h | 37 -------------------------- diff --git a/upstream_utils/llvm_patches/0012-EpochTracker-ABI-macro.patch b/upstream_utils/llvm_patches/0012-EpochTracker-ABI-macro.patch deleted file mode 100644 index debe6dd4f5..0000000000 --- a/upstream_utils/llvm_patches/0012-EpochTracker-ABI-macro.patch +++ /dev/null @@ -1,22 +0,0 @@ -From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 -From: PJ Reiniger -Date: Wed, 4 May 2022 00:01:00 -0400 -Subject: [PATCH 12/36] EpochTracker ABI macro - ---- - llvm/include/llvm/ADT/EpochTracker.h | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -diff --git a/llvm/include/llvm/ADT/EpochTracker.h b/llvm/include/llvm/ADT/EpochTracker.h -index fc41d6f2c92d2f9876c741067b5645a74663db04..56d0acda2c1a0e390cfed086fa298b650c4a561f 100644 ---- a/llvm/include/llvm/ADT/EpochTracker.h -+++ b/llvm/include/llvm/ADT/EpochTracker.h -@@ -22,7 +22,7 @@ - - namespace llvm { - --#if LLVM_ENABLE_ABI_BREAKING_CHECKS -+#ifndef NDEBUG //ifndef LLVM_ENABLE_ABI_BREAKING_CHECKS - #define LLVM_DEBUGEPOCHBASE_HANDLEBASE_EMPTYBASE - - /// A base class for data structure classes wishing to make iterators diff --git a/upstream_utils/llvm_patches/0014-Add-lerp-and-sgn.patch b/upstream_utils/llvm_patches/0013-Add-lerp-and-sgn.patch similarity index 96% rename from upstream_utils/llvm_patches/0014-Add-lerp-and-sgn.patch rename to upstream_utils/llvm_patches/0013-Add-lerp-and-sgn.patch index eff508059b..a54ee556c1 100644 --- a/upstream_utils/llvm_patches/0014-Add-lerp-and-sgn.patch +++ b/upstream_utils/llvm_patches/0013-Add-lerp-and-sgn.patch @@ -1,7 +1,7 @@ From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 From: PJ Reiniger Date: Tue, 3 May 2022 22:50:24 -0400 -Subject: [PATCH 14/36] Add lerp and sgn +Subject: [PATCH 13/35] Add lerp and sgn --- llvm/include/llvm/Support/MathExtras.h | 21 +++++++++++++++++++++ diff --git a/upstream_utils/llvm_patches/0015-Fixup-includes.patch b/upstream_utils/llvm_patches/0014-Fixup-includes.patch similarity index 99% rename from upstream_utils/llvm_patches/0015-Fixup-includes.patch rename to upstream_utils/llvm_patches/0014-Fixup-includes.patch index f5de1a4df6..5ac28d831b 100644 --- a/upstream_utils/llvm_patches/0015-Fixup-includes.patch +++ b/upstream_utils/llvm_patches/0014-Fixup-includes.patch @@ -1,7 +1,7 @@ From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 From: PJ Reiniger Date: Sun, 8 May 2022 16:38:11 -0400 -Subject: [PATCH 15/36] Fixup includes +Subject: [PATCH 14/35] Fixup includes --- llvm/include/llvm/Support/PointerLikeTypeTraits.h | 1 + diff --git a/upstream_utils/llvm_patches/0016-Use-std-is_trivially_copy_constructible.patch b/upstream_utils/llvm_patches/0015-Use-std-is_trivially_copy_constructible.patch similarity index 95% rename from upstream_utils/llvm_patches/0016-Use-std-is_trivially_copy_constructible.patch rename to upstream_utils/llvm_patches/0015-Use-std-is_trivially_copy_constructible.patch index b7552f2b33..729298be2d 100644 --- a/upstream_utils/llvm_patches/0016-Use-std-is_trivially_copy_constructible.patch +++ b/upstream_utils/llvm_patches/0015-Use-std-is_trivially_copy_constructible.patch @@ -1,7 +1,7 @@ From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 From: PJ Reiniger Date: Sun, 8 May 2022 16:42:09 -0400 -Subject: [PATCH 16/36] Use std::is_trivially_copy_constructible +Subject: [PATCH 15/35] Use std::is_trivially_copy_constructible --- llvm/include/llvm/Support/type_traits.h | 16 ---------------- diff --git a/upstream_utils/llvm_patches/0017-Windows-support.patch b/upstream_utils/llvm_patches/0016-Windows-support.patch similarity index 99% rename from upstream_utils/llvm_patches/0017-Windows-support.patch rename to upstream_utils/llvm_patches/0016-Windows-support.patch index 19ef6bdf86..98623d2b7c 100644 --- a/upstream_utils/llvm_patches/0017-Windows-support.patch +++ b/upstream_utils/llvm_patches/0016-Windows-support.patch @@ -1,7 +1,7 @@ From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 From: PJ Reiniger Date: Tue, 3 May 2022 20:22:38 -0400 -Subject: [PATCH 17/36] Windows support +Subject: [PATCH 16/35] Windows support --- .../llvm/Support/Windows/WindowsSupport.h | 45 +++++---- diff --git a/upstream_utils/llvm_patches/0018-Remove-call-to-RtlGetLastNtStatus.patch b/upstream_utils/llvm_patches/0017-Remove-call-to-RtlGetLastNtStatus.patch similarity index 97% rename from upstream_utils/llvm_patches/0018-Remove-call-to-RtlGetLastNtStatus.patch rename to upstream_utils/llvm_patches/0017-Remove-call-to-RtlGetLastNtStatus.patch index 991d914f8d..7ed4a34807 100644 --- a/upstream_utils/llvm_patches/0018-Remove-call-to-RtlGetLastNtStatus.patch +++ b/upstream_utils/llvm_patches/0017-Remove-call-to-RtlGetLastNtStatus.patch @@ -1,7 +1,7 @@ From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 From: Tyler Veness Date: Tue, 17 Sep 2024 21:19:52 -0700 -Subject: [PATCH 18/36] Remove call to RtlGetLastNtStatus() +Subject: [PATCH 17/35] Remove call to RtlGetLastNtStatus() --- llvm/lib/Support/ErrorHandling.cpp | 23 ----------------------- diff --git a/upstream_utils/llvm_patches/0019-Prefer-fmtlib.patch b/upstream_utils/llvm_patches/0018-Prefer-fmtlib.patch similarity index 98% rename from upstream_utils/llvm_patches/0019-Prefer-fmtlib.patch rename to upstream_utils/llvm_patches/0018-Prefer-fmtlib.patch index 6574605f03..0394d68c6d 100644 --- a/upstream_utils/llvm_patches/0019-Prefer-fmtlib.patch +++ b/upstream_utils/llvm_patches/0018-Prefer-fmtlib.patch @@ -1,7 +1,7 @@ From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 From: PJ Reiniger Date: Sun, 8 May 2022 16:46:20 -0400 -Subject: [PATCH 19/36] Prefer fmtlib +Subject: [PATCH 18/35] Prefer fmtlib --- llvm/lib/Support/ErrorHandling.cpp | 20 ++++++-------------- diff --git a/upstream_utils/llvm_patches/0020-Prefer-wpi-s-fs.h.patch b/upstream_utils/llvm_patches/0019-Prefer-wpi-s-fs.h.patch similarity index 96% rename from upstream_utils/llvm_patches/0020-Prefer-wpi-s-fs.h.patch rename to upstream_utils/llvm_patches/0019-Prefer-wpi-s-fs.h.patch index 9a82f9d8c4..b1d4b9806f 100644 --- a/upstream_utils/llvm_patches/0020-Prefer-wpi-s-fs.h.patch +++ b/upstream_utils/llvm_patches/0019-Prefer-wpi-s-fs.h.patch @@ -1,7 +1,7 @@ From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 From: PJ Reiniger Date: Sun, 8 May 2022 16:49:36 -0400 -Subject: [PATCH 20/36] Prefer wpi's fs.h +Subject: [PATCH 19/35] Prefer wpi's fs.h --- llvm/include/llvm/Support/raw_ostream.h | 7 ++----- diff --git a/upstream_utils/llvm_patches/0021-Remove-unused-functions.patch b/upstream_utils/llvm_patches/0020-Remove-unused-functions.patch similarity index 99% rename from upstream_utils/llvm_patches/0021-Remove-unused-functions.patch rename to upstream_utils/llvm_patches/0020-Remove-unused-functions.patch index 4161c4e789..9671927f6c 100644 --- a/upstream_utils/llvm_patches/0021-Remove-unused-functions.patch +++ b/upstream_utils/llvm_patches/0020-Remove-unused-functions.patch @@ -1,7 +1,7 @@ From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 From: PJ Reiniger Date: Sun, 8 May 2022 19:16:51 -0400 -Subject: [PATCH 21/36] Remove unused functions +Subject: [PATCH 20/35] Remove unused functions --- llvm/include/llvm/Support/VersionTuple.h | 1 - diff --git a/upstream_utils/llvm_patches/0022-OS-specific-changes.patch b/upstream_utils/llvm_patches/0021-OS-specific-changes.patch similarity index 97% rename from upstream_utils/llvm_patches/0022-OS-specific-changes.patch rename to upstream_utils/llvm_patches/0021-OS-specific-changes.patch index 92def1c7c1..50f569a03a 100644 --- a/upstream_utils/llvm_patches/0022-OS-specific-changes.patch +++ b/upstream_utils/llvm_patches/0021-OS-specific-changes.patch @@ -1,7 +1,7 @@ From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 From: PJ Reiniger Date: Sun, 8 May 2022 19:30:43 -0400 -Subject: [PATCH 22/36] OS-specific changes +Subject: [PATCH 21/35] OS-specific changes --- llvm/lib/Support/ErrorHandling.cpp | 16 +++++++--------- diff --git a/upstream_utils/llvm_patches/0023-Use-SmallVector-for-UTF-conversion.patch b/upstream_utils/llvm_patches/0022-Use-SmallVector-for-UTF-conversion.patch similarity index 99% rename from upstream_utils/llvm_patches/0023-Use-SmallVector-for-UTF-conversion.patch rename to upstream_utils/llvm_patches/0022-Use-SmallVector-for-UTF-conversion.patch index bb096a2b05..ef564d6b36 100644 --- a/upstream_utils/llvm_patches/0023-Use-SmallVector-for-UTF-conversion.patch +++ b/upstream_utils/llvm_patches/0022-Use-SmallVector-for-UTF-conversion.patch @@ -1,7 +1,7 @@ From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 From: PJ Reiniger Date: Mon, 9 May 2022 00:04:30 -0400 -Subject: [PATCH 23/36] Use SmallVector for UTF conversion +Subject: [PATCH 22/35] Use SmallVector for UTF conversion --- llvm/include/llvm/Support/ConvertUTF.h | 6 +++--- diff --git a/upstream_utils/llvm_patches/0024-Prefer-to-use-static-pointers-in-raw_ostream.patch b/upstream_utils/llvm_patches/0023-Prefer-to-use-static-pointers-in-raw_ostream.patch similarity index 95% rename from upstream_utils/llvm_patches/0024-Prefer-to-use-static-pointers-in-raw_ostream.patch rename to upstream_utils/llvm_patches/0023-Prefer-to-use-static-pointers-in-raw_ostream.patch index 709493e04b..5c188c6a69 100644 --- a/upstream_utils/llvm_patches/0024-Prefer-to-use-static-pointers-in-raw_ostream.patch +++ b/upstream_utils/llvm_patches/0023-Prefer-to-use-static-pointers-in-raw_ostream.patch @@ -1,7 +1,7 @@ From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 From: PJ Reiniger Date: Thu, 19 May 2022 00:58:36 -0400 -Subject: [PATCH 24/36] Prefer to use static pointers in raw_ostream +Subject: [PATCH 23/35] Prefer to use static pointers in raw_ostream See #1401 --- diff --git a/upstream_utils/llvm_patches/0025-constexpr-endian-byte-swap.patch b/upstream_utils/llvm_patches/0024-constexpr-endian-byte-swap.patch similarity index 94% rename from upstream_utils/llvm_patches/0025-constexpr-endian-byte-swap.patch rename to upstream_utils/llvm_patches/0024-constexpr-endian-byte-swap.patch index 3c86893b47..8368558bfb 100644 --- a/upstream_utils/llvm_patches/0025-constexpr-endian-byte-swap.patch +++ b/upstream_utils/llvm_patches/0024-constexpr-endian-byte-swap.patch @@ -1,7 +1,7 @@ From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 From: PJ Reiniger Date: Fri, 1 Mar 2024 11:56:17 -0800 -Subject: [PATCH 25/36] constexpr endian byte swap +Subject: [PATCH 24/35] constexpr endian byte swap --- llvm/include/llvm/Support/Endian.h | 4 +++- diff --git a/upstream_utils/llvm_patches/0026-Copy-type-traits-from-STLExtras.h-into-PointerUnion..patch b/upstream_utils/llvm_patches/0025-Copy-type-traits-from-STLExtras.h-into-PointerUnion..patch similarity index 97% rename from upstream_utils/llvm_patches/0026-Copy-type-traits-from-STLExtras.h-into-PointerUnion..patch rename to upstream_utils/llvm_patches/0025-Copy-type-traits-from-STLExtras.h-into-PointerUnion..patch index 1595b22e4f..d0d07e61ba 100644 --- a/upstream_utils/llvm_patches/0026-Copy-type-traits-from-STLExtras.h-into-PointerUnion..patch +++ b/upstream_utils/llvm_patches/0025-Copy-type-traits-from-STLExtras.h-into-PointerUnion..patch @@ -1,7 +1,7 @@ From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 From: Tyler Veness Date: Wed, 10 Aug 2022 17:07:52 -0700 -Subject: [PATCH 26/36] Copy type traits from STLExtras.h into PointerUnion.h +Subject: [PATCH 25/35] Copy type traits from STLExtras.h into PointerUnion.h --- llvm/include/llvm/ADT/PointerUnion.h | 46 ++++++++++++++++++++++++++++ diff --git a/upstream_utils/llvm_patches/0027-Unused-variable-in-release-mode.patch b/upstream_utils/llvm_patches/0026-Unused-variable-in-release-mode.patch similarity index 94% rename from upstream_utils/llvm_patches/0027-Unused-variable-in-release-mode.patch rename to upstream_utils/llvm_patches/0026-Unused-variable-in-release-mode.patch index a3062fc0fd..612b42f47d 100644 --- a/upstream_utils/llvm_patches/0027-Unused-variable-in-release-mode.patch +++ b/upstream_utils/llvm_patches/0026-Unused-variable-in-release-mode.patch @@ -1,7 +1,7 @@ From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 From: Leander Schulten Date: Mon, 10 Jul 2023 00:53:43 +0200 -Subject: [PATCH 27/36] Unused variable in release mode +Subject: [PATCH 26/35] Unused variable in release mode --- llvm/include/llvm/ADT/DenseMap.h | 2 +- diff --git a/upstream_utils/llvm_patches/0028-Use-C-20-bit-header.patch b/upstream_utils/llvm_patches/0027-Use-C-20-bit-header.patch similarity index 99% rename from upstream_utils/llvm_patches/0028-Use-C-20-bit-header.patch rename to upstream_utils/llvm_patches/0027-Use-C-20-bit-header.patch index f97d04c714..addc1bdded 100644 --- a/upstream_utils/llvm_patches/0028-Use-C-20-bit-header.patch +++ b/upstream_utils/llvm_patches/0027-Use-C-20-bit-header.patch @@ -1,7 +1,7 @@ From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 From: Tyler Veness Date: Tue, 11 Jul 2023 22:56:09 -0700 -Subject: [PATCH 28/36] Use C++20 header +Subject: [PATCH 27/35] Use C++20 header --- llvm/include/llvm/ADT/DenseMap.h | 3 +- diff --git a/upstream_utils/llvm_patches/0029-Remove-DenseMap-GTest-printer-test.patch b/upstream_utils/llvm_patches/0028-Remove-DenseMap-GTest-printer-test.patch similarity index 94% rename from upstream_utils/llvm_patches/0029-Remove-DenseMap-GTest-printer-test.patch rename to upstream_utils/llvm_patches/0028-Remove-DenseMap-GTest-printer-test.patch index f66810259d..0b9fd6bef9 100644 --- a/upstream_utils/llvm_patches/0029-Remove-DenseMap-GTest-printer-test.patch +++ b/upstream_utils/llvm_patches/0028-Remove-DenseMap-GTest-printer-test.patch @@ -1,7 +1,7 @@ From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 From: Tyler Veness Date: Sun, 30 Jul 2023 14:17:37 -0700 -Subject: [PATCH 29/36] Remove DenseMap GTest printer test +Subject: [PATCH 28/35] Remove DenseMap GTest printer test LLVM modifies internal GTest headers to support it, which we can't do. --- diff --git a/upstream_utils/llvm_patches/0030-raw_ostream-Add-SetNumBytesInBuffer.patch b/upstream_utils/llvm_patches/0029-raw_ostream-Add-SetNumBytesInBuffer.patch similarity index 93% rename from upstream_utils/llvm_patches/0030-raw_ostream-Add-SetNumBytesInBuffer.patch rename to upstream_utils/llvm_patches/0029-raw_ostream-Add-SetNumBytesInBuffer.patch index 6e75d7b3c1..ec34677452 100644 --- a/upstream_utils/llvm_patches/0030-raw_ostream-Add-SetNumBytesInBuffer.patch +++ b/upstream_utils/llvm_patches/0029-raw_ostream-Add-SetNumBytesInBuffer.patch @@ -1,7 +1,7 @@ From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 From: Peter Johnson Date: Sun, 29 Oct 2023 23:00:08 -0700 -Subject: [PATCH 30/36] raw_ostream: Add SetNumBytesInBuffer +Subject: [PATCH 29/35] raw_ostream: Add SetNumBytesInBuffer --- llvm/include/llvm/Support/raw_ostream.h | 5 +++++ diff --git a/upstream_utils/llvm_patches/0031-raw_ostream-Replace-errnoAsErrorCode.patch b/upstream_utils/llvm_patches/0030-raw_ostream-Replace-errnoAsErrorCode.patch similarity index 94% rename from upstream_utils/llvm_patches/0031-raw_ostream-Replace-errnoAsErrorCode.patch rename to upstream_utils/llvm_patches/0030-raw_ostream-Replace-errnoAsErrorCode.patch index 31d0bf06a5..9f788de543 100644 --- a/upstream_utils/llvm_patches/0031-raw_ostream-Replace-errnoAsErrorCode.patch +++ b/upstream_utils/llvm_patches/0030-raw_ostream-Replace-errnoAsErrorCode.patch @@ -1,7 +1,7 @@ From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 From: Tyler Veness Date: Tue, 17 Sep 2024 15:30:31 -0700 -Subject: [PATCH 31/36] raw_ostream: Replace errnoAsErrorCode() +Subject: [PATCH 30/35] raw_ostream: Replace errnoAsErrorCode() --- llvm/lib/Support/raw_ostream.cpp | 4 ++-- diff --git a/upstream_utils/llvm_patches/0032-type_traits.h-Add-is_constexpr.patch b/upstream_utils/llvm_patches/0031-type_traits.h-Add-is_constexpr.patch similarity index 94% rename from upstream_utils/llvm_patches/0032-type_traits.h-Add-is_constexpr.patch rename to upstream_utils/llvm_patches/0031-type_traits.h-Add-is_constexpr.patch index 5c5e3208b9..5987995675 100644 --- a/upstream_utils/llvm_patches/0032-type_traits.h-Add-is_constexpr.patch +++ b/upstream_utils/llvm_patches/0031-type_traits.h-Add-is_constexpr.patch @@ -1,7 +1,7 @@ From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 From: Peter Johnson Date: Sat, 2 Dec 2023 15:21:32 -0800 -Subject: [PATCH 32/36] type_traits.h: Add is_constexpr() +Subject: [PATCH 31/35] type_traits.h: Add is_constexpr() --- llvm/include/llvm/Support/type_traits.h | 5 +++++ diff --git a/upstream_utils/llvm_patches/0033-Remove-auto-conversion-from-raw_ostream.patch b/upstream_utils/llvm_patches/0032-Remove-auto-conversion-from-raw_ostream.patch similarity index 95% rename from upstream_utils/llvm_patches/0033-Remove-auto-conversion-from-raw_ostream.patch rename to upstream_utils/llvm_patches/0032-Remove-auto-conversion-from-raw_ostream.patch index 7497968116..0ca081dde1 100644 --- a/upstream_utils/llvm_patches/0033-Remove-auto-conversion-from-raw_ostream.patch +++ b/upstream_utils/llvm_patches/0032-Remove-auto-conversion-from-raw_ostream.patch @@ -1,7 +1,7 @@ From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 From: Tyler Veness Date: Sun, 17 Mar 2024 14:51:11 -0700 -Subject: [PATCH 33/36] Remove auto-conversion from raw_ostream +Subject: [PATCH 32/35] Remove auto-conversion from raw_ostream --- llvm/lib/Support/raw_ostream.cpp | 11 +---------- diff --git a/upstream_utils/llvm_patches/0034-Add-SmallVector-erase_if.patch b/upstream_utils/llvm_patches/0033-Add-SmallVector-erase_if.patch similarity index 95% rename from upstream_utils/llvm_patches/0034-Add-SmallVector-erase_if.patch rename to upstream_utils/llvm_patches/0033-Add-SmallVector-erase_if.patch index 493009ca98..9f5b6e998e 100644 --- a/upstream_utils/llvm_patches/0034-Add-SmallVector-erase_if.patch +++ b/upstream_utils/llvm_patches/0033-Add-SmallVector-erase_if.patch @@ -1,7 +1,7 @@ From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 From: Tyler Veness Date: Tue, 18 Jun 2024 09:07:33 -0700 -Subject: [PATCH 34/36] Add SmallVector erase_if() +Subject: [PATCH 33/35] Add SmallVector erase_if() --- llvm/include/llvm/ADT/SmallVector.h | 8 ++++++++ diff --git a/upstream_utils/llvm_patches/0035-Fix-AlignedCharArrayUnion-for-C-23.patch b/upstream_utils/llvm_patches/0034-Fix-AlignedCharArrayUnion-for-C-23.patch similarity index 96% rename from upstream_utils/llvm_patches/0035-Fix-AlignedCharArrayUnion-for-C-23.patch rename to upstream_utils/llvm_patches/0034-Fix-AlignedCharArrayUnion-for-C-23.patch index 7203296dba..1166236a0d 100644 --- a/upstream_utils/llvm_patches/0035-Fix-AlignedCharArrayUnion-for-C-23.patch +++ b/upstream_utils/llvm_patches/0034-Fix-AlignedCharArrayUnion-for-C-23.patch @@ -1,7 +1,7 @@ From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 From: Tyler Veness Date: Sat, 13 Jul 2024 15:24:30 -0700 -Subject: [PATCH 35/36] Fix AlignedCharArrayUnion for C++23 +Subject: [PATCH 34/35] Fix AlignedCharArrayUnion for C++23 --- llvm/include/llvm/Support/AlignOf.h | 14 +++++--------- diff --git a/upstream_utils/llvm_patches/0036-Fix-minIntN-and-maxIntN-assertions.patch b/upstream_utils/llvm_patches/0035-Fix-minIntN-and-maxIntN-assertions.patch similarity index 95% rename from upstream_utils/llvm_patches/0036-Fix-minIntN-and-maxIntN-assertions.patch rename to upstream_utils/llvm_patches/0035-Fix-minIntN-and-maxIntN-assertions.patch index b96fa47085..3b1af7fceb 100644 --- a/upstream_utils/llvm_patches/0036-Fix-minIntN-and-maxIntN-assertions.patch +++ b/upstream_utils/llvm_patches/0035-Fix-minIntN-and-maxIntN-assertions.patch @@ -1,7 +1,7 @@ From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 From: Tyler Veness Date: Mon, 23 Dec 2024 22:56:29 -0800 -Subject: [PATCH 36/36] Fix minIntN() and maxIntN() assertions +Subject: [PATCH 35/35] Fix minIntN() and maxIntN() assertions --- llvm/include/llvm/Support/MathExtras.h | 4 ++-- diff --git a/wpiutil/src/main/native/thirdparty/llvm/include/wpi/util/EpochTracker.hpp b/wpiutil/src/main/native/thirdparty/llvm/include/wpi/util/EpochTracker.hpp index 25ed6abb98..bc4db4a87a 100644 --- a/wpiutil/src/main/native/thirdparty/llvm/include/wpi/util/EpochTracker.hpp +++ b/wpiutil/src/main/native/thirdparty/llvm/include/wpi/util/EpochTracker.hpp @@ -21,7 +21,7 @@ namespace wpi::util { -#ifndef NDEBUG //ifndef LLVM_ENABLE_ABI_BREAKING_CHECKS +#if LLVM_ENABLE_ABI_BREAKING_CHECKS #define LLVM_DEBUGEPOCHBASE_HANDLEBASE_EMPTYBASE /// A base class for data structure classes wishing to make iterators