mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
Remove all uses of -force-single-frontend-invocation
The `-force-single-frontend-invocation` flag predates WMO and is now an alias for `-whole-module-optimization`. We should use the latter and let the former fade into history.
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
// -- Test with resilience enabled
|
||||
// RUN: %empty-directory(%t)
|
||||
// RUN: %target-build-swift -force-single-frontend-invocation -enable-library-evolution -module-name KeyPathMultiModule_b -c -o %t/KeyPathMultiModule_b.o -emit-module-path %t/KeyPathMultiModule_b.swiftmodule -parse-as-library %S/Inputs/KeyPathMultiModule_b.swift
|
||||
// RUN: %target-build-swift -whole-module-optimization -enable-library-evolution -module-name KeyPathMultiModule_b -c -o %t/KeyPathMultiModule_b.o -emit-module-path %t/KeyPathMultiModule_b.swiftmodule -parse-as-library %S/Inputs/KeyPathMultiModule_b.swift
|
||||
// RUN: %target-build-swift -g %t/KeyPathMultiModule_b.o -I %t %s -o %t/a.out.resilient
|
||||
// RUN: %target-codesign %t/a.out.resilient
|
||||
// RUN: %target-run %t/a.out.resilient
|
||||
@@ -8,7 +8,7 @@
|
||||
// -- Test again with resilience disabled, which changes the circumstances under
|
||||
// which we emit and use property descriptors
|
||||
// RUN: %empty-directory(%t)
|
||||
// RUN: %target-build-swift -force-single-frontend-invocation -module-name KeyPathMultiModule_b -c -o %t/KeyPathMultiModule_b.o -emit-module-path %t/KeyPathMultiModule_b.swiftmodule -parse-as-library %S/Inputs/KeyPathMultiModule_b.swift
|
||||
// RUN: %target-build-swift -whole-module-optimization -module-name KeyPathMultiModule_b -c -o %t/KeyPathMultiModule_b.o -emit-module-path %t/KeyPathMultiModule_b.swiftmodule -parse-as-library %S/Inputs/KeyPathMultiModule_b.swift
|
||||
// RUN: %target-build-swift %t/KeyPathMultiModule_b.o -I %t %s -o %t/a.out.fragile
|
||||
// RUN: %target-codesign %t/a.out.fragile
|
||||
// RUN: %target-run %t/a.out.fragile
|
||||
|
||||
Reference in New Issue
Block a user