[all-commits] [llvm/llvm-project] 3471ae: [yaml2obj] - Verify that sections are sorted by th...

Georgii Rymar via All-commits all-commits at lists.llvm.org
Tue Apr 21 05:51:11 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 3471ae9dadab14a0eafeb855dfd071052813c15a
      https://github.com/llvm/llvm-project/commit/3471ae9dadab14a0eafeb855dfd071052813c15a
  Author: Georgii Rymar <grimar at accesssoftek.com>
  Date:   2020-04-21 (Tue, 21 Apr 2020)

  Changed paths:
    M llvm/lib/ObjectYAML/ELFEmitter.cpp
    M llvm/test/tools/llvm-gsymutil/X86/elf-dwarf.yaml
    M llvm/test/tools/llvm-readobj/ELF/demangle.test
    M llvm/test/tools/llvm-readobj/ELF/hash-symbols.test
    M llvm/test/tools/llvm-readobj/ELF/reloc-negative-addend-no-sym.test
    M llvm/test/tools/llvm-readobj/ELF/reloc-zero-name-or-value.test
    M llvm/test/tools/obj2yaml/program-headers.yaml

  Log Message:
  -----------
  [yaml2obj] - Verify that sections are sorted by their file offsets when creating segments.

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.

Differential revision: https://reviews.llvm.org/D78361




More information about the All-commits mailing list