35 lines · plain
1# RUN: dsymutil -verbose -oso-prepend-path=%p -y -o %t.dSYM %s | FileCheck %s2#3# RUN: dsymutil --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: Skipping compiled textual Swift interface: {{.*}}/Inputs/FromInterface.swiftmodule16# CHECK-NOT: Skipping compiled textual Swift interface: {{.*}}/Inputs/FromInterface.swiftmodule17 18#19---20triple: 'arm64-apple-darwin'21objects:22 - filename: '../Inputs/Binary.swiftmodule'23 timestamp: 024 type: 5025 symbols: []26 - filename: '../Inputs/FromInterface.swiftmodule'27 timestamp: 028 type: 5029 symbols: []30 - filename: '../Inputs/FromInterface.swiftmodule'31 timestamp: 032 type: 5033 symbols: []34...35