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