1 RUN: rm -rf %T/basic-linking-bundle 2 RUN: mkdir -p %T/basic-linking-bundle/dsymdest 3 RUN: cat %p/../Inputs/basic.macho.x86_64 > %T/basic-linking-bundle/basic.macho.x86_64 4 5 RUN: llvm-dsymutil -oso-prepend-path=%p/.. %T/basic-linking-bundle/basic.macho.x86_64 6 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 7 RUN: FileCheck %s --input-file %T/basic-linking-bundle/basic.macho.x86_64.dSYM/Contents/Info.plist 8 9 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 10 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 11 RUN: FileCheck %s --input-file %T/basic-linking-bundle/dsymdest/basic.macho.x86_64.dSYM/Contents/Info.plist 12 13 CHECK: <?xml version="1.0" encoding="UTF-8"?> 14 CHECK-NEXT: <!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> 15 CHECK-NEXT: <plist version="1.0"> 16 CHECK-NEXT: <dict> 17 CHECK-NEXT: <key>CFBundleDevelopmentRegion</key> 18 CHECK-NEXT: <string>English</string> 19 CHECK-NEXT: <key>CFBundleIdentifier</key> 20 CHECK-NEXT: <string>com.apple.xcode.dsym.basic.macho.x86_64</string> 21 CHECK-NEXT: <key>CFBundleInfoDictionaryVersion</key> 22 CHECK-NEXT: <string>6.0</string> 23 CHECK-NEXT: <key>CFBundlePackageType</key> 24 CHECK-NEXT: <string>dSYM</string> 25 CHECK-NEXT: <key>CFBundleSignature</key> 26 CHECK-NEXT: <string>????</string> 27 CHECK-NEXT: <key>CFBundleShortVersionString</key> 28 CHECK-NEXT: <string>1.0</string> 29 CHECK-NEXT: <key>CFBundleVersion</key> 30 CHECK-NEXT: <string>1</string> 31 CHECK-NEXT: </dict> 32 CHECK-NEXT: </plist> 33