[all-commits] [llvm/llvm-project] 9c89dc: [yaml2obj, obj2yaml] - Implement section header ta...

Georgii Rymar via All-commits all-commits at lists.llvm.org
Mon Jan 25 02:13:23 PST 2021


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 9c89dcf80736a7c0710dc4c237ec35f0687e1efd
      https://github.com/llvm/llvm-project/commit/9c89dcf80736a7c0710dc4c237ec35f0687e1efd
  Author: Georgii Rymar <grimar at accesssoftek.com>
  Date:   2021-01-25 (Mon, 25 Jan 2021)

  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/obj2yaml.test
    M llvm/test/tools/llvm-readobj/ELF/broken-dynamic-reloc.test
    M llvm/test/tools/llvm-readobj/ELF/dynamic-reloc-no-section-headers.test
    M llvm/test/tools/llvm-readobj/ELF/file-headers.test
    M llvm/test/tools/llvm-readobj/ELF/hash-table.test
    M llvm/test/tools/llvm-readobj/ELF/malformed-pt-dynamic.test
    M llvm/test/tools/llvm-readobj/ELF/symtab-shndx.test
    M llvm/test/tools/obj2yaml/ELF/offset.yaml
    M llvm/test/tools/yaml2obj/ELF/section-headers-exclude.yaml
    M llvm/test/tools/yaml2obj/ELF/section-headers.yaml
    M llvm/test/tools/yaml2obj/ELF/verdef-section.yaml
    M llvm/test/tools/yaml2obj/ELF/verneed-section.yaml
    M llvm/test/tools/yaml2obj/ELF/versym-section.yaml
    M llvm/tools/obj2yaml/elf2yaml.cpp

  Log Message:
  -----------
  [yaml2obj, obj2yaml] - Implement section header table as a special Chunk.

This was discussed in D93678 thread.
Currently we have one special chunk - Fill.

This patch re implements the "SectionHeaderTable" key to become a special chunk too.
With that we are able to place the section header table at any location,
just like we place sections.

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




More information about the All-commits mailing list