[PATCH] [yaml2obj][COFF] Allow variable number of directories
authorAlfonso Sánchez-Beato <alfonso.sanchez-beato@canonical.com>
Thu, 9 Sep 2021 10:14:52 +0000 (11:14 +0100)
committerSylvestre Ledru <sylvestre@debian.org>
Fri, 22 Jul 2022 13:10:20 +0000 (14:10 +0100)
commit5bf68abbe4cc61e1d295be4003fb7a6611c2e069
treef8eb0dc84bbb4616cea1b3bb84058a1bae6a3061
parent31bd315f53bdf7d8358eb7eb3b20d2042f9a9c0e
[PATCH] [yaml2obj][COFF] Allow variable number of directories

Allow variable number of directories, as allowed by the
specification. NumberOfRvaAndSize will default to 16 if not specified,
as in the past.

Reviewed by: jhenderson

Differential Revision: https://reviews.llvm.org/D108825

Gbp-Pq: Name yaml2obj-COFF-Allow-variable-number-of-directories.patch
llvm/lib/ObjectYAML/COFFEmitter.cpp
llvm/lib/ObjectYAML/COFFYAML.cpp
llvm/test/tools/yaml2obj/COFF/variable-number-rva.yaml [new file with mode: 0644]
llvm/tools/llvm-readobj/COFFDumper.cpp
llvm/tools/obj2yaml/coff2yaml.cpp