Skip to content

Commit bcb98b9

Browse files
[Prototype] Fix invalid StringRef use
1 parent efa5773 commit bcb98b9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/Serialization/ModuleSummaryIndexer.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ void FunctionSummaryIndexer::indexDirectFunctionCall(
102102

103103
void FunctionSummaryIndexer::indexIndirectFunctionCall(
104104
const SILDeclRef &Callee, FunctionSummary::Call::KindTy Kind) {
105-
StringRef mangledName = Callee.mangle();
105+
std::string mangledName = Callee.mangle();
106106
GUID guid = getGUIDFromUniqueName(mangledName);
107107
FunctionSummary::Call call(guid, mangledName, Kind);
108108
TheSummary->addCall(call);

0 commit comments

Comments
 (0)