mirror of
https://git.proxmox.com/git/llvm-toolchain
synced 2025-06-12 11:06:17 +00:00
rebase the patch
This commit is contained in:
parent
d0ff91c840
commit
044d84a55c
14
debian/patches/declare_clear_cache.diff
vendored
14
debian/patches/declare_clear_cache.diff
vendored
@ -1,13 +1,13 @@
|
||||
Index: llvm-toolchain-snapshot_3.4~svn188990/lib/Support/Unix/Memory.inc
|
||||
Index: llvm-toolchain-snapshot_3.7~svn227300/lib/Support/Unix/Memory.inc
|
||||
===================================================================
|
||||
--- llvm-toolchain-snapshot_3.4~svn188990.orig/lib/Support/Unix/Memory.inc 2013-08-22 09:07:39.252608486 +0200
|
||||
+++ llvm-toolchain-snapshot_3.4~svn188990/lib/Support/Unix/Memory.inc 2013-08-22 09:07:39.248608486 +0200
|
||||
@@ -336,7 +336,7 @@
|
||||
--- llvm-toolchain-snapshot_3.7~svn227300.orig/lib/Support/Unix/Memory.inc
|
||||
+++ llvm-toolchain-snapshot_3.7~svn227300/lib/Support/Unix/Memory.inc
|
||||
@@ -338,7 +338,7 @@ void Memory::InvalidateInstructionCache(
|
||||
// FIXME: Can we safely always call this for __GNUC__ everywhere?
|
||||
const char *Start = static_cast<const char *>(Addr);
|
||||
const char *End = Start + Len;
|
||||
- __clear_cache(const_cast<char *>(Start), const_cast<char *>(End));
|
||||
+ __builtin___clear_cache(const_cast<char *>(Start), const_cast<char *>(End));
|
||||
# elif defined(__mips__)
|
||||
const char *Start = static_cast<const char *>(Addr);
|
||||
# if defined(ANDROID)
|
||||
# endif
|
||||
|
||||
#endif // end apple
|
||||
|
Loading…
Reference in New Issue
Block a user