[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.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 3934 bytes
Desc: not available
More information about the llvm-commits