1 # REQUIRES: object-emission
2 # RUN: dsymutil -no-output %p/../Inputs/fat-test.arm.dylib -o /dev/null -verbose 2>&1 | FileCheck %s
4 # We detect thumb triples from the binaries, because those are the only ones
5 # that are guaranteed to be able to generate a Target instance (for example
6 # we would detect armv7m-apple-darwin as non-thumb triple, but you can't
7 # instantiate a Target from that). In the user-visible architecture names, and
8 # in the lipo invocation, we need to rewrite the thumb arch names to the arm
11 # CHECK: warning: no debug symbols in executable (-arch armv7)
13 # CHECK: warning: no debug symbols in executable (-arch armv7s)
15 # CHECK: warning: no debug symbols in executable (-arch arm64)
18 # CHECK-NEXT: lipo -create
19 # CHECK-SAME: -segalign armv7
20 # CHECK-SAME: -segalign armv7s
21 # CHECK-SAME: -segalign arm64