[Lldb-commits] [PATCH] D14631: [dwarf] Handle DWARF forms for address other than DW_FORM_GNU_addr_index and DW_FORM_addr.

Tamas Berghammer via lldb-commits lldb-commits at lists.llvm.org
Mon Nov 16 03:22:58 PST 2015


tberghammer added a comment.

The feature Greg mentioned is already implemented in DWARFDebugInfoEntry::GetAttributeHighPC and we shouldn't move it to DWARFFormValue::Address because it is only needed for DW_AT_high_pc but DWARFFormValue::Address used for other places as well (e.g. DW_AT_low_pc).

I think what we are seeing isn't a compiler bug, but I need a little bit more information to be sure.

How you end up in calling DWARFFormValue::Address() with a value what have a form type other then DW_FORM_addr and DW_FORM_GNU_addr_index? What is the attribute tag and the form type used? Can you post a call stack for the case when you hit this issue?


Repository:
  rL LLVM

http://reviews.llvm.org/D14631





More information about the lldb-commits mailing list