From: Mark Wielaard Date: Wed, 30 Mar 2011 15:09:17 +0000 (+0200) Subject: Add DW_AT_GNU_call attributes to dwarf-knowledge.cc. X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=bafccb5ed2304208dc38c5c83d15ec176fc3f3a7;p=thirdparty%2Felfutils.git Add DW_AT_GNU_call attributes to dwarf-knowledge.cc. DW_AT_GNU_call_site_value, DW_AT_GNU_call_site_data_value, DW_AT_GNU_call_site_target and DW_AT_GNU_call_site_target_clobbered describe locations. DW_AT_GNU_tail_call, DW_AT_GNU_all_tail_call_sites, DW_AT_GNU_all_call_sites and DW_AT_GNU_all_source_call_sites are flags. --- diff --git a/libdw/c++/dwarf-knowledge.cc b/libdw/c++/dwarf-knowledge.cc index 53cf1a17e..48595a8bc 100644 --- a/libdw/c++/dwarf-knowledge.cc +++ b/libdw/c++/dwarf-knowledge.cc @@ -39,6 +39,10 @@ expected_value_space (int attr, int tag) case DW_AT_segment: case DW_AT_static_link: case DW_AT_vtable_elem_location: + case DW_AT_GNU_call_site_value: + case DW_AT_GNU_call_site_data_value: + case DW_AT_GNU_call_site_target: + case DW_AT_GNU_call_site_target_clobbered: return VS(location); case DW_AT_data_member_location: @@ -120,6 +124,10 @@ expected_value_space (int attr, int tag) case DW_AT_elemental: case DW_AT_pure: case DW_AT_recursive: + case DW_AT_GNU_tail_call: + case DW_AT_GNU_all_tail_call_sites: + case DW_AT_GNU_all_call_sites: + case DW_AT_GNU_all_source_call_sites: return VS(flag); case DW_AT_producer: