From f41081df5b75e0c928668208cd4af68cb0566de9 Mon Sep 17 00:00:00 2001 From: Sylvestre Ledru Date: Sat, 26 Nov 2022 16:16:58 +0100 Subject: [PATCH] rebase of the patches --- debian/patches/declare_clear_cache.diff | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/debian/patches/declare_clear_cache.diff b/debian/patches/declare_clear_cache.diff index 2fa2c634..2869ad60 100644 --- a/debian/patches/declare_clear_cache.diff +++ b/debian/patches/declare_clear_cache.diff @@ -2,16 +2,16 @@ lib/Support/Unix/Memory.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -Index: llvm-toolchain-snapshot_14~++20211114120952+5b4bfd8c2415/llvm/lib/Support/Unix/Memory.inc +Index: llvm-toolchain-snapshot_16~++20221126040739+502c246519ec/llvm/lib/Support/Unix/Memory.inc =================================================================== ---- llvm-toolchain-snapshot_14~++20211114120952+5b4bfd8c2415.orig/llvm/lib/Support/Unix/Memory.inc -+++ llvm-toolchain-snapshot_14~++20211114120952+5b4bfd8c2415/llvm/lib/Support/Unix/Memory.inc -@@ -245,7 +245,7 @@ void Memory::InvalidateInstructionCache( +--- llvm-toolchain-snapshot_16~++20221126040739+502c246519ec.orig/llvm/lib/Support/Unix/Memory.inc ++++ llvm-toolchain-snapshot_16~++20221126040739+502c246519ec/llvm/lib/Support/Unix/Memory.inc +@@ -242,7 +242,7 @@ void Memory::InvalidateInstructionCache( // FIXME: Can we safely always call this for __GNUC__ everywhere? const char *Start = static_cast(Addr); const char *End = Start + Len; - __clear_cache(const_cast(Start), const_cast(End)); + __builtin___clear_cache(const_cast(Start), const_cast(End)); - # endif + #endif - #endif // end apple + #endif // end apple