[all-commits] [llvm/llvm-project] 60f161: [yaml2obj][obj2yaml] - Simplify format of the SHT_...

Georgii Rymar via All-commits all-commits at lists.llvm.org
Wed Feb 5 01:33:41 PST 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 60f161eb62d0a6b30a54885711d5e63f7f572bb6
      https://github.com/llvm/llvm-project/commit/60f161eb62d0a6b30a54885711d5e63f7f572bb6
  Author: Georgii Rymar <grimar at accesssoftek.com>
  Date:   2020-02-05 (Wed, 05 Feb 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/llvm-readobj/ELF/addrsig.test
    M llvm/test/tools/obj2yaml/elf-llvm-addrsig-section.yaml
    M llvm/test/tools/yaml2obj/ELF/llvm-addrsig-section.yaml
    M llvm/tools/obj2yaml/elf2yaml.cpp

  Log Message:
  -----------
  [yaml2obj][obj2yaml] - Simplify format of the SHT_LLVM_ADDRSIG section.

Previously the description allowed to describe symbols with use of
`Name` and `Index` keys. This patch removes them and now it is still
possible to use either names or symbol indexes, but the code is simpler
and the format is slightly different.

Such a change will be useful for another patches, e.g:
https://reviews.llvm.org/D73788#inline-671077

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




More information about the All-commits mailing list