Debian Codegraph @

llvm/test/tools/dsymutil/AArch64/swiftmodule-include-from-interface.test

raw
1 # RUN: dsymutil -include-swiftmodules-from-interface -verbose -oso-prepend-path=%p -y -o %t.dSYM %s | FileCheck %s
2 #
3 # RUN: dsymutil -include-swiftmodules-from-interface --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-NOT: Skipping compiled textual Swift interface: {{.*}}/Inputs/FromInterface.swiftmodule
16
17 #
18 ---
19 triple: 'arm64-apple-darwin'
20 objects:
21 - filename: '../Inputs/Binary.swiftmodule'
22 timestamp: 0
23 type: 50
24 symbols: []
25 - filename: '../Inputs/FromInterface.swiftmodule'
26 timestamp: 0
27 type: 50
28 symbols: []
29 - filename: '../Inputs/FromInterface.swiftmodule'
30 timestamp: 0
31 type: 50
32 symbols: []
33 ...