[PATCH] D89949: [yaml2obj][obj2yaml] - Teach tools to work with regular archives.

George Rimar via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Oct 22 04:10:46 PDT 2020


grimar created this revision.
grimar added reviewers: jhenderson, MaskRay.
Herald added subscribers: hiraditya, mgorny.
Herald added a project: LLVM.
grimar requested review of this revision.

This teaches obj2yaml to dump valid regular (not thin) archives.
This also teaches yaml2obj to recognize archives YAML descriptions,
what allows to craft all different kinds of archives (valid and broken ones).


https://reviews.llvm.org/D89949

Files:
  llvm/include/llvm/ObjectYAML/ArchiveYAML.h
  llvm/include/llvm/ObjectYAML/ObjectYAML.h
  llvm/include/llvm/ObjectYAML/yaml2obj.h
  llvm/lib/ObjectYAML/ArchiveEmitter.cpp
  llvm/lib/ObjectYAML/ArchiveYAML.cpp
  llvm/lib/ObjectYAML/CMakeLists.txt
  llvm/lib/ObjectYAML/ObjectYAML.cpp
  llvm/lib/ObjectYAML/yaml2obj.cpp
  llvm/test/tools/obj2yaml/Archives/regular.yaml
  llvm/test/tools/yaml2obj/Archives/regular.yaml
  llvm/tools/obj2yaml/CMakeLists.txt
  llvm/tools/obj2yaml/archive2yaml.cpp
  llvm/tools/obj2yaml/obj2yaml.cpp
  llvm/tools/obj2yaml/obj2yaml.h

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D89949.299921.patch
Type: text/x-patch
Size: 24277 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20201022/eac80b97/attachment.bin>


More information about the llvm-commits mailing list