[11/14] tests: Handle DW_MACRO_{define, undef}_{strx, sup} in dwarf-getmacros
Commit Message
From: Omar Sandoval <osandov@fb.com>
Signed-off-by: Omar Sandoval <osandov@fb.com>
---
tests/ChangeLog | 3 +++
tests/dwarf-getmacros.c | 4 ++++
2 files changed, 7 insertions(+)
Comments
Hi Omar,
On Wed, Sep 27, 2023 at 11:21:00AM -0700, Omar Sandoval wrote:
> + * dwarf-getmacros.c (mac): Add DW_MACRO_define_sup,
> + DW_MACRO_define_strx, DW_MACRO_undef_sup, and DW_MACRO_undef_strx
> + cases to opcode switch statement.
Looks sane. Applied and pushed.
Thanks,
Mark
@@ -14,6 +14,9 @@
* testfile-dwp-5.bz2: New test file.
* testfile-dwp-5.dwp.bz2: New test file.
* testfile-dwp.source: New file.
+ * dwarf-getmacros.c (mac): Add DW_MACRO_define_sup,
+ DW_MACRO_define_strx, DW_MACRO_undef_sup, and DW_MACRO_undef_strx
+ cases to opcode switch statement.
2023-04-21 Frank Ch. Eigler <fche@redhat.com>
@@ -82,6 +82,8 @@ mac (Dwarf_Macro *macro, void *dbg)
case DW_MACINFO_define:
case DW_MACRO_define_strp:
+ case DW_MACRO_define_sup:
+ case DW_MACRO_define_strx:
{
const char *value;
dwarf_macro_param2 (macro, NULL, &value);
@@ -91,6 +93,8 @@ mac (Dwarf_Macro *macro, void *dbg)
case DW_MACINFO_undef:
case DW_MACRO_undef_strp:
+ case DW_MACRO_undef_sup:
+ case DW_MACRO_undef_strx:
break;
default: