Author: ahatanak Date: Wed Jun 5 14:11:06 2019 New Revision: 362651 URL: http://llvm.org/viewvc/llvm-project?rev=362651&view=rev Log: Fix FileCheck prefixes in test case.
Modified: cfe/trunk/test/CodeGenObjC/local-static-block.m Modified: cfe/trunk/test/CodeGenObjC/local-static-block.m URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/CodeGenObjC/local-static-block.m?rev=362651&r1=362650&r2=362651&view=diff ============================================================================== --- cfe/trunk/test/CodeGenObjC/local-static-block.m (original) +++ cfe/trunk/test/CodeGenObjC/local-static-block.m Wed Jun 5 14:11:06 2019 @@ -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 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits