[Lldb-commits] [PATCH] D52689: [LLDB] - Add support for DW_FORM_implicit_const.

George Rimar via Phabricator via lldb-commits lldb-commits at lists.llvm.org
Wed Oct 3 02:48:49 PDT 2018


grimar added a comment.

In https://reviews.llvm.org/D52689#1253175, @vsk wrote:

> Could you describe how the test exercises DW_FORM_implicit_const support? It's not immediately clear to me.


The abbreviation for `foo1` and `foo2` subprograms use it for `DW_AT_decl_file` and `DW_AT_decl_column`:

  [1] DW_TAG_subprogram	DW_CHILDREN_no
  	DW_AT_external	DW_FORM_flag_present
  	DW_AT_name	DW_FORM_strp
  	DW_AT_decl_file	DW_FORM_implicit_const	1
  	DW_AT_decl_line	DW_FORM_data1
  	DW_AT_decl_column	DW_FORM_implicit_const	5
  	DW_AT_linkage_name	DW_FORM_strp
  	DW_AT_type	DW_FORM_ref4
  	DW_AT_low_pc	DW_FORM_addr
  	DW_AT_high_pc	DW_FORM_data8
  	DW_AT_frame_base	DW_FORM_exprloc
  	DW_AT_call_all_calls	DW_FORM_flag_present




https://reviews.llvm.org/D52689





More information about the lldb-commits mailing list