RUN: rm -rf %T/basic-linking-bundle RUN: mkdir -p %T/basic-linking-bundle/dsymdest RUN: cat %p/../Inputs/basic.macho.x86_64 > %T/basic-linking-bundle/basic.macho.x86_64 RUN: llvm-dsymutil -oso-prepend-path=%p/.. %T/basic-linking-bundle/basic.macho.x86_64 Check that the object file in the bundle exists and is sane: RUN: llvm-dwarfdump %T/basic-linking-bundle/basic.macho.x86_64.dSYM/Contents/Resources/DWARF/basic.macho.x86_64 | FileCheck %S/basic-linking-x86.test Check that llvm-dwarfdump recognizes the bundle as a dSYM: RUN: llvm-dwarfdump %T/basic-linking-bundle/basic.macho.x86_64.dSYM | FileCheck %S/basic-linking-x86.test RUN: FileCheck %s --input-file %T/basic-linking-bundle/basic.macho.x86_64.dSYM/Contents/Info.plist RUN: llvm-dsymutil -oso-prepend-path=%p/.. %T/basic-linking-bundle/basic.macho.x86_64 -o %T/basic-linking-bundle/dsymdest/basic.macho.x86_64.dSYM RUN: llvm-dwarfdump %T/basic-linking-bundle/dsymdest/basic.macho.x86_64.dSYM/Contents/Resources/DWARF/basic.macho.x86_64 | FileCheck %S/basic-linking-x86.test RUN: FileCheck %s --input-file %T/basic-linking-bundle/dsymdest/basic.macho.x86_64.dSYM/Contents/Info.plist CHECK: CHECK-NEXT: CHECK-NEXT: CHECK-NEXT: CHECK-NEXT: CFBundleDevelopmentRegion CHECK-NEXT: English CHECK-NEXT: CFBundleIdentifier CHECK-NEXT: com.apple.xcode.dsym.basic.macho.x86_64 CHECK-NEXT: CFBundleInfoDictionaryVersion CHECK-NEXT: 6.0 CHECK-NEXT: CFBundlePackageType CHECK-NEXT: dSYM CHECK-NEXT: CFBundleSignature CHECK-NEXT: ???? CHECK-NEXT: CFBundleShortVersionString CHECK-NEXT: 1.0 CHECK-NEXT: CFBundleVersion CHECK-NEXT: 1 CHECK-NEXT: CHECK-NEXT: