[PATCH] D27885: Make a function to correctly extract the DW_AT_high_pc given the low pc value.

Greg Clayton via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sat Dec 17 16:07:01 PST 2016


clayborg created this revision.
clayborg added reviewers: dblaikie, aprantl, echristo, probinson, llvm-commits.
Herald added subscribers: jgosnell, mehdi_amini.

DWARF 4 and later supports encoding the PC as an address or as as offset from the low PC. Clients using DWARFDie should be insulated from how to extract the high PC value. This function takes care of extracting the form value and looking for the correct form.


https://reviews.llvm.org/D27885

Files:
  include/llvm/DebugInfo/DWARF/DWARFDie.h
  lib/DebugInfo/DWARF/DWARFDie.cpp
  tools/dsymutil/DwarfLinker.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D27885.81855.patch
Type: text/x-patch
Size: 3934 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20161218/d55caabc/attachment.bin>


More information about the llvm-commits mailing list