1# RUN: rm -rf %t.dir 2# RUN: mkdir -p %t.dir/obj 3# RUN: mkdir -p %t.dir/Foo/x86_64 4# RUN: llvm-mc -triple x86_64-apple-macos -filetype=obj -o %t.dir/obj/1.o \ 5# RUN: %p/../Inputs/swift-interface.s 6# 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=WARNINGS 9# RUN: echo "// module Foo" >%t.dir/Foo/x86_64.swiftinterface 10# RUN: dsymutil -oso-prepend-path %t.dir -y %s \ 11# RUN: -o %t.dir/swift-interface.dSYM 12# RUN: cat %t.dir/swift-interface.dSYM/Contents/Resources/Swift/x86_64/Foo.swiftinterface \ 13# RUN: | FileCheck %s --check-prefix=INTERFACE 14 15# WARNINGS-NOT: cannot copy parseable Swift interface {{.*}}{{Swift|Foundation}} 16# WARNINGS: cannot copy parseable Swift interface {{.*}}Foo 17# WARNINGS-NOT: cannot copy parseable Swift interface {{.*}}{{Swift|Foundation}} 18# INTERFACE: module Foo 19 20--- 21triple: 'x86_64-apple-darwin' 22objects: 23 - filename: obj/1.o 24 symbols: 25 - { sym: _main, objAddr: 0x0, binAddr: 0x10000, size: 0x10 } 26... 27