[PATCH] D67652: [yaml2obj/obj2yam] - Allow setting an arbitrary values for e_machine.
George Rimar via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Sep 17 04:34:00 PDT 2019
grimar created this revision.
grimar added reviewers: jhenderson, MaskRay.
Currently we only allow using a know named constants
for `Machine` field in YAML documents.
This patch allows using any numbers (valid or "unknown")
and adds test cases for current and new functionality.
With this it is possible to write a test cases for really unknown
EM_* targets.
https://reviews.llvm.org/D67652
Files:
lib/ObjectYAML/ELFYAML.cpp
test/tools/obj2yaml/elf-emachine.yaml
test/tools/yaml2obj/elf-emachine.yaml
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D67652.220469.patch
Type: text/x-patch
Size: 2931 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20190917/975fe0f0/attachment.bin>
More information about the llvm-commits
mailing list