diff options
author | Akira Hatanaka <ahatanaka@apple.com> | 2019-06-05 21:11:06 +0000 |
---|---|---|
committer | Akira Hatanaka <ahatanaka@apple.com> | 2019-06-05 21:11:06 +0000 |
commit | 9423f5ef56d23c099987ceec2a140fe9efa47934 (patch) | |
tree | 4e1e4faec865d460886ce76bb375626d497e28db /clang/test/CodeGenObjC/local-static-block.m | |
parent | 7c663cde14ed973dd3c23327b1f5b364c8a3f0a4 (diff) | |
download | bcm5719-llvm-9423f5ef56d23c099987ceec2a140fe9efa47934.tar.gz bcm5719-llvm-9423f5ef56d23c099987ceec2a140fe9efa47934.zip |
Fix FileCheck prefixes in test case.
llvm-svn: 362651
Diffstat (limited to 'clang/test/CodeGenObjC/local-static-block.m')
-rw-r--r-- | clang/test/CodeGenObjC/local-static-block.m | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/clang/test/CodeGenObjC/local-static-block.m b/clang/test/CodeGenObjC/local-static-block.m index 67ede63fc0a..4d52029c18e 100644 --- a/clang/test/CodeGenObjC/local-static-block.m +++ b/clang/test/CodeGenObjC/local-static-block.m @@ -1,7 +1,11 @@ -// RUN: %clang_cc1 -fblocks -triple x86_64-apple-darwin -fobjc-runtime=macosx-fragile-10.5 -emit-llvm %s -o %t-64.ll -// RUN: FileCheck -check-prefix CHECK-LP64 --input-file=%t-64.ll %s +// RUN: %clang_cc1 -fblocks -triple x86_64-apple-darwin -fobjc-runtime=macosx-fragile-10.5 -emit-llvm -o - %s | FileCheck %s // rdar: // 8390455 +// CHECK: @ArrayRecurs = internal global +// CHECK: @FUNC.ArrayRecurs = internal global +// CHECK: @FUNC.ArrayRecurs.1 = internal global +// CHECK: @FUNC1.ArrayRecurs = internal global + @class NSArray; static NSArray *(^ArrayRecurs)(NSArray *addresses, unsigned long level) = ^(NSArray *addresses, unsigned long level) { @@ -53,7 +57,7 @@ void FUNC2() { }; } -// CHECK-LABEL-LP64: define void @FUNC2( +// CHECK-LABEL: define void @FUNC2( // CHECK: define internal void @_block_invoke{{.*}}( // CHECK: call void %{{.*}}(i8* bitcast ({ i8**, i32, i32, i8*, %struct.__block_descriptor* }* @__block_literal_global{{.*}} to i8*), i32 %{{.*}}) @@ -70,7 +74,3 @@ void FUNC1() }; ArrayRecurs(address, level); } -// CHECK-LP64: @ArrayRecurs = internal global -// CHECK-LP64: @FUNC.ArrayRecurs = internal global -// CHECK-LP64: @FUNC.ArrayRecurs.1 = internal global -// CHECK-LP64: @FUNC1.ArrayRecurs = internal global |