[PATCH] D149440: [yaml2obj] Add support for load config section data.

Jacek Caban via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Apr 28 06:03:25 PDT 2023


jacek created this revision.
jacek added reviewers: efriedma, jhenderson.
Herald added a subscriber: hiraditya.
Herald added a project: All.
jacek requested review of this revision.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.

This makes testing load config much nicer and will allow more readable tests in D149091 <https://reviews.llvm.org/D149091>. Currently llvm-readobj uses binary blobs in tests, with this patch we could rewrite them to use yaml2obj instead.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D149440

Files:
  llvm/include/llvm/BinaryFormat/COFF.h
  llvm/include/llvm/ObjectYAML/COFFYAML.h
  llvm/lib/ObjectYAML/COFFEmitter.cpp
  llvm/lib/ObjectYAML/COFFYAML.cpp
  llvm/test/tools/yaml2obj/COFF/load-config32.yaml
  llvm/test/tools/yaml2obj/COFF/load-config64.yaml

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D149440.517887.patch
Type: text/x-patch
Size: 10713 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230428/d096e504/attachment.bin>


More information about the llvm-commits mailing list