llvm-project/llvm/test/tools/llvm-objdump/X86
Georgii Rymar a7a447be0f [yaml2obj] - ProgramHeaders: introduce FirstSec/LastSec instead of Sections list.
Imagine we have a YAML declaration of few sections: `foo1`, `<unnamed 2>`, `foo3`, `foo4`.

To put them into segment we can do (1*):

```
Sections:
 - Section: foo1
 - Section: foo4
```

or we can use (2*):

```
Sections:
 - Section: foo1
 - Section: foo3
 - Section: foo4
```

or (3*) :

```
Sections:
 - Section: foo1
## "(index 2)" here is a name that we automatically created for a unnamed section.
 - Section: (index 2)
 - Section: foo3
 - Section: foo4
```

It looks really confusing that we don't have to list all of sections.

At first I've tried to make this rule stricter and report an error when there is a gap
(i.e. when a section is included into segment, but not listed explicitly).
This did not work perfect, because such approach conflicts with unnamed sections/fills (see (3*)).

This patch drops "Sections" key and introduces 2 keys instead: `FirstSec` and `LastSec`.
Both are optional.

Differential revision: https://reviews.llvm.org/D90458
2020-11-09 13:00:50 +03:00
..
Inputs
adjust-vma.test
coff-dis-internal.test
coff-disassemble-export.test
debug-info-fileinfo.test
demangle.s
disassemble-align.s
disassemble-archive-with-source.ll
disassemble-code-data-mix.s
disassemble-data.test
disassemble-demangle.test
disassemble-functions-mangling.test
disassemble-functions.test
disassemble-implied-by-disassemble-functions.test
disassemble-invalid-byte-sequences.test
disassemble-long-instructions.test
disassemble-no-symbol-at-section-start.test
disassemble-same-section-addr.test
disassemble-section-name.s
disassemble-show-raw.test
disassemble-text.test
disassemble-zeroes-relocations.test
elf-disassemble-bss.test
elf-disassemble-dynamic-symbols.test [yaml2obj] - ProgramHeaders: introduce FirstSec/LastSec instead of Sections list. 2020-11-09 13:00:50 +03:00
elf-disassemble-no-symtab.test
elf-disassemble-relocs.test
elf-disassemble-symbol-labels-exec.test
elf-disassemble-symbol-labels-rel.test
elf-disassemble-symbol-references.yaml
elf-disassemble-symbololize-operands.yaml
elf-disassemble.test
elf-dynamic-relocs.test [yaml2obj] - ProgramHeaders: introduce FirstSec/LastSec instead of Sections list. 2020-11-09 13:00:50 +03:00
elf-dynamic-symbols.test
function-sections-line-numbers.s
invalid-macho-build-version.yaml
lit.local.cfg
out-of-section-sym.test
output-ordering.test
phdrs-lma.test [yaml2obj] - ProgramHeaders: introduce FirstSec/LastSec instead of Sections list. 2020-11-09 13:00:50 +03:00
phdrs-lma2.test [yaml2obj] - ProgramHeaders: introduce FirstSec/LastSec instead of Sections list. 2020-11-09 13:00:50 +03:00
phdrs.test
plt.test
print-symbol-addr.s
section-filter-disasm.test
section-filter-relocs.test
section-index.s
source-interleave-function-from-debug.test
source-interleave-invalid-source.test
source-interleave-missing-source.test
source-interleave-no-debug-info.test
source-interleave-prefix-non-windows.test Revert "Fix Windows llvm-objdump tests" 2020-10-16 21:49:47 +01:00
source-interleave-prefix.test Revert "Fix Windows llvm-objdump tests" 2020-10-16 21:49:47 +01:00
source-interleave-relative-paths.test
source-interleave-same-line-different-file.test
source-interleave-x86_64.test
start-stop-address-relocatable-object.test
start-stop-address.test
warn-missing-disasm-func.test