[llvm] r181811 - Fix __clear_cache declaration.
Rafael Espindola
rafael.espindola at gmail.com
Tue May 14 11:06:14 PDT 2013
Author: rafael
Date: Tue May 14 13:06:14 2013
New Revision: 181811
URL: http://llvm.org/viewvc/llvm-project?rev=181811&view=rev
Log:
Fix __clear_cache declaration.
This fixes the build with gcc in gnu++98 and gnu++11 mode.
Modified:
llvm/trunk/lib/Support/Unix/Memory.inc
Modified: llvm/trunk/lib/Support/Unix/Memory.inc
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Support/Unix/Memory.inc?rev=181811&r1=181810&r2=181811&view=diff
==============================================================================
--- llvm/trunk/lib/Support/Unix/Memory.inc (original)
+++ llvm/trunk/lib/Support/Unix/Memory.inc Tue May 14 13:06:14 2013
@@ -33,7 +33,7 @@
#endif
extern "C" void sys_icache_invalidate(const void *Addr, size_t len);
-extern "C" void __clear_cache(char *, char*);
+extern "C" void __clear_cache(void *, void*);
namespace {
More information about the llvm-commits
mailing list