Skip to content

Commit

Permalink
[DNM] Change the symbol for the default Swift CFString class.
Browse files Browse the repository at this point in the history
  • Loading branch information
millenomi committed Dec 14, 2018
1 parent ad7fb41 commit bfc65d4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/CodeGen/CodeGenModule.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -4050,8 +4050,8 @@ CodeGenModule::GetAddrOfConstantCFString(const StringLiteral *Literal) {
case LangOptions::CoreFoundationABI::Swift: LLVM_FALLTHROUGH;
case LangOptions::CoreFoundationABI::Swift5_0:
CFConstantStringClassName =
Triple.isOSDarwin() ? "$s15SwiftFoundation19_NSCFConstantStringCN"
: "$s10Foundation19_NSCFConstantStringCN";
Triple.isOSDarwin() ? "$s19SwiftFoundationSoil19_NSCFConstantStringCN"
: "$s14FoundationSoil19_NSCFConstantStringCN";
Ty = IntPtrTy;
break;
case LangOptions::CoreFoundationABI::Swift4_2:
Expand Down

0 comments on commit bfc65d4

Please sign in to comment.