2 # RUN: mkdir -p %t.dir/obj
3 # RUN: mkdir -p %t.dir/Foo/x86_64
4 # RUN: llc %p/../Inputs/swift-interface.ll -filetype=obj -o %t.dir/obj/1.o
5 # RUN: dsymutil -oso-prepend-path %t.dir -y %s \
6 # RUN: -o %t.dir/swift-interface.dSYM 2>&1 \
7 # RUN: | FileCheck %s --check-prefix=WARNINGS
8 # RUN: echo "// module Foo" >%t.dir/Foo/x86_64.swiftinterface
9 # RUN: dsymutil -oso-prepend-path %t.dir -y %s \
10 # RUN: -o %t.dir/swift-interface.dSYM
11 # RUN: cat %t.dir/swift-interface.dSYM/Contents/Resources/Swift/x86_64/Foo.swiftinterface \
12 # RUN: | FileCheck %s --check-prefix=INTERFACE
14 # WARNINGS: cannot copy parseable Swift interface
15 # INTERFACE: module Foo
18 triple: 'x86_64-apple-darwin'
22 - { sym: _main, objAddr: 0x0, binAddr: 0x10000, size: 0x10 }