[PATCH] D73829: [yaml2obj] Support -D EI_DATA=

Fangrui Song via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Jan 31 23:55:07 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 added a parent revision: D73828: [yaml2obj] Support -D EI_CLASS=.

Usage:

`yaml2obj -D EI_DATA=ELFDATA2LSB a.yaml | file - # ELF 32-bit LSB relocatable`
`yaml2obj -D EI_DATA=ELFDATA2MSB a.yaml | file - # ELF 32-bit MSB relocatable`


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D73829

Files:
  llvm/include/llvm/ObjectYAML/ELFYAML.h
  llvm/lib/ObjectYAML/ELFYAML.cpp
  llvm/test/tools/obj2yaml/relr-section.yaml
  llvm/test/tools/yaml2obj/ELF/class-endianness.yaml
  llvm/test/tools/yaml2obj/ELF/relr-section.yaml
  llvm/test/tools/yaml2obj/ELF/stack-sizes.yaml

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D73829.241866.patch
Type: text/x-patch
Size: 15673 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200201/2a0cbf32/attachment-0001.bin>


More information about the llvm-commits mailing list