From afe9b0ba87b7347614bdb043c919fe0a4fb1006b Mon Sep 17 00:00:00 2001 From: Anton Sidorenko Date: Fri, 10 Feb 2023 15:37:13 +0300 Subject: [PATCH] [Test][lldb] Fix YAML mapping keys duplication. NFC. YAML specification does not allow keys duplication an a mapping. However, YAML parser in LLVM does not have any check on that and uses only the last key entry. In this change duplicated keys are merged to satisfy the spec. Differential Revision: https://reviews.llvm.org/D143727 --- .../API/functionalities/postmortem/minidump-new/libbreakpad-decoy.yaml | 1 - .../functionalities/postmortem/minidump-new/libbreakpad-overflow.yaml | 1 - lldb/test/API/functionalities/postmortem/minidump-new/libbreakpad.yaml | 1 - 3 files changed, 3 deletions(-) diff --git a/lldb/test/API/functionalities/postmortem/minidump-new/libbreakpad-decoy.yaml b/lldb/test/API/functionalities/postmortem/minidump-new/libbreakpad-decoy.yaml index 028a12f5..a60f803 100644 --- a/lldb/test/API/functionalities/postmortem/minidump-new/libbreakpad-decoy.yaml +++ b/lldb/test/API/functionalities/postmortem/minidump-new/libbreakpad-decoy.yaml @@ -9,7 +9,6 @@ FileHeader: Machine: EM_ARM Flags: [ EF_ARM_SOFT_FLOAT, EF_ARM_EABI_VER5 ] Sections: -Sections: - Name: .text Type: SHT_PROGBITS Flags: [ SHF_ALLOC, SHF_EXECINSTR ] diff --git a/lldb/test/API/functionalities/postmortem/minidump-new/libbreakpad-overflow.yaml b/lldb/test/API/functionalities/postmortem/minidump-new/libbreakpad-overflow.yaml index 807a468..c28c6d9 100644 --- a/lldb/test/API/functionalities/postmortem/minidump-new/libbreakpad-overflow.yaml +++ b/lldb/test/API/functionalities/postmortem/minidump-new/libbreakpad-overflow.yaml @@ -6,7 +6,6 @@ FileHeader: Machine: EM_ARM Flags: [ EF_ARM_SOFT_FLOAT, EF_ARM_EABI_VER5 ] Sections: -Sections: - Name: .text Type: SHT_PROGBITS Flags: [ SHF_ALLOC, SHF_EXECINSTR ] diff --git a/lldb/test/API/functionalities/postmortem/minidump-new/libbreakpad.yaml b/lldb/test/API/functionalities/postmortem/minidump-new/libbreakpad.yaml index 53e96f6..816848f 100644 --- a/lldb/test/API/functionalities/postmortem/minidump-new/libbreakpad.yaml +++ b/lldb/test/API/functionalities/postmortem/minidump-new/libbreakpad.yaml @@ -6,7 +6,6 @@ FileHeader: Machine: EM_ARM Flags: [ EF_ARM_SOFT_FLOAT, EF_ARM_EABI_VER5 ] Sections: -Sections: - Name: .text Type: SHT_PROGBITS Flags: [ SHF_ALLOC, SHF_EXECINSTR ] -- 2.7.4