[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
This commit is contained in:
Alastair Houghton
2024-11-22 16:15:02 +00:00
parent 29f6f01a46
commit 7f5f554fd9
2 changed files with 8 additions and 0 deletions

View File

@@ -5,6 +5,10 @@
// CHECK: [[BOX_3:@[A-Za-z0-9.]+]] = private constant %swift.full_boxmetadata { ptr [[DESTROY_BOX_3:@[A-Za-z0-9.]+]],
// CHECK: [[BOX_4:@[A-Za-z0-9.]+]] = private constant %swift.full_boxmetadata { ptr [[DESTROY_BOX_4:@[A-Za-z0-9.]+]],
// We don't really need to test arm64e, and doing so would mean tweaking the
// test to cope with ptrauth.
// UNSUPPORTED: CPU=arm64e
@_silgen_name("mystery_destroy")
func mystery_destroy() {}

View File

@@ -5,6 +5,10 @@
// CHECK: [[BOX_3:@[A-Za-z0-9.]+]] = private constant %swift.full_boxmetadata { ptr [[DESTROY_BOX_3:@[A-Za-z0-9.]+]],
// CHECK: [[BOX_4:@[A-Za-z0-9.]+]] = private constant %swift.full_boxmetadata { ptr [[DESTROY_BOX_4:@[A-Za-z0-9.]+]],
// We don't really need to test arm64e, and doing so would mean tweaking the
// test to cope with ptrauth.
// UNSUPPORTED: CPU=arm64e
@_silgen_name("mystery_destroy")
func mystery_destroy() {}