From: Tim Northover Date: Tue, 14 May 2013 08:26:14 +0000 (+0000) Subject: AArch64: correct definition of __clear_cache X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=028d59c9e5ef3c46ff26fe106050d750cf8bc2cc;p=clang AArch64: correct definition of __clear_cache According to libgcc document __clear_cache takes two char* pointers. I suspect GCC's actual behaviour is more subtle than that, but char* should clearly be preferred to void*. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@181762 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/include/clang/Basic/BuiltinsAArch64.def b/include/clang/Basic/BuiltinsAArch64.def index 9e9f6d0875..939c080cc5 100644 --- a/include/clang/Basic/BuiltinsAArch64.def +++ b/include/clang/Basic/BuiltinsAArch64.def @@ -15,4 +15,4 @@ // The format of this database matches clang/Basic/Builtins.def. // In libgcc -BUILTIN(__clear_cache, "vv*v*", "") +BUILTIN(__clear_cache, "vc*c*", "")