dwarf_loader: Handle DWARF5 DW_TAG_call_site like DW_TAG_GNU_call_site
DW_TAG_call_site and DW_TAG_call_site_parameter are the standardized DWARF5 versions of DW_TAG_GNU_call_site and DW_TAG_GNU call_site_parameter. Handle them the same way (which is by ignoring them). Bugzilla: https://bugzilla.redhat.com/show_bug.cgi?id=1922698 Signed-off-by: Mark Wielaard <mark@klomp.org> Cc: dwarves@vger.kernel.org Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
This commit is contained in:
parent
3ff98a6396
commit
d783117162
|
@ -41,6 +41,11 @@ struct strings *strings;
|
|||
#define DW_TAG_GNU_call_site_parameter 0x410a
|
||||
#endif
|
||||
|
||||
#ifndef DW_TAG_call_site
|
||||
#define DW_TAG_call_site 0x48
|
||||
#define DW_TAG_call_site_parameter 0x49
|
||||
#endif
|
||||
|
||||
#define hashtags__fn(key) hash_64(key, HASHTAGS__BITS)
|
||||
|
||||
bool no_bitfield_type_recode = true;
|
||||
|
@ -1596,6 +1601,8 @@ static int die__process_function(Dwarf_Die *die, struct ftype *ftype,
|
|||
uint32_t id;
|
||||
|
||||
switch (dwarf_tag(die)) {
|
||||
case DW_TAG_call_site:
|
||||
case DW_TAG_call_site_parameter:
|
||||
case DW_TAG_GNU_call_site:
|
||||
case DW_TAG_GNU_call_site_parameter:
|
||||
/*
|
||||
|
|
Loading…
Reference in New Issue