Author: Anton Sidorenko Date: 2023-02-13T16:41:15+03:00 New Revision: afe9b0ba87b7347614bdb043c919fe0a4fb1006b
URL: https://github.com/llvm/llvm-project/commit/afe9b0ba87b7347614bdb043c919fe0a4fb1006b DIFF: https://github.com/llvm/llvm-project/commit/afe9b0ba87b7347614bdb043c919fe0a4fb1006b.diff LOG: [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 Added: Modified: lldb/test/API/functionalities/postmortem/minidump-new/libbreakpad-decoy.yaml lldb/test/API/functionalities/postmortem/minidump-new/libbreakpad-overflow.yaml lldb/test/API/functionalities/postmortem/minidump-new/libbreakpad.yaml Removed: ################################################################################ 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 028a12f54a097..a60f8030c5ec0 100644 --- a/lldb/test/API/functionalities/postmortem/minidump-new/libbreakpad-decoy.yaml +++ b/lldb/test/API/functionalities/postmortem/minidump-new/libbreakpad-decoy.yaml @@ -8,7 +8,6 @@ FileHeader: Type: ET_DYN Machine: EM_ARM Flags: [ EF_ARM_SOFT_FLOAT, EF_ARM_EABI_VER5 ] -Sections: Sections: - Name: .text Type: SHT_PROGBITS 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 807a468f3d4bb..c28c6d94881a6 100644 --- a/lldb/test/API/functionalities/postmortem/minidump-new/libbreakpad-overflow.yaml +++ b/lldb/test/API/functionalities/postmortem/minidump-new/libbreakpad-overflow.yaml @@ -5,7 +5,6 @@ FileHeader: Type: ET_DYN Machine: EM_ARM Flags: [ EF_ARM_SOFT_FLOAT, EF_ARM_EABI_VER5 ] -Sections: Sections: - Name: .text Type: SHT_PROGBITS diff --git a/lldb/test/API/functionalities/postmortem/minidump-new/libbreakpad.yaml b/lldb/test/API/functionalities/postmortem/minidump-new/libbreakpad.yaml index 53e96f601aa82..816848facb4ef 100644 --- a/lldb/test/API/functionalities/postmortem/minidump-new/libbreakpad.yaml +++ b/lldb/test/API/functionalities/postmortem/minidump-new/libbreakpad.yaml @@ -5,7 +5,6 @@ FileHeader: Type: ET_DYN Machine: EM_ARM Flags: [ EF_ARM_SOFT_FLOAT, EF_ARM_EABI_VER5 ] -Sections: Sections: - Name: .text Type: SHT_PROGBITS _______________________________________________ lldb-commits mailing list lldb-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits