[PATCH] D40317: [llvm-dwarfdump] Display DW_AT_high_pc as absolute value

Jonas Devlieghere via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Nov 21 09:59:34 PST 2017


JDevlieghere created this revision.
JDevlieghere added a project: debug-info.
Herald added a subscriber: mehdi_amini.

DWARF4 relative DW_AT_high_pc values are now displayed as their absolute
address. The relative value is only shown when displayed with
`-show-form` (`-F`).

  DW_AT_low_pc	(0x0000000000000049)
  DW_AT_high_pc	(0x00000019)

becomes

  DW_AT_low_pc	(0x0000000000000049)
  DW_AT_high_pc	(0x0000000000000062)


Repository:
  rL LLVM

https://reviews.llvm.org/D40317

Files:
  lib/DebugInfo/DWARF/DWARFDie.cpp
  test/tools/dsymutil/X86/basic-lto-dw4-linking-x86.test
  test/tools/llvm-dwarfdump/X86/gnu_call_site.s
  test/tools/llvm-dwarfdump/X86/lookup.s
  test/tools/llvm-dwarfdump/X86/verify_debug_info.s

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D40317.123822.patch
Type: text/x-patch
Size: 6028 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20171121/caa46522/attachment.bin>


More information about the llvm-commits mailing list