[all-commits] [llvm/llvm-project] 7a587c: [yaml2obj] - Rename FileHeader::SH* fields.

Georgii Rymar via All-commits all-commits at lists.llvm.org
Wed Jul 15 02:48:04 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 7a587ca93200c49e47fe205ce037895c81c5a542
      https://github.com/llvm/llvm-project/commit/7a587ca93200c49e47fe205ce037895c81c5a542
  Author: Georgii Rymar <grimar at accesssoftek.com>
  Date:   2020-07-15 (Wed, 15 Jul 2020)

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

  Log Message:
  -----------
  [yaml2obj] - Rename FileHeader::SH* fields.

In 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.

Differential revision: https://reviews.llvm.org/D83766




More information about the All-commits mailing list