mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
Short overview of new TBD-v4 format changes: * special section for reexported symbols (which is not seen any differently to the linker) * target based slices as opposed to just architecture more information in: rdar://problem/60586390
17 lines
760 B
Swift
17 lines
760 B
Swift
// REQUIRES: OS=macosx
|
|
// RUN: %empty-directory(%t)
|
|
// RUN: %target-swift-frontend -typecheck %s -application-extension -emit-tbd -emit-tbd-path %t/safe.tbd
|
|
// RUN: %target-swift-frontend -typecheck %s -emit-tbd -emit-tbd-path %t/not-safe.tbd
|
|
|
|
// RUN: %FileCheck %s --check-prefix EXTENSIONSAFE < %t/safe.tbd
|
|
// RUN: %FileCheck %s --check-prefix NOTEXTENSIONSAFE < %t/not-safe.tbd
|
|
|
|
// EXTENSIONSAFE-NOT: not_app_extension_safe
|
|
// NOTEXTENSIONSAFE: not_app_extension_safe
|
|
|
|
// RUN: %target-swift-frontend -target-variant x86_64-apple-ios13.0-macabi -typecheck %s -application-extension -emit-tbd -emit-tbd-path %t/target-variant.tbd
|
|
// RUN: %FileCheck %s --check-prefix MACABI < %t/target-variant.tbd
|
|
|
|
// MACABI: targets: [ {{.*}}macos{{.*}}maccatalyst{{.*}} ]
|
|
|