diff options
author | Greg Clayton <gclayton@apple.com> | 2016-12-19 20:36:41 +0000 |
---|---|---|
committer | Greg Clayton <gclayton@apple.com> | 2016-12-19 20:36:41 +0000 |
commit | 2520c9ebee4f8525648d7ad874e0461d9ec0a1ba (patch) | |
tree | 853414f407d76d97bde1e6afb3f973d14a1faa4e /llvm/lib/Analysis/ModuleDebugInfoPrinter.cpp | |
parent | ca2f40dd6803e133f38c18254a85625a1a1619bf (diff) | |
download | llvm-2520c9ebee4f8525648d7ad874e0461d9ec0a1ba.zip llvm-2520c9ebee4f8525648d7ad874e0461d9ec0a1ba.tar.gz llvm-2520c9ebee4f8525648d7ad874e0461d9ec0a1ba.tar.bz2 |
Make a function to correctly extract the DW_AT_high_pc given the low pc value.
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.
Differential Revision: https://reviews.llvm.org/D27885
llvm-svn: 290131
Diffstat (limited to 'llvm/lib/Analysis/ModuleDebugInfoPrinter.cpp')
0 files changed, 0 insertions, 0 deletions