[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>
Sat, 5 Nov 2022 08:14:23 +0000 (08:14 +0000)
commitf1e46b6f6c3a7c634957e7472e1d24986e6eb136
tree6d443c3a362c2f318941a8cb3d4c097c9eff49bd
parent0190b350a6b64cf2d7fc701606f9f938a60f77d9
[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