mirror of
https://github.com/llvm/llvm-project.git
synced 2025-04-29 13:56:08 +00:00

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/D141848