diff options
author | Manman Ren <manman.ren@gmail.com> | 2013-11-17 19:35:03 +0000 |
---|---|---|
committer | Manman Ren <manman.ren@gmail.com> | 2013-11-17 19:35:03 +0000 |
commit | 6950be28511caf355abdf405404b5f37cc136bc5 (patch) | |
tree | ceac4af3e105d9d9ea7fe380078dceaa37b3dde6 /lib | |
parent | 9564d643d7b5ec2ea4068d7dadae88f285ae928e (diff) | |
download | external_llvm-6950be28511caf355abdf405404b5f37cc136bc5.zip external_llvm-6950be28511caf355abdf405404b5f37cc136bc5.tar.gz external_llvm-6950be28511caf355abdf405404b5f37cc136bc5.tar.bz2 |
Debug Info: fix typo in function name.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@194975 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib')
-rw-r--r-- | lib/IR/DebugInfo.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/lib/IR/DebugInfo.cpp b/lib/IR/DebugInfo.cpp index c9e1945..692e236 100644 --- a/lib/IR/DebugInfo.cpp +++ b/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()) |