mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
TBDGen: Include property descriptor in TBD output.
This commit is contained in:
@@ -1,13 +1,13 @@
|
||||
// -- Test with resilience enabled
|
||||
// RUN: %empty-directory(%t)
|
||||
// RUN: %target-build-swift -force-single-frontend-invocation -Xfrontend -enable-key-path-resilience -Xfrontend -enable-resilience -module-name KeyPathMultiModule_b -c -o %t/KeyPathMultiModule_b.o -emit-module-path %t/KeyPathMultiModule_b.swiftmodule -Xfrontend -validate-tbd-against-ir=none -parse-as-library %S/Inputs/KeyPathMultiModule_b.swift
|
||||
// RUN: %target-build-swift -force-single-frontend-invocation -Xfrontend -enable-key-path-resilience -Xfrontend -enable-resilience -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 -Xfrontend -enable-key-path-resilience %t/KeyPathMultiModule_b.o -I %t %s -o %t/a.out
|
||||
// RUN: %target-run %t/a.out
|
||||
|
||||
// -- 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 -Xfrontend -enable-key-path-resilience -module-name KeyPathMultiModule_b -c -o %t/KeyPathMultiModule_b.o -emit-module-path %t/KeyPathMultiModule_b.swiftmodule -Xfrontend -validate-tbd-against-ir=none -parse-as-library %S/Inputs/KeyPathMultiModule_b.swift
|
||||
// RUN: %target-build-swift -force-single-frontend-invocation -Xfrontend -enable-key-path-resilience -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 -Xfrontend -enable-key-path-resilience %t/KeyPathMultiModule_b.o -I %t %s -o %t/a.out
|
||||
// RUN: %target-run %t/a.out
|
||||
|
||||
|
||||
Reference in New Issue
Block a user