diff options
author | Chris Lattner <sabre@nondot.org> | 2009-07-14 18:18:16 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2009-07-14 18:18:16 +0000 |
commit | ff1ee0d7c9e0536915af155e6417d25d6361db51 (patch) | |
tree | 8d4a8af2b3850ced0865091728cf88212f1d0129 | |
parent | 8c9a96b96671b77181f32836d8427e6de1ca5ec1 (diff) | |
download | bcm5719-llvm-ff1ee0d7c9e0536915af155e6417d25d6361db51.tar.gz bcm5719-llvm-ff1ee0d7c9e0536915af155e6417d25d6361db51.zip |
[llvm up] adjust to match mainline.
llvm-svn: 75647
-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 b4eff37093b..3d7548e293d 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(), |