[PATCH] D83766: [yaml2obj] - Rename FileHeader::SH* fields.

George Rimar via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Jul 14 06:04:01 PDT 2020


grimar created this revision.
grimar added reviewers: jhenderson, MaskRay.
Herald added subscribers: rupprecht, hiraditya, emaste.
Herald added a reviewer: espindola.
Herald added a project: LLVM.

In D83482 <https://reviews.llvm.org/D83482> we agreed to name e_* fields that are used for overriding
values (like e_phoff) as EPh* (e.g. EPhOff).

Currently we have a set of e_sh* fields that are named inconsistently
with this rule. This patch renames all of them.


https://reviews.llvm.org/D83766

Files:
  llvm/include/llvm/ObjectYAML/ELFYAML.h
  llvm/lib/ObjectYAML/ELFEmitter.cpp
  llvm/lib/ObjectYAML/ELFYAML.cpp
  llvm/test/Object/invalid.test
  llvm/test/tools/llvm-readobj/ELF/dynamic-reloc-no-section-headers.test
  llvm/test/tools/llvm-readobj/ELF/gnu-notes.test
  llvm/test/tools/llvm-readobj/ELF/hash-table.test
  llvm/test/tools/llvm-readobj/ELF/invalid-shstrndx.test
  llvm/test/tools/llvm-readobj/ELF/many-sections.s
  llvm/test/tools/llvm-readobj/ELF/sections-no-section-header-string-table.test
  llvm/test/tools/llvm-readobj/ELF/symbols.test
  llvm/test/tools/yaml2obj/ELF/header-sh-fields.yaml
  llvm/test/tools/yaml2obj/ELF/section-headers.yaml
  llvm/tools/obj2yaml/elf2yaml.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D83766.277800.patch
Type: text/x-patch
Size: 11698 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200714/bcf6fa00/attachment.bin>


More information about the llvm-commits mailing list