1RUN: llvm-dsymutil -f -verbose -no-output %p/Inputs/fat-test.dylib -oso-prepend-path %p | FileCheck %s 2 3This test doesn't produce any filesytstem output, we just look at the verbose 4log output. 5 6For each arch in the binary, check that we emit the right triple with the right 7file and the right symbol inside it (each slice has a different symbol, so that 8means that the logic is looking at the right file slice too). 9 10After the link of each architecture, check that lipo is correctly invoked to 11generate the fat output binary. 12 13CHECK: triple: 'x86_64-apple-darwin' 14CHECK: - filename: {{'?}}[[INPUTS_PATH:.*]]fat-test.o 15CHECK: DW_AT_name{{.*}} "x86_64_var" 16 17CHECK: triple: 'i386-apple-darwin' 18CHECK: - filename: {{'?}}[[INPUTS_PATH]]fat-test.o 19CHECK: DW_AT_name{{.*}} "i386_var" 20 21CHECK: triple: 'x86_64h-apple-darwin' 22CHECK: - filename: {{'?}}[[INPUTS_PATH]]fat-test.o 23CHECK: DW_AT_name{{.*}} "x86_64h_var" 24 25CHECK: Running lipo 26CHECK-NEXT: lipo -create 27CHECK-SAME: [[INPUTS_PATH]]fat-test.dylib.tmp{{......}}.dwarf 28CHECK-SAME: [[INPUTS_PATH]]fat-test.dylib.tmp{{......}}.dwarf 29CHECK-SAME: [[INPUTS_PATH]]fat-test.dylib.tmp{{......}}.dwarf 30CHECK-SAME: -segalign x86_64 20 -segalign i386 20 -segalign x86_64h 20 31CHECK-SAME: -output [[INPUTS_PATH]]fat-test.dylib.dwarf 32 33