Fixes the build with gcc in gnu++98 and gnu++11 mode. https://github.com/llvm-mirror/llvm/commit/d1bf52275daa86e838ebbffc71efd43fc8c416f4 --- lib/Support/Unix/Memory.inc | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/Support/Unix/Memory.inc b/lib/Support/Unix/Memory.inc index 72a8af6..91dc7da 100644 --- a/lib/Support/Unix/Memory.inc +++ b/lib/Support/Unix/Memory.inc @@ -33,6 +33,7 @@ #endif extern "C" void sys_icache_invalidate(const void *Addr, size_t len); +extern "C" void __clear_cache(void *, void *); namespace { -- 1.8.3.1