From f7d3685431f4158ba4ceca514c4722fa7b088992 Mon Sep 17 00:00:00 2001 From: Roland McGrath Date: Wed, 23 Feb 2011 10:54:30 -0800 Subject: Add DW_AT_GNU_odr_signature expected value space. --- libdw/ChangeLog | 5 +++++ libdw/c++/dwarf-knowledge.cc | 4 +++- 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/libdw/ChangeLog b/libdw/ChangeLog index 51a24b7c..1b85aebf 100644 --- a/libdw/ChangeLog +++ b/libdw/ChangeLog @@ -1,3 +1,8 @@ +2011-02-23 Roland McGrath + + * c++/dwarf-knowledge.cc (expected_value_space): + Grok DW_AT_GNU_odr_signature. + 2010-12-07 Petr Machata * c++/subr.hh (sharing_stack::element::pop): Remove. Move the diff --git a/libdw/c++/dwarf-knowledge.cc b/libdw/c++/dwarf-knowledge.cc index 3d8edeb5..5fdf123e 100644 --- a/libdw/c++/dwarf-knowledge.cc +++ b/libdw/c++/dwarf-knowledge.cc @@ -12,7 +12,6 @@ using namespace elfutils; static unsigned int expected_value_space (int attr, int tag) { - switch (attr) { case DW_AT_sibling: @@ -154,6 +153,9 @@ expected_value_space (int attr, int tag) case DW_AT_MIPS_linkage_name: return VS(identifier); + + case DW_AT_GNU_odr_signature: + return VS(constant); } return 0; -- cgit v1.2.3