[PATCH] D63267: [yaml2obj] - Allow setting custom section types for implicit sections.

George Rimar via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Jun 13 07:08:24 PDT 2019


grimar created this revision.
grimar added a reviewer: jhenderson.
Herald added subscribers: rupprecht, jakehehrlich.

We were hardcoding the final section type for sections that
are usually implicit. The patch fixes that.

This also fixes a few issues in existent test cases and removes
one precompiled object.

Depends on https://reviews.llvm.org/D63266


https://reviews.llvm.org/D63267

Files:
  test/tools/llvm-readobj/Inputs/wrong-shstrtab-type.elf-x86-64
  test/tools/llvm-readobj/elf-wrong-shstrtab-type.test
  test/tools/yaml2obj/elf-symtab-shinfo.yaml
  test/tools/yaml2obj/elf-symtab-shtype.yaml
  test/tools/yaml2obj/explicit-dynsym-no-dynstr.yaml
  test/tools/yaml2obj/implicit-sections-types.test
  tools/yaml2obj/yaml2elf.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D63267.204530.patch
Type: text/x-patch
Size: 6122 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20190613/11c1cd3a/attachment.bin>


More information about the llvm-commits mailing list