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
18 lines
624 B
YAML
18 lines
624 B
YAML
# This has different .text contents than libbreakpad-yaml,
|
|
# to simulate having different versions of the module (to
|
|
# test that we pick the one matching the minidump UUID).
|
|
--- !ELF
|
|
FileHeader:
|
|
Class: ELFCLASS32
|
|
Data: ELFDATA2LSB
|
|
Type: ET_DYN
|
|
Machine: EM_ARM
|
|
Flags: [ EF_ARM_SOFT_FLOAT, EF_ARM_EABI_VER5 ]
|
|
Sections:
|
|
- Name: .text
|
|
Type: SHT_PROGBITS
|
|
Flags: [ SHF_ALLOC, SHF_EXECINSTR ]
|
|
Address: 0x0000000000010000
|
|
AddressAlign: 0x0000000000000004
|
|
Content: 040000001400000003000000474E5500CC
|