Skip to content
This repository was archived by the owner on Mar 28, 2020. It is now read-only.

Commit d8806d9

Browse files
committed
[DNM] Change the symbol for the default Swift CFString class.
Required for the work in swiftlang/swift-corelibs-foundation#1799
1 parent 41ac4c4 commit d8806d9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/CodeGen/CodeGenModule.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4050,8 +4050,8 @@ CodeGenModule::GetAddrOfConstantCFString(const StringLiteral *Literal) {
40504050
case LangOptions::CoreFoundationABI::Swift: LLVM_FALLTHROUGH;
40514051
case LangOptions::CoreFoundationABI::Swift5_0:
40524052
CFConstantStringClassName =
4053-
Triple.isOSDarwin() ? "$s15SwiftFoundation19_NSCFConstantStringCN"
4054-
: "$s10Foundation19_NSCFConstantStringCN";
4053+
Triple.isOSDarwin() ? "$s19SwiftFoundationSoil19_NSCFConstantStringCN"
4054+
: "$s14FoundationSoil19_NSCFConstantStringCN";
40554055
Ty = IntPtrTy;
40564056
break;
40574057
case LangOptions::CoreFoundationABI::Swift4_2:

0 commit comments

Comments
 (0)