mirror of https://github.com/microsoft/clang.git
[ARM64] Fix __clear_cache - ensure it is predefined.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@206465 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
fc79f1829d
commit
e2c4760949
|
@ -15,7 +15,7 @@
|
|||
// The format of this database matches clang/Basic/Builtins.def.
|
||||
|
||||
// In libgcc
|
||||
BUILTIN(__clear_cache, "vv*v*", "")
|
||||
BUILTIN(__clear_cache, "vv*v*", "i")
|
||||
|
||||
BUILTIN(__builtin_arm_ldrex, "v.", "t")
|
||||
BUILTIN(__builtin_arm_strex, "i.", "t")
|
||||
|
|
|
@ -1,5 +1,6 @@
|
|||
// RUN: %clang_cc1 -triple armv7-none-linux-gnu -fsyntax-only -verify %s
|
||||
// RUN: %clang_cc1 -triple aarch64-none-linux-gnu -fsyntax-only -verify %s
|
||||
// RUN: %clang_cc1 -triple arm64-none-linux-gnu -fsyntax-only -verify %s
|
||||
// expected-no-diagnostics
|
||||
|
||||
void __clear_cache(void *a, void *b) {}
|
||||
|
|
Loading…
Reference in New Issue