[Test][lldb] Fix YAML mapping keys duplication. NFC.
authorAnton Sidorenko <anton.sidorenko@syntacore.com>
Fri, 10 Feb 2023 12:37:13 +0000 (15:37 +0300)
committerAnton Sidorenko <anton.sidorenko@syntacore.com>
Mon, 13 Feb 2023 13:41:15 +0000 (16:41 +0300)
commitafe9b0ba87b7347614bdb043c919fe0a4fb1006b
treea27928326b8710447ef13807c5d84e6c75310145
parentd3b0fba6084d800ff37432705573c1b0318c7f06
[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
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