[dsymutil] Rewrite thumb triple names in user visible messages.
[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 %t.dSYM -verbose 2>&1 | FileCheck %s
3
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
9 # ones.
10
11 # CHECK: warning: no debug symbols in executable (-arch armv7)
12
13 # CHECK: warning: no debug symbols in executable (-arch armv7s)
14
15 # CHECK: warning: no debug symbols in executable (-arch arm64)
16
17 # CHECK: Running lipo
18 # CHECK-NEXT: lipo -create
19 # CHECK-SAME: -segalign armv7
20 # CHECK-SAME: -segalign armv7s
21 # CHECK-SAME: -segalign arm64