mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
* Fixup tests to handle new json based output. * Use llvm-nm & readtapi to verify tbd file outputs. resolves: rdar://117604275
7 lines
434 B
Swift
7 lines
434 B
Swift
// REQUIRES: VENDOR=apple
|
|
// RUN: %empty-directory(%t)
|
|
// RUN: %target-build-swift -O -g -module-name foo %s -Xfrontend -tbd-install_name -Xfrontend run -emit-tbd-path %t/run-1.tbd -whole-module-optimization
|
|
// RUN: %target-build-swift -O -g -module-name foo %s -Xfrontend -tbd-install_name -Xfrontend run -emit-tbd-path %t/run-2.tbd -whole-module-optimization
|
|
// RUN: %llvm-readtapi --compare %t/run-1.tbd %t/run-2.tbd
|
|
print("foo")
|