brintos

brintos / llvm-project-archived public Read only

0
0
Text · 1.0 KiB · 23b27bd Raw
27 lines · plain
1# RUN: rm -rf %t.dir2# RUN: mkdir -p %t.dir/obj3# RUN: mkdir -p %t.dir/Foo/x86_644# RUN: llvm-mc -triple x86_64-apple-macos -filetype=obj -o %t.dir/obj/1.o \5# RUN:    %p/../Inputs/swift-interface.s6# RUN: dsymutil -oso-prepend-path %t.dir -y %s \7# RUN:    -o %t.dir/swift-interface.dSYM 2>&1 \8# RUN:    | FileCheck %s --check-prefix=WARNINGS9# RUN: echo "// module Foo" >%t.dir/Foo/x86_64.swiftinterface10# RUN: dsymutil -oso-prepend-path %t.dir -y %s \11# RUN:    -o %t.dir/swift-interface.dSYM12# RUN: cat %t.dir/swift-interface.dSYM/Contents/Resources/Swift/x86_64/Foo.swiftinterface \13# RUN:   | FileCheck %s --check-prefix=INTERFACE14 15# WARNINGS-NOT: cannot copy parseable Swift interface {{.*}}{{Swift|Foundation|_Concurrency}}16# WARNINGS: cannot copy parseable Swift interface {{.*}}Foo17# WARNINGS-NOT: cannot copy parseable Swift interface {{.*}}{{Swift|Foundation|_Concurrency}}18# INTERFACE: module Foo19 20---21triple:          'x86_64-apple-darwin'22objects:23  - filename: obj/1.o24    symbols:25      - { sym: _main, objAddr: 0x0, binAddr: 0x10000, size: 0x10 }26...27