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