summaryrefslogtreecommitdiffstats
path: root/llvm/test/tools/dsymutil/ARM/fat-arch-name.test
blob: be12affba5bc5aa6b558cb98d21a0adf92ab9f05 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
# REQUIRES: object-emission
# RUN: dsymutil -no-output %p/../Inputs/fat-test.arm.dylib -o /dev/null -verbose 2>&1 | FileCheck %s

# We detect thumb triples from the binaries, because those are the only ones
# that are guaranteed to be able to generate a Target instance (for example
# we would detect armv7m-apple-darwin as non-thumb triple, but you can't
# instantiate a Target from that). In the user-visible architecture names, and
# in the lipo invocation, we need to rewrite the thumb arch names to the arm
# ones.

# CHECK: warning: no debug symbols in executable (-arch armv7)

# CHECK: warning: no debug symbols in executable (-arch armv7s)

# CHECK: warning: no debug symbols in executable (-arch arm64)

# CHECK: Running lipo
# CHECK-NEXT: lipo -create
# CHECK-SAME: -segalign armv7
# CHECK-SAME: -segalign armv7s
# CHECK-SAME: -segalign arm64
OpenPOWER on IntegriCloud