From: Anton Sidorenko Date: Fri, 10 Feb 2023 12:37:13 +0000 (+0300) Subject: [Test][lldb] Fix YAML mapping keys duplication. NFC. X-Git-Tag: upstream/17.0.6~17729 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=afe9b0ba87b7347614bdb043c919fe0a4fb1006b;p=platform%2Fupstream%2Fllvm.git [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 --- 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 ]