projects
/
llvm-toolchain-5.0.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
36ec30e
)
declare_clear_cache
author
LLVM Packaging Team
<pkg-llvm-team@lists.alioth.debian.org>
Sun, 6 May 2018 15:42:16 +0000
(16:42 +0100)
committer
Peter Wu
<peter@lekensteyn.nl>
Sun, 6 May 2018 15:42:16 +0000
(16:42 +0100)
Gbp-Pq: Name declare_clear_cache.diff
lib/Support/Unix/Memory.inc
patch
|
blob
|
history
diff --git
a/lib/Support/Unix/Memory.inc
b/lib/Support/Unix/Memory.inc
index dd39ef935bf92611389380b92f71c65a15c04287..c23a2b5fdcd7c4e1f626d7b74c14e6e7b7863f68 100644
(file)
--- a/
lib/Support/Unix/Memory.inc
+++ b/
lib/Support/Unix/Memory.inc
@@
-326,7
+326,7
@@
void Memory::InvalidateInstructionCache(const void *Addr,
// 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));
# endif
#endif // end apple