summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen
diff options
context:
space:
mode:
authorDavid Blaikie <dblaikie@gmail.com>2013-09-19 23:01:29 +0000
committerDavid Blaikie <dblaikie@gmail.com>2013-09-19 23:01:29 +0000
commit404d3047c00e9a0e3fa53ccc2d24161e9a82d33b (patch)
tree545780e6bdb933a4de836bf0eab6d9aa2e945cbc /llvm/lib/CodeGen
parentd09bb4614b81cb9969240f7db4b706dbd7f61ec6 (diff)
downloadbcm5719-llvm-404d3047c00e9a0e3fa53ccc2d24161e9a82d33b.tar.gz
bcm5719-llvm-404d3047c00e9a0e3fa53ccc2d24161e9a82d33b.zip
DebugInfo: llvm-dwarfdump support for gnu_pubnames section
llvm-svn: 191050
Diffstat (limited to 'llvm/lib/CodeGen')
-rw-r--r--llvm/lib/CodeGen/AsmPrinter/DwarfDebug.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/lib/CodeGen/AsmPrinter/DwarfDebug.cpp b/llvm/lib/CodeGen/AsmPrinter/DwarfDebug.cpp
index a5b5905f3b1..a8ebf45e6e9 100644
--- a/llvm/lib/CodeGen/AsmPrinter/DwarfDebug.cpp
+++ b/llvm/lib/CodeGen/AsmPrinter/DwarfDebug.cpp
@@ -2404,7 +2404,7 @@ void DwarfDebug::emitDebugPubNames(bool GnuStyle) {
dwarf::PubIndexEntryDescriptor Desc = computeIndexValue(TheCU, Entity);
Asm->OutStreamer.AddComment(
"Kind: " + dwarf::GDBIndexEntryKindString(Desc.Kind) + ", " +
- dwarf::GDBIndexEntryLinkageString(Desc.Static));
+ dwarf::GDBIndexEntryLinkageString(Desc.Linkage));
Asm->EmitInt8(Desc.toBits());
}
@@ -2466,7 +2466,7 @@ void DwarfDebug::emitDebugPubTypes(bool GnuStyle) {
dwarf::PubIndexEntryDescriptor Desc = computeIndexValue(TheCU, Entity);
Asm->OutStreamer.AddComment(
"Kind: " + dwarf::GDBIndexEntryKindString(Desc.Kind) + ", " +
- dwarf::GDBIndexEntryLinkageString(Desc.Static));
+ dwarf::GDBIndexEntryLinkageString(Desc.Linkage));
Asm->EmitInt8(Desc.toBits());
}
OpenPOWER on IntegriCloud