[llvm-commits] [llvm-gcc-4.2] r75654 - /llvm-gcc-4.2/trunk/gcc/llvm-debug.cpp
Devang Patel
dpatel at apple.com
Tue Jul 14 11:38:23 PDT 2009
Author: dpatel
Date: Tue Jul 14 13:38:22 2009
New Revision: 75654
URL: http://llvm.org/viewvc/llvm-project?rev=75654&view=rev
Log:
s/getValueName/getMangledName/g
Modified:
llvm-gcc-4.2/trunk/gcc/llvm-debug.cpp
Modified: llvm-gcc-4.2/trunk/gcc/llvm-debug.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm-gcc-4.2/trunk/gcc/llvm-debug.cpp?rev=75654&r1=75653&r2=75654&view=diff
==============================================================================
--- llvm-gcc-4.2/trunk/gcc/llvm-debug.cpp (original)
+++ llvm-gcc-4.2/trunk/gcc/llvm-debug.cpp Tue Jul 14 13:38:22 2009
@@ -187,7 +187,7 @@
// Use llvm value name as linkage name if it is available.
if (DECL_LLVM_SET_P(Node)) {
GlobalValue *V = dyn_cast<GlobalValue>(DECL_LLVM(Node));
- return LLVMMangler->getValueName(V).c_str();
+ return LLVMMangler->getMangledName(V).c_str();
}
tree decl_name = DECL_NAME(Node);
@@ -239,7 +239,7 @@
DebugFactory.CreateSubprogram(findRegion(FnDecl),
lang_hooks.dwarf_name(FnDecl, 0),
lang_hooks.dwarf_name(FnDecl, 0),
- LLVMMangler->getValueName(Fn),
+ LLVMMangler->getMangledName(Fn),
getOrCreateCompileUnit(Loc.file), CurLineNo,
getOrCreateType(TREE_TYPE(FnDecl)),
Fn->hasInternalLinkage(),
@@ -372,7 +372,7 @@
DebugFactory.CreateGlobalVariable(getOrCreateCompileUnit(Loc.file),
GV->getNameStr(),
DispName,
- LLVMMangler->getValueName(GV),
+ LLVMMangler->getMangledName(GV),
getOrCreateCompileUnit(Loc.file), Loc.line,
TyD, GV->hasInternalLinkage(),
true/*definition*/, GV);
More information about the llvm-commits
mailing list