summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorManman Ren <manman.ren@gmail.com>2013-11-17 19:35:03 +0000
committerManman Ren <manman.ren@gmail.com>2013-11-17 19:35:03 +0000
commitb46e550a7a348071bb93c2e33199603bc145b518 (patch)
treeb68c1fa8180922cb178926be9e02016598510546
parentc9e395e9acffd2b9ed205f246ea0c5f08aff9758 (diff)
downloadbcm5719-llvm-b46e550a7a348071bb93c2e33199603bc145b518.tar.gz
bcm5719-llvm-b46e550a7a348071bb93c2e33199603bc145b518.zip
Debug Info: fix typo in function name.
llvm-svn: 194975
-rw-r--r--llvm/include/llvm/DebugInfo.h2
-rw-r--r--llvm/lib/IR/DebugInfo.cpp10
2 files changed, 6 insertions, 6 deletions
diff --git a/llvm/include/llvm/DebugInfo.h b/llvm/include/llvm/DebugInfo.h
index e73fda87059..91bbc2ba5f8 100644
--- a/llvm/include/llvm/DebugInfo.h
+++ b/llvm/include/llvm/DebugInfo.h
@@ -777,7 +777,7 @@ public:
private:
/// Initialize TypeIdentifierMap.
- void IntializeTypeMap(const Module &M);
+ void InitializeTypeMap(const Module &M);
/// processType - Process DIType.
void processType(DIType DT);
diff --git a/llvm/lib/IR/DebugInfo.cpp b/llvm/lib/IR/DebugInfo.cpp
index c9e19456a84..692e236b931 100644
--- a/llvm/lib/IR/DebugInfo.cpp
+++ b/llvm/lib/IR/DebugInfo.cpp
@@ -954,7 +954,7 @@ void DebugInfoFinder::reset() {
TypeMapInitialized = false;
}
-void DebugInfoFinder::IntializeTypeMap(const Module &M) {
+void DebugInfoFinder::InitializeTypeMap(const Module &M) {
if (!TypeMapInitialized)
if (NamedMDNode *CU_Nodes = M.getNamedMetadata("llvm.dbg.cu")) {
TypeIdentifierMap = generateDITypeIdentifierMap(CU_Nodes);
@@ -964,7 +964,7 @@ void DebugInfoFinder::IntializeTypeMap(const Module &M) {
/// processModule - Process entire module and collect debug info.
void DebugInfoFinder::processModule(const Module &M) {
- IntializeTypeMap(M);
+ InitializeTypeMap(M);
if (NamedMDNode *CU_Nodes = M.getNamedMetadata("llvm.dbg.cu")) {
for (unsigned i = 0, e = CU_Nodes->getNumOperands(); i != e; ++i) {
DICompileUnit CU(CU_Nodes->getOperand(i));
@@ -1005,7 +1005,7 @@ void DebugInfoFinder::processModule(const Module &M) {
void DebugInfoFinder::processLocation(const Module &M, DILocation Loc) {
if (!Loc)
return;
- IntializeTypeMap(M);
+ InitializeTypeMap(M);
processScope(Loc.getScope());
processLocation(M, Loc.getOrigLocation());
}
@@ -1099,7 +1099,7 @@ void DebugInfoFinder::processDeclare(const Module &M,
MDNode *N = dyn_cast<MDNode>(DDI->getVariable());
if (!N)
return;
- IntializeTypeMap(M);
+ InitializeTypeMap(M);
DIDescriptor DV(N);
if (!DV.isVariable())
@@ -1115,7 +1115,7 @@ void DebugInfoFinder::processValue(const Module &M, const DbgValueInst *DVI) {
MDNode *N = dyn_cast<MDNode>(DVI->getVariable());
if (!N)
return;
- IntializeTypeMap(M);
+ InitializeTypeMap(M);
DIDescriptor DV(N);
if (!DV.isVariable())
OpenPOWER on IntegriCloud