diff options
| author | Daniel Dunbar <daniel@zuster.org> | 2009-07-14 16:40:28 +0000 |
|---|---|---|
| committer | Daniel Dunbar <daniel@zuster.org> | 2009-07-14 16:40:28 +0000 |
| commit | 88719a1dd6e7e810f32c077cf694b8c79a4bd009 (patch) | |
| tree | aece35ee7a9e2314ae5e6012f2f4ff7ad6acc9b4 /clang/lib | |
| parent | eb3e4271e8f683ffc910d6c34c58e6768de26b06 (diff) | |
| download | bcm5719-llvm-88719a1dd6e7e810f32c077cf694b8c79a4bd009.tar.gz bcm5719-llvm-88719a1dd6e7e810f32c077cf694b8c79a4bd009.zip | |
Revert r75614 which depend on r75610 (for LLVM), which was reverted.
--- Reverse-merging r75614 into '.':
U lib/CodeGen/CGDebugInfo.cpp
llvm-svn: 75639
Diffstat (limited to 'clang/lib')
| -rw-r--r-- | clang/lib/CodeGen/CGDebugInfo.cpp | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/clang/lib/CodeGen/CGDebugInfo.cpp b/clang/lib/CodeGen/CGDebugInfo.cpp index 47b477e9d50..7855b91f1fa 100644 --- a/clang/lib/CodeGen/CGDebugInfo.cpp +++ b/clang/lib/CodeGen/CGDebugInfo.cpp @@ -843,8 +843,7 @@ void CGDebugInfo::EmitFunctionStart(const char *Name, QualType ReturnType, unsigned LineNo = SM.getPresumedLoc(CurLoc).getLine(); llvm::DISubprogram SP = - DebugFactory.CreateSubprogram(Unit, Name, Name, - LLVMMangler->getMangledName(Fn), + DebugFactory.CreateSubprogram(Unit, Name, Name, LLVMMangler->getValueName(Fn), Unit, LineNo, getOrCreateType(ReturnType, Unit), Fn->hasInternalLinkage(), true/*definition*/); @@ -981,7 +980,7 @@ void CGDebugInfo::EmitGlobalVariable(llvm::GlobalVariable *Var, } DebugFactory.CreateGlobalVariable(Unit, Name, Name, - LLVMMangler->getMangledName(Var), + LLVMMangler->getValueName(Var), Unit, LineNo, getOrCreateType(T, Unit), Var->hasInternalLinkage(), @@ -1013,7 +1012,7 @@ void CGDebugInfo::EmitGlobalVariable(llvm::GlobalVariable *Var, } DebugFactory.CreateGlobalVariable(Unit, Name, Name, - LLVMMangler->getMangledName(Var), + LLVMMangler->getValueName(Var), Unit, LineNo, getOrCreateType(T, Unit), Var->hasInternalLinkage(), |

