Skip to content

Commit de4cfa7

Browse files
author
Robert Widmann
committed
Add Additional Gates to Package Test
Restrict this test so it doesn't run against targets that support ptrauth or non-standard word widths. Fixes rdar://118336120
1 parent 26b91ef commit de4cfa7

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

test/IRGen/package_resilience.swift

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@
1515
// RUN: %target-swift-frontend -package-name MyPkg -I %t -emit-ir -enable-library-evolution -O %t/package_resilience.swift -package-name MyPkg
1616
// REQUIRES: objc_codegen
1717
// REQUIRES: OS=macosx || OS=ios || OS=tvos || OS=watchos
18+
// REQUIRES: CPU=x86_64 || CPU=arm64
1819

1920
// CHECK: @"$s18package_resilience26ClassWithResilientPropertyC1p16resilient_struct5PointVvpWvd" = constant [[INT]] {{8|16}}, align [[#WORDSIZE]]
2021
// CHECK: @"$s18package_resilience26ClassWithResilientPropertyC1s16resilient_struct4SizeVvpWvd" = constant [[INT]] {{32|16}}, align [[#WORDSIZE]]

0 commit comments

Comments
 (0)