File tree Expand file tree Collapse file tree 1 file changed +6
-10
lines changed Expand file tree Collapse file tree 1 file changed +6
-10
lines changed Original file line number Diff line number Diff line change 1- // REQUIRES: x86-registered-target,x86-64-registered-target
2- // RUN: %clang_cc1 -fblocks -fobjc-gc -triple x86_64-apple-darwin -fobjc-runtime=macosx-fragile-10.5 -S %s -o %t-64.s
3- // RUN: FileCheck -check-prefix CHECK-LP64 --input-file=%t-64.s %s
4- // RUN: %clang_cc1 -fblocks -fobjc-gc -triple i386-apple-darwin -fobjc-runtime=macosx-fragile-10.5 -S %s -o %t-32.s
5- // RUN: FileCheck -check-prefix CHECK-LP32 --input-file=%t-32.s %s
1+ // RUN: %clang_cc1 -fblocks -fobjc-gc -triple x86_64-apple-darwin -fobjc-runtime=macosx-fragile-10.5 -emit-llvm %s -o - | \
2+ // RUN: FileCheck %s
3+ // RUN: %clang_cc1 -fblocks -fobjc-gc -triple i386-apple-darwin -fobjc-runtime=macosx-fragile-10.5 -emit-llvm %s -o - | \
4+ // RUN: FileCheck %s
65
76@interface NSObject
87- copy;
@@ -19,8 +18,5 @@ int main() {
1918 return 0 ;
2019}
2120
22- // CHECK-LP64: callq _objc_read_weak
23- // CHECK-LP64: callq _objc_read_weak
24-
25- // CHECK-LP32: calll L_objc_read_weak
26- // CHECK-LP32: calll L_objc_read_weak
21+ // CHECK: call i8* @objc_read_weak
22+ // CHECK: call i8* @objc_read_weak
You can’t perform that action at this time.
0 commit comments