[all-commits] [llvm/llvm-project] 300156: [yaml2obj] - Add a syntax to override e_phoff, e_p...

Georgii Rymar via All-commits all-commits at lists.llvm.org
Tue Jul 14 03:19:58 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 300156932321a8b34b46d6a890cce0699525ed20
      https://github.com/llvm/llvm-project/commit/300156932321a8b34b46d6a890cce0699525ed20
  Author: Georgii Rymar <grimar at accesssoftek.com>
  Date:   2020-07-14 (Tue, 14 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/tools/yaml2obj/ELF/header-sh-fields.yaml
    M llvm/tools/obj2yaml/elf2yaml.cpp

  Log Message:
  -----------
  [yaml2obj] - Add a syntax to override e_phoff, e_phentsize and e_phnum fields.

This adds `EPhOff`, `EPhEntSize` and `EPhNum` keys.
Will be useful for creating broken objects for testing llvm-readelf.

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




More information about the All-commits mailing list