From 7ac8009e2d2807b91737ac9def59527e73df43dc Mon Sep 17 00:00:00 2001 From: Harald Brinkmann Date: Thu, 8 Sep 2022 15:08:08 +0200 Subject: [PATCH] Skip GCC's __va_list fields on AArch64 --- pygccxml/parser/scanner.py | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/pygccxml/parser/scanner.py b/pygccxml/parser/scanner.py index e739fb42..4368a84a 100644 --- a/pygccxml/parser/scanner.py +++ b/pygccxml/parser/scanner.py @@ -187,6 +187,15 @@ def __init__(self, xml_file, decl_factory, config, *args): "length", ] + # These fields are generated by GCC on AArch64, and have no location. + self.__name_attrs_to_skip += [ + "__stack", + "__gr_top", + "__vr_top", + "__gr_offs", + "__vr_offs", + ] + self.__xml_generator_from_xml_file = None @property