[llvm-commits] [llvm] r106516 - /llvm/trunk/lib/CodeGen/AsmPrinter/DwarfDebug.cpp
Devang Patel
dpatel at apple.com
Mon Jun 21 18:06:05 PDT 2010
Author: dpatel
Date: Mon Jun 21 20:06:05 2010
New Revision: 106516
URL: http://llvm.org/viewvc/llvm-project?rev=106516&view=rev
Log:
Discard special LLVM prefix from linkage name.
Modified:
llvm/trunk/lib/CodeGen/AsmPrinter/DwarfDebug.cpp
Modified: llvm/trunk/lib/CodeGen/AsmPrinter/DwarfDebug.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/CodeGen/AsmPrinter/DwarfDebug.cpp?rev=106516&r1=106515&r2=106516&view=diff
==============================================================================
--- llvm/trunk/lib/CodeGen/AsmPrinter/DwarfDebug.cpp (original)
+++ llvm/trunk/lib/CodeGen/AsmPrinter/DwarfDebug.cpp Mon Jun 21 20:06:05 2010
@@ -2260,7 +2260,8 @@
const Function *F = MF->getFunction();
const Module *M = F->getParent();
if (NamedMDNode *NMD =
- M->getNamedMetadataUsingTwine(Twine("llvm.dbg.lv.", F->getName()))) {
+ M->getNamedMetadataUsingTwine(Twine("llvm.dbg.lv.",
+ getRealLinkageName(F->getName())))) {
for (unsigned i = 0, e = NMD->getNumOperands(); i != e; ++i) {
DIVariable DV(cast_or_null<MDNode>(NMD->getOperand(i)));
if (!DV || !Processed.insert(DV))
More information about the llvm-commits
mailing list