[cfe-commits] r75614 - /cfe/trunk/lib/CodeGen/CGDebugInfo.cpp
Chris Lattner
sabre at nondot.org
Mon Jul 13 23:16:43 PDT 2009
Author: lattner
Date: Tue Jul 14 01:16:43 2009
New Revision: 75614
URL: http://llvm.org/viewvc/llvm-project?rev=75614&view=rev
Log:
use new name for method.
Modified:
cfe/trunk/lib/CodeGen/CGDebugInfo.cpp
Modified: cfe/trunk/lib/CodeGen/CGDebugInfo.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/CodeGen/CGDebugInfo.cpp?rev=75614&r1=75613&r2=75614&view=diff
==============================================================================
--- cfe/trunk/lib/CodeGen/CGDebugInfo.cpp (original)
+++ cfe/trunk/lib/CodeGen/CGDebugInfo.cpp Tue Jul 14 01:16:43 2009
@@ -843,7 +843,8 @@
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 @@
}
DebugFactory.CreateGlobalVariable(Unit, Name, Name,
- LLVMMangler->getValueName(Var),
+ LLVMMangler->getMangledName(Var),
Unit, LineNo,
getOrCreateType(T, Unit),
Var->hasInternalLinkage(),
@@ -1012,7 +1013,7 @@
}
DebugFactory.CreateGlobalVariable(Unit, Name, Name,
- LLVMMangler->getValueName(Var),
+ LLVMMangler->getMangledName(Var),
Unit, LineNo,
getOrCreateType(T, Unit),
Var->hasInternalLinkage(),
More information about the cfe-commits
mailing list