]> git.ipfire.org Git - thirdparty/elfutils.git/commitdiff
Add DW_AT_GNU_call attributes to dwarf-knowledge.cc.
authorMark Wielaard <mjw@redhat.com>
Wed, 30 Mar 2011 15:09:17 +0000 (17:09 +0200)
committerMark Wielaard <mjw@redhat.com>
Wed, 30 Mar 2011 15:09:17 +0000 (17:09 +0200)
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.

libdw/c++/dwarf-knowledge.cc

index 53cf1a17e02b3da8f568606a5432ce771f36d7bb..48595a8bc20d9657cf60ea3ae4fcdc4cd46d04fa 100644 (file)
@@ -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: