diff options
author | Roland McGrath <roland@redhat.com> | 2011-02-23 10:54:30 -0800 |
---|---|---|
committer | Roland McGrath <roland@redhat.com> | 2011-02-23 10:55:21 -0800 |
commit | f7d3685431f4158ba4ceca514c4722fa7b088992 (patch) | |
tree | a689087e6879eaac60d4d3f7719f96cdd953f84d | |
parent | ed4c609913cb2709f1b8c350dedccb7154f1cbde (diff) |
Add DW_AT_GNU_odr_signature expected value space.
-rw-r--r-- | libdw/ChangeLog | 5 | ||||
-rw-r--r-- | libdw/c++/dwarf-knowledge.cc | 4 |
2 files changed, 8 insertions, 1 deletions
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 <roland@redhat.com> + + * c++/dwarf-knowledge.cc (expected_value_space): + Grok DW_AT_GNU_odr_signature. + 2010-12-07 Petr Machata <pmachata@redhat.com> * 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; |