projects
/
llvm-toolchain-6.0.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
56921d6
)
declare_clear_cache
author
LLVM Packaging Team
<pkg-llvm-team@lists.alioth.debian.org>
Sat, 9 Mar 2019 06:10:15 +0000
(06:10 +0000)
committer
Mo Zhou
<cdluminate@gmail.com>
Sat, 9 Mar 2019 06:10:15 +0000
(06:10 +0000)
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 848548d181779e059c7e6963fe69c4ea92a92e06..42c73764a216862ff420cfb9463a84c868b30f7a 100644
(file)
--- a/
lib/Support/Unix/Memory.inc
+++ b/
lib/Support/Unix/Memory.inc
@@
-227,7
+227,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