diff --git a/src/dwarf2cpp/visitor.py b/src/dwarf2cpp/visitor.py index ab698d3..62ebfb8 100644 --- a/src/dwarf2cpp/visitor.py +++ b/src/dwarf2cpp/visitor.py @@ -216,6 +216,9 @@ def visit_namespace(self, die: DWARFDie) -> None: namespace = Namespace(name=die.short_name) for attribute in die.attributes: + if attribute.name in {"DW_AT_decl_file", "DW_AT_decl_line"}: + continue + match attribute.name: case "DW_AT_name": pass