[all-commits] [llvm/llvm-project] abae3c: [obj2yaml] - Support dumping objects that have mul...

Georgii Rymar via All-commits all-commits at lists.llvm.org
Wed Dec 9 01:28:12 PST 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: abae3c11969defb6537dff99806668eacb6f0057
      https://github.com/llvm/llvm-project/commit/abae3c11969defb6537dff99806668eacb6f0057
  Author: Georgii Rymar <grimar at accesssoftek.com>
  Date:   2020-12-09 (Wed, 09 Dec 2020)

  Changed paths:
    M llvm/test/tools/obj2yaml/ELF/sht-symtab-shndx.yaml
    M llvm/tools/obj2yaml/elf2yaml.cpp

  Log Message:
  -----------
  [obj2yaml] - Support dumping objects that have multiple SHT_SYMTAB_SHNDX sections.

It is allowed to have multiple `SHT_SYMTAB_SHNDX` sections, though
we currently don't implement it.

The current implementation assumes that there is a maximum of one SHT_SYMTAB_SHNDX
section and that it is always linked with .symtab section.

This patch drops this limitations.

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




More information about the All-commits mailing list