summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMark Wielaard <[email protected]>2011-03-30 17:09:17 +0200
committerMark Wielaard <[email protected]>2011-03-30 17:09:17 +0200
commitbafccb5ed2304208dc38c5c83d15ec176fc3f3a7 (patch)
treec5ad107df6cbe06d024f3d8ead524cd349e3e917
parent2600729770557b3e29342b304c85f4e58a2efe28 (diff)
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.
-rw-r--r--libdw/c++/dwarf-knowledge.cc8
1 files changed, 8 insertions, 0 deletions
diff --git a/libdw/c++/dwarf-knowledge.cc b/libdw/c++/dwarf-knowledge.cc
index 53cf1a17..48595a8b 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: