[InstCombine] Signed saturation patterns
[llvm-complete.git] / test / tools / dsymutil / X86 / basic-linking-bundle.test
blob11c2130e3134dbeaab5de219f02e36efa0ce4eac
1 RUN: rm -rf %t
2 RUN: mkdir -p %t/dsymdest
3 RUN: cat %p/../Inputs/basic.macho.x86_64 > %t/basic.macho.x86_64
5 RUN: dsymutil -oso-prepend-path=%p/.. %t/basic.macho.x86_64
7 Check that the object file in the bundle exists and is sane:
8 RUN: llvm-dwarfdump -a %t/basic.macho.x86_64.dSYM/Contents/Resources/DWARF/basic.macho.x86_64 | FileCheck %S/basic-linking-x86.test
10 Check that llvm-dwarfdump -a recognizes the bundle as a dSYM:
11 RUN: llvm-dwarfdump -a %t/basic.macho.x86_64.dSYM | FileCheck %S/basic-linking-x86.test
13 RUN: FileCheck %s --input-file %t/basic.macho.x86_64.dSYM/Contents/Info.plist
15 RUN: dsymutil -oso-prepend-path=%p/.. %t/basic.macho.x86_64 -o %t/dsymdest/basic.macho.x86_64.dSYM
16 RUN: llvm-dwarfdump -a %t/dsymdest/basic.macho.x86_64.dSYM/Contents/Resources/DWARF/basic.macho.x86_64 | FileCheck %S/basic-linking-x86.test
17 RUN: FileCheck %s --input-file %t/dsymdest/basic.macho.x86_64.dSYM/Contents/Info.plist
19 CHECK: <?xml version="1.0" encoding="UTF-8"?>
20 CHECK-NEXT: <!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
21 CHECK-NEXT: <plist version="1.0">
22 CHECK-NEXT:         <dict>
23 CHECK-NEXT:                 <key>CFBundleDevelopmentRegion</key>
24 CHECK-NEXT:                 <string>English</string>
25 CHECK-NEXT:                 <key>CFBundleIdentifier</key>
26 CHECK-NEXT:                 <string>com.apple.xcode.dsym.basic.macho.x86_64</string>
27 CHECK-NEXT:                 <key>CFBundleInfoDictionaryVersion</key>
28 CHECK-NEXT:                 <string>6.0</string>
29 CHECK-NEXT:                 <key>CFBundlePackageType</key>
30 CHECK-NEXT:                 <string>dSYM</string>
31 CHECK-NEXT:                 <key>CFBundleSignature</key>
32 CHECK-NEXT:                 <string>????</string>
33 CHECK-NEXT:                 <key>CFBundleShortVersionString</key>
34 CHECK-NEXT:                 <string>1.0</string>
35 CHECK-NEXT:                 <key>CFBundleVersion</key>
36 CHECK-NEXT:                 <string>1</string>
37 CHECK-NEXT:         </dict>
38 CHECK-NEXT: </plist>