commit | 3951f2ec0aaca021c77a2c7a464dcf43433261c3 | [log] [tgz] |
---|---|---|
author | Mark Wielaard <mjw@redhat.com> | Mon Dec 09 16:33:26 2013 +0100 |
committer | Mark Wielaard <mjw@redhat.com> | Fri Dec 13 14:23:02 2013 +0100 |
tree | ae53cf11004fbb40596d7ccde179100b52f3fa20 | |
parent | 8b10aaa3dd3db1981aee29cf8f88411707172295 [diff] |
libdw: Handle empty location expression for (indirect) DIE locations. When dwarf_getlocation_implicit_pointer and dwarf_getlocation_attr refer to a DIE that doesn't contain a DW_AT_location then don't generate an error, but return an empty location expression to signal the actual value pointed to is not available. This isn't invalid DWARF. Also make sure that __libdw_intern_expression handles empty location expressions. Signed-off-by: Mark Wielaard <mjw@redhat.com>