[llvm] r194975 - Debug Info: fix typo in function name.

Manman Ren manman.ren at gmail.com
Sun Nov 17 11:35:03 PST 2013


Author: mren
Date: Sun Nov 17 13:35:03 2013
New Revision: 194975

URL: http://llvm.org/viewvc/llvm-project?rev=194975&view=rev
Log:
Debug Info: fix typo in function name.

Modified:
    llvm/trunk/include/llvm/DebugInfo.h
    llvm/trunk/lib/IR/DebugInfo.cpp

Modified: llvm/trunk/include/llvm/DebugInfo.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/DebugInfo.h?rev=194975&r1=194974&r2=194975&view=diff
==============================================================================
--- llvm/trunk/include/llvm/DebugInfo.h (original)
+++ llvm/trunk/include/llvm/DebugInfo.h Sun Nov 17 13:35:03 2013
@@ -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);

Modified: llvm/trunk/lib/IR/DebugInfo.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/IR/DebugInfo.cpp?rev=194975&r1=194974&r2=194975&view=diff
==============================================================================
--- llvm/trunk/lib/IR/DebugInfo.cpp (original)
+++ llvm/trunk/lib/IR/DebugInfo.cpp Sun Nov 17 13:35:03 2013
@@ -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(c
 
 /// 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(cons
 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(con
   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
   MDNode *N = dyn_cast<MDNode>(DVI->getVariable());
   if (!N)
     return;
-  IntializeTypeMap(M);
+  InitializeTypeMap(M);
 
   DIDescriptor DV(N);
   if (!DV.isVariable())





More information about the llvm-commits mailing list