[PATCH] D90458: [yaml2obj] - ProgramHeaders: introduce FirstSec/LastSec instead of Sections list.

George Rimar via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Nov 3 00:20:48 PST 2020


grimar updated this revision to Diff 302485.
grimar retitled this revision from "[yaml2obj][WIP] - ProgramHeaders: introduce FirstSec/LastSec instead of Sections list." to "[yaml2obj] - ProgramHeaders: introduce FirstSec/LastSec instead of Sections list.".
grimar edited the summary of this revision.
grimar added a comment.
Herald added a reviewer: alexshap.
Herald added a subscriber: rupprecht.
Herald added a reviewer: rupprecht.

- Updated other tests. Added a few new ones.

Ready for review.


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D90458/new/

https://reviews.llvm.org/D90458

Files:
  llvm/include/llvm/ObjectYAML/ELFYAML.h
  llvm/lib/ObjectYAML/ELFEmitter.cpp
  llvm/lib/ObjectYAML/ELFYAML.cpp
  llvm/test/DebugInfo/symbolize-build-id-error.test
  llvm/test/DebugInfo/symbolize-build-id.test
  llvm/test/Object/invalid.test
  llvm/test/Object/obj2yaml.test
  llvm/test/tools/llvm-elfabi/binary-read-add-soname.test
  llvm/test/tools/llvm-elfabi/binary-read-arch.test
  llvm/test/tools/llvm-elfabi/binary-read-bad-soname.test
  llvm/test/tools/llvm-elfabi/binary-read-bad-vaddr.test
  llvm/test/tools/llvm-elfabi/binary-read-neededlibs-bad-offset.test
  llvm/test/tools/llvm-elfabi/binary-read-neededlibs.test
  llvm/test/tools/llvm-elfabi/binary-read-no-dt-strsz.test
  llvm/test/tools/llvm-elfabi/binary-read-no-dt-strtab.test
  llvm/test/tools/llvm-elfabi/binary-read-replace-soname.test
  llvm/test/tools/llvm-elfabi/binary-read-soname-no-null.test
  llvm/test/tools/llvm-elfabi/binary-read-soname.test
  llvm/test/tools/llvm-gsymutil/X86/elf-dwarf.yaml
  llvm/test/tools/llvm-objcopy/ELF/Inputs/ihex-elf-pt-null.yaml
  llvm/test/tools/llvm-objcopy/ELF/Inputs/ihex-elf-segments.yaml
  llvm/test/tools/llvm-objcopy/ELF/add-symbol.test
  llvm/test/tools/llvm-objcopy/ELF/adjacent-segments.test
  llvm/test/tools/llvm-objcopy/ELF/bad-build-id.test
  llvm/test/tools/llvm-objcopy/ELF/basic-binary-copy.test
  llvm/test/tools/llvm-objcopy/ELF/binary-first-seg-offset-zero.test
  llvm/test/tools/llvm-objcopy/ELF/binary-no-paddr.test
  llvm/test/tools/llvm-objcopy/ELF/binary-paddr.test
  llvm/test/tools/llvm-objcopy/ELF/binary-remove-all-but-one.test
  llvm/test/tools/llvm-objcopy/ELF/binary-remove-end.test
  llvm/test/tools/llvm-objcopy/ELF/binary-remove-middle.test
  llvm/test/tools/llvm-objcopy/ELF/binary-segment-layout.test
  llvm/test/tools/llvm-objcopy/ELF/build-id-link-dir.test
  llvm/test/tools/llvm-objcopy/ELF/check-addr-offset-align-binary.test
  llvm/test/tools/llvm-objcopy/ELF/check-addr-offset-align.test
  llvm/test/tools/llvm-objcopy/ELF/copy-after-strip-sections.test
  llvm/test/tools/llvm-objcopy/ELF/dump-section.test
  llvm/test/tools/llvm-objcopy/ELF/empty-section.test
  llvm/test/tools/llvm-objcopy/ELF/identical-segments.test
  llvm/test/tools/llvm-objcopy/ELF/invalid-p_filesz-p_offset.test
  llvm/test/tools/llvm-objcopy/ELF/marker-segment.test
  llvm/test/tools/llvm-objcopy/ELF/no-build-id.test
  llvm/test/tools/llvm-objcopy/ELF/only-keep-debug.test
  llvm/test/tools/llvm-objcopy/ELF/overlap-chain.test
  llvm/test/tools/llvm-objcopy/ELF/parent-loop-check.test
  llvm/test/tools/llvm-objcopy/ELF/preserve-segment-contents-ehdr-phdrs.test
  llvm/test/tools/llvm-objcopy/ELF/preserve-segment-contents.test
  llvm/test/tools/llvm-objcopy/ELF/program-headers.test
  llvm/test/tools/llvm-objcopy/ELF/remove-section-in-segment.test
  llvm/test/tools/llvm-objcopy/ELF/segment-shift-section-remove.test
  llvm/test/tools/llvm-objcopy/ELF/segment-shift.test
  llvm/test/tools/llvm-objcopy/ELF/segment-test-remove-section.test
  llvm/test/tools/llvm-objcopy/ELF/strip-all-gnu.test
  llvm/test/tools/llvm-objcopy/ELF/strip-all.test
  llvm/test/tools/llvm-objcopy/ELF/strip-non-alloc.test
  llvm/test/tools/llvm-objcopy/ELF/strip-sections.test
  llvm/test/tools/llvm-objcopy/ELF/triple-overlap.test
  llvm/test/tools/llvm-objcopy/ELF/two-seg-remove-end.test
  llvm/test/tools/llvm-objcopy/ELF/two-seg-remove-first.test
  llvm/test/tools/llvm-objcopy/ELF/two-seg-remove-third-sec.test
  llvm/test/tools/llvm-objdump/ELF/dynamic-section-machine-specific.test
  llvm/test/tools/llvm-objdump/ELF/dynamic-section.test
  llvm/test/tools/llvm-objdump/X86/elf-disassemble-dynamic-symbols.test
  llvm/test/tools/llvm-objdump/X86/elf-dynamic-relocs.test
  llvm/test/tools/llvm-objdump/X86/phdrs-lma.test
  llvm/test/tools/llvm-objdump/X86/phdrs-lma2.test
  llvm/test/tools/llvm-objdump/section-filter.test
  llvm/test/tools/llvm-objdump/warn-on-out-of-range-start-stop-address.test
  llvm/test/tools/llvm-readobj/ELF/all.test
  llvm/test/tools/llvm-readobj/ELF/broken-dynamic-reloc.test
  llvm/test/tools/llvm-readobj/ELF/check-output-order.test
  llvm/test/tools/llvm-readobj/ELF/demangle.test
  llvm/test/tools/llvm-readobj/ELF/dyn-symbols-size-from-hash-table.test
  llvm/test/tools/llvm-readobj/ELF/dyn-symbols.test
  llvm/test/tools/llvm-readobj/ELF/dynamic-empty.test
  llvm/test/tools/llvm-readobj/ELF/dynamic-malformed.test
  llvm/test/tools/llvm-readobj/ELF/dynamic-no-pt-dynamic.test
  llvm/test/tools/llvm-readobj/ELF/dynamic-not-in-pt-dynamic.test
  llvm/test/tools/llvm-readobj/ELF/dynamic-reloc-no-section-headers.test
  llvm/test/tools/llvm-readobj/ELF/dynamic-reloc.test
  llvm/test/tools/llvm-readobj/ELF/dynamic-table-dtnull.s
  llvm/test/tools/llvm-readobj/ELF/dynamic-tags-machine-specific.test
  llvm/test/tools/llvm-readobj/ELF/dynamic-tags.test
  llvm/test/tools/llvm-readobj/ELF/gnu-notes.test
  llvm/test/tools/llvm-readobj/ELF/gnu-section-mapping.test
  llvm/test/tools/llvm-readobj/ELF/gnuhash.test
  llvm/test/tools/llvm-readobj/ELF/hash-histogram.test
  llvm/test/tools/llvm-readobj/ELF/hash-symbols.test
  llvm/test/tools/llvm-readobj/ELF/hash-table.test
  llvm/test/tools/llvm-readobj/ELF/loadname.test
  llvm/test/tools/llvm-readobj/ELF/malformed-pt-dynamic.test
  llvm/test/tools/llvm-readobj/ELF/needed-libs.test
  llvm/test/tools/llvm-readobj/ELF/non-dynamic-in-pt-dynamic.test
  llvm/test/tools/llvm-readobj/ELF/note-core-ntfile-bad.test
  llvm/test/tools/llvm-readobj/ELF/note-core-ntfile.test
  llvm/test/tools/llvm-readobj/ELF/note-core.test
  llvm/test/tools/llvm-readobj/ELF/program-headers.test
  llvm/test/tools/llvm-readobj/ELF/reloc-negative-addend-no-sym.test
  llvm/test/tools/llvm-readobj/ELF/reloc-zero-name-or-value.test
  llvm/test/tools/llvm-readobj/ELF/unwind.test
  llvm/test/tools/llvm-xray/ARM/extract-instrmap.test
  llvm/test/tools/obj2yaml/ELF/program-headers.yaml
  llvm/test/tools/yaml2obj/ELF/custom-fill.yaml
  llvm/test/tools/yaml2obj/ELF/dynamic-section-i386.yaml
  llvm/test/tools/yaml2obj/ELF/header-sh-fields.yaml
  llvm/test/tools/yaml2obj/ELF/program-header-address.yaml
  llvm/test/tools/yaml2obj/ELF/program-header-align.yaml
  llvm/test/tools/yaml2obj/ELF/program-header-nobits.yaml
  llvm/test/tools/yaml2obj/ELF/program-header-size-offset.yaml
  llvm/test/tools/yaml2obj/ELF/program-header.yaml
  llvm/tools/obj2yaml/elf2yaml.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D90458.302485.patch
Type: text/x-patch
Size: 159122 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20201103/fcf4d774/attachment-0001.bin>


More information about the llvm-commits mailing list