summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Northover <t.p.northover@gmail.com>2013-05-14 08:26:14 +0000
committerTim Northover <t.p.northover@gmail.com>2013-05-14 08:26:14 +0000
commit028d59c9e5ef3c46ff26fe106050d750cf8bc2cc (patch)
treefca018b39fe862e003a9e451f70e1ac533b1aad6
parent3371711aabc154acb4bffee4dc9491632379857d (diff)
downloadclang-028d59c9e5ef3c46ff26fe106050d750cf8bc2cc.tar.gz
clang-028d59c9e5ef3c46ff26fe106050d750cf8bc2cc.tar.bz2
clang-028d59c9e5ef3c46ff26fe106050d750cf8bc2cc.tar.xz
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
-rw-r--r--include/clang/Basic/BuiltinsAArch64.def2
1 files changed, 1 insertions, 1 deletions
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*", "")