forked from OSchip/llvm-project
[dsymutil] Escape CFBundleIdentifier in plist.
Revision 333565 started escaping HTML special characters in the plist written by dsymutil, but didn't include the updated CFBundleIdentifier.
This commit is contained in:
parent
bae7cf6746
commit
d4086213c6
|
@ -5,7 +5,7 @@
|
|||
<key>CFBundleDevelopmentRegion</key>
|
||||
<string>English</string>
|
||||
<key>CFBundleIdentifier</key>
|
||||
<string>custom</string>
|
||||
<string>Foo&Bar</string>
|
||||
<key>CFBundleInfoDictionaryVersion</key>
|
||||
<string>6.0</string>
|
||||
<key>CFBundlePackageType</key>
|
||||
|
|
|
@ -18,7 +18,7 @@ CHECK-NEXT: <dict>
|
|||
CHECK-NEXT: <key>CFBundleDevelopmentRegion</key>
|
||||
CHECK-NEXT: <string>English</string>
|
||||
CHECK-NEXT: <key>CFBundleIdentifier</key>
|
||||
CHECK-NEXT: <string>com.apple.xcode.dsym.custom</string>
|
||||
CHECK-NEXT: <string>com.apple.xcode.dsym.Foo&Bar</string>
|
||||
CHECK-NEXT: <key>CFBundleInfoDictionaryVersion</key>
|
||||
CHECK-NEXT: <string>6.0</string>
|
||||
CHECK-NEXT: <key>CFBundlePackageType</key>
|
||||
|
|
|
@ -338,7 +338,9 @@ static Error createPlistFile(StringRef Bin, StringRef BundleRoot,
|
|||
<< "\t\t<key>CFBundleDevelopmentRegion</key>\n"
|
||||
<< "\t\t<string>English</string>\n"
|
||||
<< "\t\t<key>CFBundleIdentifier</key>\n"
|
||||
<< "\t\t<string>com.apple.xcode.dsym." << BI.IDStr << "</string>\n"
|
||||
<< "\t\t<string>com.apple.xcode.dsym.";
|
||||
printHTMLEscaped(BI.IDStr, PL);
|
||||
PL << "</string>\n"
|
||||
<< "\t\t<key>CFBundleInfoDictionaryVersion</key>\n"
|
||||
<< "\t\t<string>6.0</string>\n"
|
||||
<< "\t\t<key>CFBundlePackageType</key>\n"
|
||||
|
|
Loading…
Reference in New Issue