[all-commits] [llvm/llvm-project] afe9b0: [Test][lldb] Fix YAML mapping keys duplication. NFC.

Anton Sidorenko via All-commits all-commits at lists.llvm.org
Mon Feb 13 05:42:34 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: afe9b0ba87b7347614bdb043c919fe0a4fb1006b
      https://github.com/llvm/llvm-project/commit/afe9b0ba87b7347614bdb043c919fe0a4fb1006b
  Author: Anton Sidorenko <anton.sidorenko at syntacore.com>
  Date:   2023-02-13 (Mon, 13 Feb 2023)

  Changed paths:
    M lldb/test/API/functionalities/postmortem/minidump-new/libbreakpad-decoy.yaml
    M lldb/test/API/functionalities/postmortem/minidump-new/libbreakpad-overflow.yaml
    M lldb/test/API/functionalities/postmortem/minidump-new/libbreakpad.yaml

  Log Message:
  -----------
  [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




More information about the All-commits mailing list