diff options
Diffstat (limited to 'test/CodeGenObjC/arc-captured-block-var-inlined-layout.m')
-rw-r--r-- | test/CodeGenObjC/arc-captured-block-var-inlined-layout.m | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/test/CodeGenObjC/arc-captured-block-var-inlined-layout.m b/test/CodeGenObjC/arc-captured-block-var-inlined-layout.m index a5400c5bf2..ad81e54c9c 100644 --- a/test/CodeGenObjC/arc-captured-block-var-inlined-layout.m +++ b/test/CodeGenObjC/arc-captured-block-var-inlined-layout.m @@ -1,4 +1,4 @@ -// RUN: %clang_cc1 -fblocks -fobjc-arc -fobjc-runtime-has-weak -triple x86_64-apple-darwin -O0 -emit-llvm %s -o %t-64.s +// RUN: %clang_cc1 -fblocks -fobjc-arc -fobjc-runtime-has-weak -triple x86_64-apple-darwin -O0 -emit-llvm %s -o - | FileCheck %s // rdar://12184410 void x(id y) {} @@ -15,13 +15,13 @@ void f() { __block id bl_var1; // Inline instruction for block variable layout: 0x0100 -// CKECK-LP64: i8* getelementptr inbounds ([6 x i8]* @.str, i32 0, i32 0), i64 256 } +// CHECK: i8* getelementptr inbounds ([6 x i8]* {{@.*}}, i32 0, i32 0), i64 256 } void (^b)() = ^{ x(bar); }; // Inline instruction for block variable layout: 0x0210 -// CKECK-LP64: i8* getelementptr inbounds ([6 x i8]* @.str, i32 0, i32 0), i64 528 } +// CHECK: i8* getelementptr inbounds ([6 x i8]* {{@.*}}, i32 0, i32 0), i64 528 } void (^c)() = ^{ x(bar); x(baz); @@ -29,7 +29,7 @@ void f() { }; // Inline instruction for block variable layout: 0x0230 -// CKECK-LP64: i8* getelementptr inbounds ([6 x i8]* @.str, i32 0, i32 0), i64 560 } +// CHECK: i8* getelementptr inbounds ([6 x i8]* {{@.*}}, i32 0, i32 0), i64 560 } void (^d)() = ^{ x(bar); x(baz); @@ -39,7 +39,7 @@ void f() { }; // Inline instruction for block variable layout: 0x0231 -// CKECK-LP64: i8* getelementptr inbounds ([6 x i8]* @.str, i32 0, i32 0), i64 561 } +// CHECK: i8* getelementptr inbounds ([6 x i8]* {{@.*}}, i32 0, i32 0), i64 561 } __weak id wid; id (^e)() = ^{ x(bar); @@ -51,7 +51,7 @@ void f() { }; // Inline instruction for block variable layout: 0x0235 -// CKECK-LP64: i8* getelementptr inbounds ([6 x i8]* @.str, i32 0, i32 0), i64 565 } +// CHECK: i8* getelementptr inbounds ([6 x i8]* {{@.*}}, i32 0, i32 0), i64 565 } __weak id wid1, wid2, wid3, wid4; id (^f)() = ^{ x(bar); @@ -67,7 +67,7 @@ void f() { }; // Inline instruction for block variable layout: 0x035 -// CKECK-LP64: i8* getelementptr inbounds ([6 x i8]* @.str, i32 0, i32 0), i64 53 } +// CHECK: i8* getelementptr inbounds ([6 x i8]* {{@.*}}, i32 0, i32 0), i64 53 } id (^g)() = ^{ byref_int = 1; bl_var1 = 0; @@ -80,20 +80,20 @@ void f() { }; // Inline instruction for block variable layout: 0x01 -// CKECK-LP64: i8* getelementptr inbounds ([6 x i8]* @.str, i32 0, i32 0), i64 1 } +// CHECK: i8* getelementptr inbounds ([6 x i8]* {{@.*}}, i32 0, i32 0), i64 1 } id (^h)() = ^{ return wid; }; // Inline instruction for block variable layout: 0x020 -// CKECK-LP64: i8* getelementptr inbounds ([6 x i8]* @.str, i32 0, i32 0), i64 32 } +// CHECK: i8* getelementptr inbounds ([6 x i8]* {{@.*}}, i32 0, i32 0), i64 32 } void (^ii)() = ^{ byref_int = 1; byref_bab = 0; }; // Inline instruction for block variable layout: 0x0102 -// CKECK-LP64: i8* getelementptr inbounds ([6 x i8]* @.str, i32 0, i32 0), i64 258 } +// CHECK: i8* getelementptr inbounds ([6 x i8]* {{@.*}}, i32 0, i32 0), i64 258 } void (^jj)() = ^{ x(bar); x(wid1); |