File tree Expand file tree Collapse file tree 5 files changed +24
-26
lines changed Expand file tree Collapse file tree 5 files changed +24
-26
lines changed Original file line number Diff line number Diff line change 10
10
11
11
// RUN: %target-run %t/main %t/libresilient_struct.%target-dylib-extension %t/libresilient_class.%target-dylib-extension
12
12
13
- // RUN: %target-build-swift-dylib(%t/libresilient_struct .%target-dylib-extension) -Xfrontend -enable-resilience %S/../Inputs/resilient_struct.swift -emit-module -emit-module-path %t/resilient_struct.swiftmodule -module-name resilient_struct -whole-module-optimization
14
- // RUN: %target-codesign %t/libresilient_struct .%target-dylib-extension
13
+ // RUN: %target-build-swift-dylib(%t/libresilient_struct_wmo .%target-dylib-extension) -Xfrontend -enable-resilience %S/../Inputs/resilient_struct.swift -emit-module -emit-module-path %t/resilient_struct.swiftmodule -module-name resilient_struct -whole-module-optimization
14
+ // RUN: %target-codesign %t/libresilient_struct_wmo .%target-dylib-extension
15
15
16
- // RUN: %target-build-swift-dylib(%t/libresilient_class .%target-dylib-extension) -Xfrontend -enable-resilience %S/../Inputs/resilient_class.swift -emit-module -emit-module-path %t/resilient_class.swiftmodule -module-name resilient_class -I%t -L%t -lresilient_struct -whole-module-optimization
17
- // RUN: %target-codesign %t/libresilient_class .%target-dylib-extension
16
+ // RUN: %target-build-swift-dylib(%t/libresilient_class_wmo .%target-dylib-extension) -Xfrontend -enable-resilience %S/../Inputs/resilient_class.swift -emit-module -emit-module-path %t/resilient_class.swiftmodule -module-name resilient_class -I%t -L%t -lresilient_struct_wmo -whole-module-optimization
17
+ // RUN: %target-codesign %t/libresilient_class_wmo .%target-dylib-extension
18
18
19
19
// RUN: %target-build-swift %s -L %t -I %t -lresilient_struct -lresilient_class -o %t/main -Xlinker -rpath -Xlinker %t
20
20
21
- // RUN: %target-run %t/main %t/libresilient_struct .%target-dylib-extension %t/libresilient_class .%target-dylib-extension
21
+ // RUN: %target-run %t/main %t/libresilient_struct_wmo .%target-dylib-extension %t/libresilient_class_wmo .%target-dylib-extension
22
22
23
23
// REQUIRES: executable_test
24
24
Original file line number Diff line number Diff line change 10
10
11
11
// RUN: %target-run %t/main %t/libresilient_struct.%target-dylib-extension %t/libresilient_enum.%target-dylib-extension
12
12
13
- // RUN: %target-build-swift-dylib(%t/libresilient_struct .%target-dylib-extension) -Xfrontend -enable-resilience %S/../Inputs/resilient_struct.swift -emit-module -emit-module-path %t/resilient_struct.swiftmodule -module-name resilient_struct -whole-module-optimization
14
- // RUN: %target-codesign %t/libresilient_struct .%target-dylib-extension
13
+ // RUN: %target-build-swift-dylib(%t/libresilient_struct_wmo .%target-dylib-extension) -Xfrontend -enable-resilience %S/../Inputs/resilient_struct.swift -emit-module -emit-module-path %t/resilient_struct.swiftmodule -module-name resilient_struct -whole-module-optimization
14
+ // RUN: %target-codesign %t/libresilient_struct_wmo .%target-dylib-extension
15
15
16
- // RUN: %target-build-swift-dylib(%t/libresilient_enum.%target-dylib-extension) -Xfrontend -enable-resilience %S/../Inputs/resilient_enum.swift -emit-module -emit-module-path %t/resilient_enum.swiftmodule -module-name resilient_enum -I%t -L%t -lresilient_struct -whole-module-optimization
16
+ // RUN: %target-build-swift-dylib(%t/libresilient_enum_wmo.%target-dylib-extension) -Xfrontend -enable-resilience %S/../Inputs/resilient_enum.swift -emit-module -emit-module-path %t/resilient_enum.swiftmodule -module-name resilient_enum -I%t -L%t -lresilient_struct_wmo -whole-module-optimization
17
+ // RUN: %target-codesign %t/libresilient_enum_wmo.%target-dylib-extension
17
18
18
- // RUN: %target-codesign %t/libresilient_enum.%target-dylib-extension
19
+ // RUN: %target-build-swift %s -L %t -I %t -lresilient_struct_wmo -lresilient_enum_wmo -o %t/main -Xlinker -rpath -Xlinker %t
19
20
20
- // RUN: %target-build-swift %s -L %t -I %t -lresilient_struct -lresilient_enum -o %t/main -Xlinker -rpath -Xlinker %t
21
-
22
- // RUN: %target-run %t/main %t/libresilient_struct.%target-dylib-extension %t/libresilient_enum.%target-dylib-extension
21
+ // RUN: %target-run %t/main %t/libresilient_struct_wmo.%target-dylib-extension %t/libresilient_enum_wmo.%target-dylib-extension
23
22
24
23
// REQUIRES: executable_test
25
24
Original file line number Diff line number Diff line change 10
10
11
11
// RUN: %target-run %t/main %t/libresilient_struct.%target-dylib-extension %t/libresilient_global.%target-dylib-extension
12
12
13
- // RUN: %target-build-swift-dylib(%t/libresilient_struct .%target-dylib-extension) -Xfrontend -enable-resilience %S/../Inputs/resilient_struct.swift -emit-module -emit-module-path %t/resilient_struct.swiftmodule -module-name resilient_struct -whole-module-optimization
14
- // RUN: %target-codesign %t/libresilient_struct .%target-dylib-extension
13
+ // RUN: %target-build-swift-dylib(%t/libresilient_struct_wmo .%target-dylib-extension) -Xfrontend -enable-resilience %S/../Inputs/resilient_struct.swift -emit-module -emit-module-path %t/resilient_struct.swiftmodule -module-name resilient_struct -whole-module-optimization
14
+ // RUN: %target-codesign %t/libresilient_struct_wmo .%target-dylib-extension
15
15
16
- // RUN: %target-build-swift-dylib(%t/libresilient_global.%target-dylib-extension) -Xfrontend -enable-resilience %S/../Inputs/resilient_global.swift -emit-module -emit-module-path %t/resilient_global.swiftmodule -module-name resilient_global -I%t -L%t -lresilient_struct -whole-module-optimization
16
+ // RUN: %target-build-swift-dylib(%t/libresilient_global_wmo.%target-dylib-extension) -Xfrontend -enable-resilience %S/../Inputs/resilient_global.swift -emit-module -emit-module-path %t/resilient_global.swiftmodule -module-name resilient_global -I%t -L%t -lresilient_struct_wmo -whole-module-optimization
17
+ // RUN: %target-codesign %t/libresilient_global_wmo.%target-dylib-extension
17
18
18
- // RUN: %target-codesign %t/libresilient_global.%target-dylib-extension
19
+ // RUN: %target-build-swift %s -L %t -I %t -lresilient_struct_wmo -lresilient_global_wmo -o %t/main -Xlinker -rpath -Xlinker %t
19
20
20
- // RUN: %target-build-swift %s -L %t -I %t -lresilient_struct -lresilient_global -o %t/main -Xlinker -rpath -Xlinker %t
21
-
22
- // RUN: %target-run %t/main %t/libresilient_struct.%target-dylib-extension %t/libresilient_global.%target-dylib-extension
21
+ // RUN: %target-run %t/main %t/libresilient_struct_wmo.%target-dylib-extension %t/libresilient_global_wmo.%target-dylib-extension
23
22
24
23
// REQUIRES: executable_test
25
24
Original file line number Diff line number Diff line change 7
7
8
8
// RUN: %target-run %t/main %t/libresilient_protocol.%target-dylib-extension
9
9
10
- // RUN: %target-build-swift-dylib(%t/libresilient_protocol .%target-dylib-extension) -Xfrontend -enable-resilience %S/../Inputs/resilient_protocol.swift -emit-module -emit-module-path %t/resilient_protocol.swiftmodule -module-name resilient_protocol -whole-module-optimization
10
+ // RUN: %target-build-swift-dylib(%t/libresilient_protocol_wmo .%target-dylib-extension) -Xfrontend -enable-resilience %S/../Inputs/resilient_protocol.swift -emit-module -emit-module-path %t/resilient_protocol.swiftmodule -module-name resilient_protocol -whole-module-optimization
11
11
// RUN: %target-codesign %t/libresilient_protocol.%target-dylib-extension
12
12
13
- // RUN: %target-build-swift %s -lresilient_protocol -I %t -L %t -o %t/main -Xlinker -rpath -Xlinker %t
13
+ // RUN: %target-build-swift %s -lresilient_protocol_wmo -I %t -L %t -o %t/main -Xlinker -rpath -Xlinker %t
14
14
15
- // RUN: %target-run %t/main %t/libresilient_protocol .%target-dylib-extension
15
+ // RUN: %target-run %t/main %t/libresilient_protocol_wmo .%target-dylib-extension
16
16
17
17
// REQUIRES: executable_test
18
18
Original file line number Diff line number Diff line change 7
7
8
8
// RUN: %target-run %t/main %t/libresilient_struct.%target-dylib-extension
9
9
10
- // RUN: %target-build-swift-dylib(%t/libresilient_struct .%target-dylib-extension) -Xfrontend -enable-resilience %S/../Inputs/resilient_struct.swift -emit-module -emit-module-path %t/resilient_struct.swiftmodule -module-name resilient_struct -whole-module-optimization
11
- // RUN: %target-codesign %t/libresilient_struct .%target-dylib-extension
10
+ // RUN: %target-build-swift-dylib(%t/libresilient_struct_wmo .%target-dylib-extension) -Xfrontend -enable-resilience %S/../Inputs/resilient_struct.swift -emit-module -emit-module-path %t/resilient_struct.swiftmodule -module-name resilient_struct -whole-module-optimization
11
+ // RUN: %target-codesign %t/libresilient_struct_wmo .%target-dylib-extension
12
12
13
- // RUN: %target-build-swift %s -lresilient_struct -I %t -L %t -o %t/main -Xlinker -rpath -Xlinker %t
13
+ // RUN: %target-build-swift %s -lresilient_struct_wmo -I %t -L %t -o %t/main -Xlinker -rpath -Xlinker %t
14
14
15
- // RUN: %target-run %t/main %t/libresilient_struct .%target-dylib-extension
15
+ // RUN: %target-run %t/main %t/libresilient_struct_wmo .%target-dylib-extension
16
16
17
17
// REQUIRES: executable_test
18
18
You can’t perform that action at this time.
0 commit comments