summaryrefslogtreecommitdiff
path: root/libdw/dwarf_getlocation.c
diff options
context:
space:
mode:
authorPetr Machata <pmachata@redhat.com>2014-09-10 22:26:28 +0200
committerPetr Machata <pmachata@redhat.com>2014-09-11 19:45:11 +0200
commit476feb1c7db2c6dfa217f8a18d2eb1af2789cbb0 (patch)
tree602b59f1efe6d95050023120f0440da750e684f7 /libdw/dwarf_getlocation.c
parent237188e4d764598300a577e08fd872339812fb2c (diff)
downloadelfutils-476feb1c7db2c6dfa217f8a18d2eb1af2789cbb0.tar.gz
Accept DW_AT_GNU_call_site_* as attributes that hold location expressions
- These are extension attributes that correspond in behavior to attributes described in this proposal: http://www.dwarfstd.org/ShowIssue.php?issue=100909.2 - N.B.: DW_AT_call_site_data_location doesn't have a DW_AT_GNU_* counterpart. Signed-off-by: Petr Machata <pmachata@redhat.com>
Diffstat (limited to 'libdw/dwarf_getlocation.c')
-rw-r--r--libdw/dwarf_getlocation.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/libdw/dwarf_getlocation.c b/libdw/dwarf_getlocation.c
index 8dffb83f..2a4c8906 100644
--- a/libdw/dwarf_getlocation.c
+++ b/libdw/dwarf_getlocation.c
@@ -1,5 +1,5 @@
/* Return location expression list.
- Copyright (C) 2000-2010, 2013 Red Hat, Inc.
+ Copyright (C) 2000-2010, 2013, 2014 Red Hat, Inc.
This file is part of elfutils.
Written by Ulrich Drepper <drepper@redhat.com>, 2000.
@@ -57,6 +57,10 @@ attr_ok (Dwarf_Attribute *attr)
case DW_AT_return_addr:
case DW_AT_static_link:
case DW_AT_segment:
+ 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:
break;
default: