s/FunctionNames/DebugInfoNames/g
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@94753 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/lib/CodeGen/CGDebugInfo.cpp b/lib/CodeGen/CGDebugInfo.cpp
index f9a40cb..7d2b4cd 100644
--- a/lib/CodeGen/CGDebugInfo.cpp
+++ b/lib/CodeGen/CGDebugInfo.cpp
@@ -78,7 +78,7 @@
std::string NS = FD->getNameAsString();
// Copy this name on the side and use its reference.
- char *StrPtr = FunctionNames.Allocate<char>(NS.length());
+ char *StrPtr = DebugInfoNames.Allocate<char>(NS.length());
memcpy(StrPtr, NS.data(), NS.length());
return llvm::StringRef(StrPtr, NS.length());
}
@@ -716,7 +716,7 @@
std::string Name = "_vptr$" + Decl->getNameAsString();
// Copy this name on the side and use its reference.
- char *StrPtr = FunctionNames.Allocate<char>(Name.length());
+ char *StrPtr = DebugInfoNames.Allocate<char>(Name.length());
memcpy(StrPtr, Name.data(), Name.length());
return llvm::StringRef(StrPtr, Name.length());
}