llvm-project/llvm/test/tools/yaml2obj
Dave Lee 17307d9d33 Reapply: Allow yaml2obj to order implicit sections for ELF
Summary:
This change allows yaml input to control the order of implicitly added sections
(`.symtab`, `.strtab`, `.shstrtab`). The order is controlled by adding a
placeholder section of the given name to the Sections field.

This change is to support changes in D39582, where it is desirable to control
the location of the `.dynsym` section.

This reapplied version fixes:
  1. use of a function call within an assert
  2. failing lld test which has an unnamed section
  3. incorrect section count when given an unnamed section

Additionally, one more test to cover the unnamed section failure.

Reviewers: compnerd, jakehehrlich

Reviewed By: jakehehrlich

Subscribers: llvm-commits

Differential Revision: https://reviews.llvm.org/D39749

llvm-svn: 317789
2017-11-09 14:53:43 +00:00
..
invalid-symboless-relocation.yaml [yaml2obj][ELF] Make symbols optional for relocations 2017-08-30 23:13:31 +00:00
invalid_output_file.test
lit.local.cfg
missing_document_tag.yaml
program-header-align.yaml [yaml2obj][ELF] Add support for setting alignment in program headers 2017-11-01 23:14:48 +00:00
program-header-nobits.yaml [yaml2obj][ELF] Add support for program headers 2017-07-19 20:38:46 +00:00
program-header.yaml [yaml2obj][ELF] Add support for program headers 2017-07-19 20:38:46 +00:00
section-ordering.yaml Reapply: Allow yaml2obj to order implicit sections for ELF 2017-11-09 14:53:43 +00:00
symbol-index-invalid.yaml [yaml2obj][ELF] Add support for symbol indexes greater than SHN_LORESERVE 2017-09-07 20:44:16 +00:00
symbol-index.yaml [yaml2obj][ELF] Add support for symbol indexes greater than SHN_LORESERVE 2017-09-07 20:44:16 +00:00
symboless-relocation.yaml [yaml2obj][ELF] Make symbols optional for relocations 2017-08-30 23:13:31 +00:00
unnamed-section.yaml Reapply: Allow yaml2obj to order implicit sections for ELF 2017-11-09 14:53:43 +00:00
unsupported_document_tag.yaml