1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2025-02-01 13:11:39 +01:00
llvm-mirror/test/tools/dsymutil/ARM/fat-arch-name.test
Frederic Riss a1dee5bc4a [dsymutil] actually fix test.
Not all machines have lipo installed. Do not try to invoke it.

llvm-svn: 245991
2015-08-25 23:29:43 +00:00

22 lines
857 B
Plaintext

# REQUIRES: object-emission
# RUN: llvm-dsymutil -no-output %p/../Inputs/fat-test.arm.dylib -o %t.dSYM -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