[PATCH] D36993: [llvm-dwarfdump] Print type names in DW_AT_type DIEs

Jonas Devlieghere via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Aug 21 17:53:10 PDT 2017


JDevlieghere created this revision.

This patch adds printing for DW_AT_type DIEs like it is already the case for DW_AT_specification DIEs.

Before:

  0x0000006f:   DW_TAG_pointer_type [9]  
                  DW_AT_type [DW_FORM_ref_addr]	(0x000000000000002a)

After:

  0x0000006f:   DW_TAG_pointer_type [9]  
                  DW_AT_type [DW_FORM_ref_addr]	(0x000000000000002a "C")


Repository:
  rL LLVM

https://reviews.llvm.org/D36993

Files:
  lib/DebugInfo/DWARF/DWARFDie.cpp
  test/tools/llvm-dwarfdump/X86/verify_type_names.s

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D36993.112096.patch
Type: text/x-patch
Size: 29339 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170822/57cf827d/attachment.bin>


More information about the llvm-commits mailing list