| 1 |
# RUN: dsymutil -verbose -oso-prepend-path=%p -y -o %t.dSYM %s | FileCheck %s |
| 2 |
# |
| 3 |
# RUN: dsymutil --linker parallel -verbose -oso-prepend-path=%p -y %s -o %t-parallel.dSYM | FileCheck %s |
| 4 |
# |
| 5 |
# To regenerate: |
| 6 |
# echo ''>I.swift |
| 7 |
# echo ''>B.swift |
| 8 |
# echo 'import I'>main.swift |
| 9 |
# xcrun swiftc -emit-module-interface-path I.swiftinterface -enable-library-evolution I.swift |
| 10 |
# xcrun swiftc -emit-module-path B.swiftmodule B.swift -Xfrontend -no-serialize-debugging-options |
| 11 |
# xcrun swiftc -explicit-module-build main.swift -I. -module-cache-path cache -g -Xfrontend -no-serialize-debugging-options |
| 12 |
# output is "B.swiftmodule" and "cache/I*.swiftmodule" |
| 13 |
# |
| 14 |
# CHECK-NOT: Skipping compiled textual Swift interface: {{.*}}/Inputs/Binary.swiftmodule |
| 15 |
# CHECK: Skipping compiled textual Swift interface: {{.*}}/Inputs/FromInterface.swiftmodule |
| 16 |
# CHECK-NOT: Skipping compiled textual Swift interface: {{.*}}/Inputs/FromInterface.swiftmodule |
| 17 |
|
| 18 |
# |
| 19 |
--- |
| 20 |
triple: 'arm64-apple-darwin' |
| 21 |
objects: |
| 22 |
- filename: '../Inputs/Binary.swiftmodule' |
| 23 |
timestamp: 0 |
| 24 |
type: 50 |
| 25 |
symbols: [] |
| 26 |
- filename: '../Inputs/FromInterface.swiftmodule' |
| 27 |
timestamp: 0 |
| 28 |
type: 50 |
| 29 |
symbols: [] |
| 30 |
- filename: '../Inputs/FromInterface.swiftmodule' |
| 31 |
timestamp: 0 |
| 32 |
type: 50 |
| 33 |
symbols: [] |
| 34 |
... |