[PATCH] D73821: [yaml2obj] Support enumeration() with context and add -D e_machine= to override the value in YAML
Fangrui Song via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Fri Jan 31 17:30:10 PST 2020
MaskRay created this revision.
MaskRay added reviewers: grimar, jhenderson.
Herald added subscribers: llvm-commits, hiraditya, emaste.
Herald added a reviewer: espindola.
Herald added a project: LLVM.
MaskRay updated this revision to Diff 241854.
MaskRay added a comment.
drop a redundant test
yaml2obj -D e_machine=EM_386 a.yaml -o a.o
yaml2obj -D e_machine=0x1234 a.yaml -o a.o
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D73821
Files:
llvm/include/llvm/ObjectYAML/ELFYAML.h
llvm/include/llvm/ObjectYAML/ObjectYAML.h
llvm/include/llvm/ObjectYAML/yaml2obj.h
llvm/include/llvm/Support/YAMLTraits.h
llvm/lib/ObjectYAML/ELFYAML.cpp
llvm/lib/ObjectYAML/ObjectYAML.cpp
llvm/lib/ObjectYAML/yaml2obj.cpp
llvm/test/tools/yaml2obj/ELF/emachine.yaml
llvm/test/tools/yaml2obj/ELF/unused-overridden.yaml
llvm/test/tools/yaml2obj/invalid-override.yaml
llvm/tools/obj2yaml/elf2yaml.cpp
llvm/tools/yaml2obj/yaml2obj.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D73821.241854.patch
Type: text/x-patch
Size: 16188 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200201/dc281820/attachment.bin>
More information about the llvm-commits
mailing list