summaryrefslogtreecommitdiffstats
path: root/clang/lib/CodeGen/CGDebugInfo.cpp
diff options
context:
space:
mode:
authorDevang Patel <dpatel@apple.com>2010-01-28 18:21:00 +0000
committerDevang Patel <dpatel@apple.com>2010-01-28 18:21:00 +0000
commit0d61eebd819b4bd511f1a36370e9539d0a33d857 (patch)
tree4c64fe89648dec974f8bebc0c0bd40f1e7d39d2d /clang/lib/CodeGen/CGDebugInfo.cpp
parent04f442c515cd0740f22c5ad4b7560b757f07bb31 (diff)
downloadbcm5719-llvm-0d61eebd819b4bd511f1a36370e9539d0a33d857.tar.gz
bcm5719-llvm-0d61eebd819b4bd511f1a36370e9539d0a33d857.zip
s/FunctionNames/DebugInfoNames/g
llvm-svn: 94753
Diffstat (limited to 'clang/lib/CodeGen/CGDebugInfo.cpp')
-rw-r--r--clang/lib/CodeGen/CGDebugInfo.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/clang/lib/CodeGen/CGDebugInfo.cpp b/clang/lib/CodeGen/CGDebugInfo.cpp
index f9a40cb0b5f..7d2b4cd7503 100644
--- a/clang/lib/CodeGen/CGDebugInfo.cpp
+++ b/clang/lib/CodeGen/CGDebugInfo.cpp
@@ -78,7 +78,7 @@ llvm::StringRef CGDebugInfo::getFunctionName(const FunctionDecl *FD) {
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 @@ llvm::StringRef CGDebugInfo::getVtableName(const CXXRecordDecl *Decl) {
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());
}
OpenPOWER on IntegriCloud