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 | 74d3c615323e9be00dbcbe474ea061b1904dca11 (patch) | |
| tree | 452b1ba813cd87141d62f2df6928826278cc012d /clang/lib/CodeGen | |
| parent | 40221d0d3dbc2dd0e26298a02314a615bba76525 (diff) | |
| download | bcm5719-llvm-74d3c615323e9be00dbcbe474ea061b1904dca11.tar.gz bcm5719-llvm-74d3c615323e9be00dbcbe474ea061b1904dca11.zip | |
use new name for method.
llvm-svn: 75614
Diffstat (limited to 'clang/lib/CodeGen')
| -rw-r--r-- | clang/lib/CodeGen/CGDebugInfo.cpp | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/clang/lib/CodeGen/CGDebugInfo.cpp b/clang/lib/CodeGen/CGDebugInfo.cpp index 7855b91f1fa..47b477e9d50 100644 --- a/clang/lib/CodeGen/CGDebugInfo.cpp +++ b/clang/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(), |

