diff options
author | Chris Lattner <sabre@nondot.org> | 2009-07-14 06:16:43 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2009-07-14 06:16:43 +0000 |
commit | 127bf318068659471bce3b08c462d2eab6a5e6a5 (patch) | |
tree | 047135c6564107dec4b83f64dce5fc316cacc02c | |
parent | 58f6eafe6ca0bf19635b2fe8911dda0a4af8fd35 (diff) |
use new name for method.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@75614 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r-- | lib/CodeGen/CGDebugInfo.cpp | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/lib/CodeGen/CGDebugInfo.cpp b/lib/CodeGen/CGDebugInfo.cpp index 7855b91f1f..47b477e9d5 100644 --- a/lib/CodeGen/CGDebugInfo.cpp +++ b/lib/CodeGen/CGDebugInfo.cpp @@ -843,7 +843,8 @@ void CGDebugInfo::EmitFunctionStart(const char *Name, QualType ReturnType, unsigned LineNo = SM.getPresumedLoc(CurLoc).getLine(); llvm::DISubprogram SP = - DebugFactory.CreateSubprogram(Unit, Name, Name, LLVMMangler->getValueName(Fn), + DebugFactory.CreateSubprogram(Unit, Name, Name, + LLVMMangler->getMangledName(Fn), Unit, LineNo, getOrCreateType(ReturnType, Unit), Fn->hasInternalLinkage(), true/*definition*/); @@ -980,7 +981,7 @@ void CGDebugInfo::EmitGlobalVariable(llvm::GlobalVariable *Var, } DebugFactory.CreateGlobalVariable(Unit, Name, Name, - LLVMMangler->getValueName(Var), + LLVMMangler->getMangledName(Var), Unit, LineNo, getOrCreateType(T, Unit), Var->hasInternalLinkage(), @@ -1012,7 +1013,7 @@ void CGDebugInfo::EmitGlobalVariable(llvm::GlobalVariable *Var, } DebugFactory.CreateGlobalVariable(Unit, Name, Name, - LLVMMangler->getValueName(Var), + LLVMMangler->getMangledName(Var), Unit, LineNo, getOrCreateType(T, Unit), Var->hasInternalLinkage(), |