diff options
Diffstat (limited to 'clang/test/CodeGenObjC/exceptions.m')
-rw-r--r-- | clang/test/CodeGenObjC/exceptions.m | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/clang/test/CodeGenObjC/exceptions.m b/clang/test/CodeGenObjC/exceptions.m index d4790c73f4f..f27892dc789 100644 --- a/clang/test/CodeGenObjC/exceptions.m +++ b/clang/test/CodeGenObjC/exceptions.m @@ -82,6 +82,8 @@ void f3() { extern void f3_helper(int, int*); // CHECK: [[X:%.*]] = alloca i32 + // CHECK: [[XPTR:%.*]] = bitcast i32* [[X]] to i8* + // CHECK: call void @llvm.lifetime.start(i64 4, i8* [[XPTR]]) // CHECK: store i32 0, i32* [[X]] int x = 0; @@ -122,6 +124,7 @@ void f3() { } // CHECK: call void @f3_helper(i32 4, i32* [[X]]) + // CHECK-NEXT: call void @llvm.lifetime.end(i64 4, i8* [[XPTR]]) // CHECK-NEXT: ret void f3_helper(4, &x); } |