[PATCH] D78361: [yaml2obj] - Verify that sections are sorted by their file offsets when creating segments.
George Rimar via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Fri Apr 17 05:54:47 PDT 2020
grimar created this revision.
grimar added reviewers: jhenderson, MaskRay.
Herald added subscribers: rupprecht, hiraditya, emaste.
Herald added a reviewer: espindola.
grimar updated this revision to Diff 258297.
grimar added a comment.
grimar updated this revision to Diff 258299.
- Add the forgotten test case.
grimar added a comment.
- Last minute fixes.
This validates that sections listed for a segment in the YAML
declaration are ordered by their file offsets.
It might help to simplify the file size computation, but also
is useful by itself as helps to avoid issues in test cases and
to maintain their readability.
https://reviews.llvm.org/D78361
Files:
llvm/lib/ObjectYAML/ELFEmitter.cpp
llvm/test/tools/llvm-gsymutil/X86/elf-dwarf.yaml
llvm/test/tools/llvm-readobj/ELF/demangle.test
llvm/test/tools/llvm-readobj/ELF/hash-symbols.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/obj2yaml/program-headers.yaml
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D78361.258299.patch
Type: text/x-patch
Size: 5512 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200417/6f322f0c/attachment.bin>
More information about the llvm-commits
mailing list