| 1 |
# RUN: dsymutil -no-output %p/../Inputs/fat-test.arm.dylib -o /dev/null -verbose 2>&1 | FileCheck %s |
| 2 |
|
| 3 |
# RUN: dsymutil --linker parallel -no-output %p/../Inputs/fat-test.arm.dylib -o /dev/null -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 |