dawn added a comment.

In http://reviews.llvm.org/D14631#289917, @tberghammer wrote:

> 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?


We see it in the comp unit's low_pc:

  0x000b:  DW_TAG_compile_unit    : abbrev_num=1
  0x000c:  DW_AT_producer         : DW_FORM_strp       string=Embarcadero 
Technologies Inc. clang version 3.1 (33931.6d56f68.9eae00b) (based on LLVM 
3.1svn)
  0x0010:  DW_AT_language         : DW_FORM_data2      uval=0x4
           language=DW_LANG_C_plus_plus
  0x0012:  DW_AT_name             : DW_FORM_strp       string=cprops.cpp
  0x0016:  DW_AT_low_pc           : DW_FORM_data4      uval=0x0

Address is called at the beginning of reading the CU's DIE.


Repository:
  rL LLVM

http://reviews.llvm.org/D14631



_______________________________________________
lldb-commits mailing list
lldb-commits@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

Reply via email to