]> granicus.if.org Git - clang/commitdiff
AArch64: correct definition of __clear_cache
authorTim Northover <t.p.northover@gmail.com>
Tue, 14 May 2013 08:26:14 +0000 (08:26 +0000)
committerTim Northover <t.p.northover@gmail.com>
Tue, 14 May 2013 08:26:14 +0000 (08:26 +0000)
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

include/clang/Basic/BuiltinsAArch64.def

index 9e9f6d0875dbfcd8a5db1fcc881f2d45bd997b3a..939c080cc50eff02483ffa7e0a770472f2b138c0 100644 (file)
@@ -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*", "")