brintos

brintos / llvm-project-archived public Read only

0
0
Text · 3.3 KiB · 685c86a Raw
67 lines · plain
1RUN: rm -rf %t2RUN: mkdir -p %t/dsymdest3RUN: cp %p/../Inputs/basic.macho.x86_64 %t/basic.macho.x86_644 5RUN: dsymutil -accelerator=Pub -oso-prepend-path=%p/.. %t/basic.macho.x86_646 7Check that the object file in the bundle exists and is sane:8RUN: llvm-dwarfdump -a %t/basic.macho.x86_64.dSYM/Contents/Resources/DWARF/basic.macho.x86_64 | FileCheck %S/basic-linking-x86.test9 10Check that we don't create an empty Remarks directory if there are no remarks.11RUN: not ls %t/basic.macho.x86_64.dSYM/Contents/Resources/Remarks12 13Check that llvm-dwarfdump -a recognizes the bundle as a dSYM:14RUN: llvm-dwarfdump -a %t/basic.macho.x86_64.dSYM | FileCheck %S/basic-linking-x86.test15 16RUN: FileCheck %s --input-file %t/basic.macho.x86_64.dSYM/Contents/Info.plist17 18RUN: dsymutil -oso-prepend-path=%p/.. %t/basic.macho.x86_64 -o %t/dsymdest/basic.macho.x86_64.dSYM19RUN: llvm-dwarfdump -a %t/dsymdest/basic.macho.x86_64.dSYM/Contents/Resources/DWARF/basic.macho.x86_64 | FileCheck %S/basic-linking-x86.test20RUN: FileCheck %s --input-file %t/dsymdest/basic.macho.x86_64.dSYM/Contents/Info.plist21 22### --------------------------------------------23### Repeat the steps for --linker parallel24 25RUN: rm -rf %t26RUN: mkdir -p %t/dsymdest27RUN: cp %p/../Inputs/basic.macho.x86_64 %t/basic.macho.x86_6428 29RUN: dsymutil --linker parallel -accelerator=Pub -oso-prepend-path=%p/.. %t/basic.macho.x86_6430 31Check that the object file in the bundle exists and is sane:32RUN: llvm-dwarfdump -a %t/basic.macho.x86_64.dSYM/Contents/Resources/DWARF/basic.macho.x86_64 | FileCheck %S/basic-linking-x86.test33 34Check that we don't create an empty Remarks directory if there are no remarks.35RUN: not ls %t/basic.macho.x86_64.dSYM/Contents/Resources/Remarks36 37Check that llvm-dwarfdump -a recognizes the bundle as a dSYM:38RUN: llvm-dwarfdump -a %t/basic.macho.x86_64.dSYM | FileCheck %S/basic-linking-x86.test39 40RUN: FileCheck %s --input-file %t/basic.macho.x86_64.dSYM/Contents/Info.plist41 42RUN: dsymutil --linker parallel -oso-prepend-path=%p/.. %t/basic.macho.x86_64 \43RUN:   -o %t/dsymdest/basic.macho.x86_64.dSYM44RUN: llvm-dwarfdump -a %t/dsymdest/basic.macho.x86_64.dSYM/Contents/Resources/DWARF/basic.macho.x86_64 | FileCheck %S/basic-linking-x86.test45RUN: FileCheck %s --input-file %t/dsymdest/basic.macho.x86_64.dSYM/Contents/Info.plist46 47CHECK: <?xml version="1.0" encoding="UTF-8"?>48CHECK-NEXT: <!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">49CHECK-NEXT: <plist version="1.0">50CHECK-NEXT:         <dict>51CHECK-NEXT:                 <key>CFBundleDevelopmentRegion</key>52CHECK-NEXT:                 <string>English</string>53CHECK-NEXT:                 <key>CFBundleIdentifier</key>54CHECK-NEXT:                 <string>com.apple.xcode.dsym.basic.macho.x86_64</string>55CHECK-NEXT:                 <key>CFBundleInfoDictionaryVersion</key>56CHECK-NEXT:                 <string>6.0</string>57CHECK-NEXT:                 <key>CFBundlePackageType</key>58CHECK-NEXT:                 <string>dSYM</string>59CHECK-NEXT:                 <key>CFBundleSignature</key>60CHECK-NEXT:                 <string>????</string>61CHECK-NEXT:                 <key>CFBundleShortVersionString</key>62CHECK-NEXT:                 <string>1.0</string>63CHECK-NEXT:                 <key>CFBundleVersion</key>64CHECK-NEXT:                 <string>1</string>65CHECK-NEXT:         </dict>66CHECK-NEXT: </plist>67