Skip to content

Commit fcedfca

Browse files
committed
Fix arm64e lit tests for -sil-print-types
Fixes rdar://141001921 (OSS Swift CI: oss-swift_tools-RA_stdlib-DA_test-device-non_executable failed: test: IRGen/loadable_by_address_objc test: SILGen/ptrauth_field_fptr_import)
1 parent 5db0f83 commit fcedfca

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

test/IRGen/loadable_by_address_objc_method.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,5 +25,5 @@ test()
2525

2626

2727
// SIL: sil hidden @$s31loadable_by_address_objc_method4testyyF : $@convention(thin) () -> () {
28-
// SIL: [[C:%.*]] = convert_function {{.*}} : $@convention(objc_method) (SamplesType, @opened({{.*}}, any P) Self) -> SamplesType to $@convention(objc_method) (@in_guaranteed SamplesType, @opened({{.*}}, any P) Self) -> @out SamplesType
28+
// SIL: [[C:%.*]] = convert_function {{.*}} to $@convention(objc_method) (@in_guaranteed SamplesType, @opened({{.*}}, any P) Self) -> @out SamplesType
2929
// SIL: partial_apply [callee_guaranteed] [[C]]({{.*}}) : $@convention(objc_method) (@in_guaranteed SamplesType, @opened({{.*}}, any P) Self) -> @out SamplesType

test/SILGen/ptrauth_field_fptr_import.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// RUN: %swift-frontend %s -emit-silgen -target arm64e-apple-ios13.0 -I %S/Inputs/ | %FileCheck %s
1+
// RUN: %swift-frontend %s -emit-silgen -Xllvm -sil-print-types -target arm64e-apple-ios13.0 -I %S/Inputs/ | %FileCheck %s
22

33
// REQUIRES: CPU=arm64e
44
// REQUIRES: OS=ios

0 commit comments

Comments
 (0)