34 lines · plain
1# RUN: dsymutil -include-swiftmodules-from-interface -verbose -oso-prepend-path=%p -y -o %t.dSYM %s | FileCheck %s2#3# RUN: dsymutil -include-swiftmodules-from-interface --linker parallel -verbose -oso-prepend-path=%p -y %s -o %t-parallel.dSYM | FileCheck %s4#5# To regenerate:6# echo ''>I.swift7# echo ''>B.swift8# echo 'import I'>main.swift9# xcrun swiftc -emit-module-interface-path I.swiftinterface -enable-library-evolution I.swift10# xcrun swiftc -emit-module-path B.swiftmodule B.swift -Xfrontend -no-serialize-debugging-options11# xcrun swiftc -explicit-module-build main.swift -I. -module-cache-path cache -g -Xfrontend -no-serialize-debugging-options12# output is "B.swiftmodule" and "cache/I*.swiftmodule"13#14# CHECK-NOT: Skipping compiled textual Swift interface: {{.*}}/Inputs/Binary.swiftmodule15# CHECK-NOT: Skipping compiled textual Swift interface: {{.*}}/Inputs/FromInterface.swiftmodule16 17#18---19triple: 'arm64-apple-darwin'20objects:21 - filename: '../Inputs/Binary.swiftmodule'22 timestamp: 023 type: 5024 symbols: []25 - filename: '../Inputs/FromInterface.swiftmodule'26 timestamp: 027 type: 5028 symbols: []29 - filename: '../Inputs/FromInterface.swiftmodule'30 timestamp: 031 type: 5032 symbols: []33...34