diff options
Diffstat (limited to 'test/CodeGen/preserve-call-conv.c')
-rw-r--r-- | test/CodeGen/preserve-call-conv.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/test/CodeGen/preserve-call-conv.c b/test/CodeGen/preserve-call-conv.c index b67e29f392a4e..7a84fa2823140 100644 --- a/test/CodeGen/preserve-call-conv.c +++ b/test/CodeGen/preserve-call-conv.c @@ -3,18 +3,19 @@ // RUN: %clang_cc1 -triple x86_64-unknown-windows-msvc -emit-llvm %s -o - | FileCheck %s // RUN: %clang_cc1 -triple aarch64-unknown-windows-msvc -emit-llvm %s -o - | FileCheck %s +// RUN: %clang_cc1 -triple thumbv7-unknown-windows-msvc -emit-llvm %s -o - | FileCheck %s // Check that the preserve_most calling convention attribute at the source level // is lowered to the corresponding calling convention attrribute at the LLVM IR // level. void foo() __attribute__((preserve_most)) { - // CHECK-LABEL: define preserve_mostcc void @foo() + // CHECK-LABEL: define {{(dso_local )?}}preserve_mostcc void @foo() } // Check that the preserve_most calling convention attribute at the source level // is lowered to the corresponding calling convention attrribute at the LLVM IR // level. void boo() __attribute__((preserve_all)) { - // CHECK-LABEL: define preserve_allcc void @boo() + // CHECK-LABEL: define {{(dso_local )?}}preserve_allcc void @boo() } |