brintos

brintos / llvm-project-archived public Read only

0
0
Text · 2.3 KiB · 62f716b Raw
43 lines · plain
1REQUIRES: system-darwin2 3RUN: rm -rf %t4RUN: mkdir -p %t/dsymdest5RUN: cat %p/../Inputs/basic.macho.x86_64 > %t/basic.macho.x86_646RUN: cat %p/../Inputs/Info.plist > %t/Info.plist7 8RUN: dsymutil -oso-prepend-path=%p/.. %t/basic.macho.x86_64 -o %t/dsymdest/basic.macho.x86_64.dSYM9RUN: FileCheck %s --input-file %t/dsymdest/basic.macho.x86_64.dSYM/Contents/Info.plist10 11RUN: dsymutil -oso-prepend-path=%p/.. %t/basic.macho.x86_64 -toolchain "toolchain&and'some<symbols" -o %t/dsymdest/basic.macho.x86_64.dSYM12RUN: FileCheck %s --input-file %t/dsymdest/basic.macho.x86_64.dSYM/Contents/Info.plist --check-prefix=CHECK --check-prefix=TOOLCHAIN13 14RUN: dsymutil --linker parallel -oso-prepend-path=%p/.. %t/basic.macho.x86_64 -o %t/dsymdest/basic.macho.x86_64.dSYM15RUN: FileCheck %s --input-file %t/dsymdest/basic.macho.x86_64.dSYM/Contents/Info.plist16 17RUN: dsymutil --linker parallel -oso-prepend-path=%p/.. %t/basic.macho.x86_64 -toolchain "toolchain&and'some<symbols" -o %t/dsymdest/basic.macho.x86_64.dSYM18RUN: FileCheck %s --input-file %t/dsymdest/basic.macho.x86_64.dSYM/Contents/Info.plist --check-prefix=CHECK --check-prefix=TOOLCHAIN19 20 21CHECK: <?xml version="1.0" encoding="UTF-8"?>22CHECK-NEXT: <!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">23CHECK-NEXT: <plist version="1.0">24CHECK-NEXT:         <dict>25CHECK-NEXT:                 <key>CFBundleDevelopmentRegion</key>26CHECK-NEXT:                 <string>English</string>27CHECK-NEXT:                 <key>CFBundleIdentifier</key>28CHECK-NEXT:                 <string>com.apple.xcode.dsym.Foo&amp;Bar</string>29CHECK-NEXT:                 <key>CFBundleInfoDictionaryVersion</key>30CHECK-NEXT:                 <string>6.0</string>31CHECK-NEXT:                 <key>CFBundlePackageType</key>32CHECK-NEXT:                 <string>dSYM</string>33CHECK-NEXT:                 <key>CFBundleSignature</key>34CHECK-NEXT:                 <string>????</string>35CHECK-NEXT:                 <key>CFBundleShortVersionString</key>36CHECK-NEXT:                 <string>2.0</string>37CHECK-NEXT:                 <key>CFBundleVersion</key>38CHECK-NEXT:                 <string>2</string>39TOOLCHAIN:                  <key>Toolchain</key>40TOOLCHAIN-NEXT:             <string>toolchain&amp;and&apos;some&lt;symbols</string>41CHECK:              </dict>42CHECK-NEXT: </plist>43