mirror of
https://src.fedoraproject.org/rpms/llvm.git
synced 2024-11-24 17:34:47 +00:00
23 lines
557 B
Diff
23 lines
557 B
Diff
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
|
|
|