]> sourceware.org Git - libabigail.git/commit
Bug 29829 - dwarf-reader: Allow DIEs to be in a lexical block libabigail-2.2
authorDodji Seketeli <dodji@redhat.com>
Fri, 2 Dec 2022 15:59:13 +0000 (15:59 +0000)
committerDodji Seketeli <dodji@redhat.com>
Fri, 2 Dec 2022 16:13:13 +0000 (17:13 +0100)
commit1f51b9e85dc42dc71caf7fe79436d64c6a3d03f3
tree28457f89481305a77529bdfce1f8c39c0d918f1b
parentac53e88bdb6d85df7bd60c4feec949f510f87bc9
Bug 29829 - dwarf-reader: Allow DIEs to be in a lexical block

Normally, ABI-relevant DWARF DIEs (types and decls) should be at
namespace level.  There are real-life cases where such a DIE might be
defined in a lexical block.

This patch teaches the DWARF reader to handle such cases.

* src/abg-dwarf-reader.cc (get_scope_for_die): Support
DW_TAG_lexical_block as DIE scope.

Signed-off-by: Dodji Seketeli <dodji@redhat.com>
src/abg-dwarf-reader.cc
This page took 0.032314 seconds and 5 git commands to generate.