From: Chris Lattner Date: Tue, 14 Jul 2009 06:16:43 +0000 (+0000) Subject: use new name for method. X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=127bf318068659471bce3b08c462d2eab6a5e6a5;p=clang use new name for method. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@75614 91177308-0d34-0410-b5e6-96231b3b80d8 --- 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(),