[PATCH] D54480: [AsmPrinter] Rename a comment of .gdb_index entry

Fangrui Song via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Nov 13 12:21:11 PST 2018


This revision was automatically updated to reflect the committed changes.
Closed by commit rL346790: [AsmPrinter] Rename a comment of .debug_gnu_pubnames entry (authored by MaskRay, committed by ).

Repository:
  rL LLVM

https://reviews.llvm.org/D54480

Files:
  llvm/trunk/lib/CodeGen/AsmPrinter/DwarfDebug.cpp
  llvm/trunk/test/DebugInfo/X86/gnu-public-names.ll


Index: llvm/trunk/test/DebugInfo/X86/gnu-public-names.ll
===================================================================
--- llvm/trunk/test/DebugInfo/X86/gnu-public-names.ll
+++ llvm/trunk/test/DebugInfo/X86/gnu-public-names.ll
@@ -65,7 +65,7 @@
 ; }
 
 ; ASM: .section        .debug_gnu_pubnames
-; ASM: .byte   32                      # Kind: VARIABLE, EXTERNAL
+; ASM: .byte   32                      # Attributes: VARIABLE, EXTERNAL
 ; ASM-NEXT: .asciz  "global_variable"       # External Name
 
 ; ASM: .section        .debug_gnu_pubtypes
Index: llvm/trunk/lib/CodeGen/AsmPrinter/DwarfDebug.cpp
===================================================================
--- llvm/trunk/lib/CodeGen/AsmPrinter/DwarfDebug.cpp
+++ llvm/trunk/lib/CodeGen/AsmPrinter/DwarfDebug.cpp
@@ -1839,8 +1839,8 @@
     if (GnuStyle) {
       dwarf::PubIndexEntryDescriptor Desc = computeIndexValue(TheU, Entity);
       Asm->OutStreamer->AddComment(
-          Twine("Kind: ") + dwarf::GDBIndexEntryKindString(Desc.Kind) + ", " +
-          dwarf::GDBIndexEntryLinkageString(Desc.Linkage));
+          Twine("Attributes: ") + dwarf::GDBIndexEntryKindString(Desc.Kind) +
+          ", " + dwarf::GDBIndexEntryLinkageString(Desc.Linkage));
       Asm->emitInt8(Desc.toBits());
     }
 


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D54480.173908.patch
Type: text/x-patch
Size: 1271 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20181113/cd765833/attachment.bin>


More information about the llvm-commits mailing list