Skip to content

Commit 7f5f554

Browse files
committedNov 22, 2024
[Test][IRGen] Disable noncopyable tests for arm64e.
There's nothing particularly interesting about testing these for arm64e, and doing so would require changing the test to cope with ptrauth. Disable for arm64e instead. rdar://140369127
1 parent 29f6f01 commit 7f5f554

File tree

2 files changed

+8
-0
lines changed

2 files changed

+8
-0
lines changed
 

‎test/IRGen/empty-noncopyable-with-deinit.swift

+4
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,10 @@
55
// CHECK: [[BOX_3:@[A-Za-z0-9.]+]] = private constant %swift.full_boxmetadata { ptr [[DESTROY_BOX_3:@[A-Za-z0-9.]+]],
66
// CHECK: [[BOX_4:@[A-Za-z0-9.]+]] = private constant %swift.full_boxmetadata { ptr [[DESTROY_BOX_4:@[A-Za-z0-9.]+]],
77

8+
// We don't really need to test arm64e, and doing so would mean tweaking the
9+
// test to cope with ptrauth.
10+
// UNSUPPORTED: CPU=arm64e
11+
812
@_silgen_name("mystery_destroy")
913
func mystery_destroy() {}
1014

‎test/IRGen/fixed-noncopyable-with-deinit.swift

+4
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,10 @@
55
// CHECK: [[BOX_3:@[A-Za-z0-9.]+]] = private constant %swift.full_boxmetadata { ptr [[DESTROY_BOX_3:@[A-Za-z0-9.]+]],
66
// CHECK: [[BOX_4:@[A-Za-z0-9.]+]] = private constant %swift.full_boxmetadata { ptr [[DESTROY_BOX_4:@[A-Za-z0-9.]+]],
77

8+
// We don't really need to test arm64e, and doing so would mean tweaking the
9+
// test to cope with ptrauth.
10+
// UNSUPPORTED: CPU=arm64e
11+
812
@_silgen_name("mystery_destroy")
913
func mystery_destroy() {}
1014

0 commit comments

Comments
 (0)
Please sign in to comment.