[all-commits] [llvm/llvm-project] ed605b: [yaml2obj] - Fix an issue with NoHeaders key.

Georgii Rymar via All-commits all-commits at lists.llvm.org
Thu Jul 16 04:23:17 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: ed605b7b96b93a4418ec124552654785574e9f71
      https://github.com/llvm/llvm-project/commit/ed605b7b96b93a4418ec124552654785574e9f71
  Author: Georgii Rymar <grimar at accesssoftek.com>
  Date:   2020-07-16 (Thu, 16 Jul 2020)

  Changed paths:
    M llvm/lib/ObjectYAML/ELFEmitter.cpp
    M llvm/test/tools/yaml2obj/ELF/section-headers.yaml

  Log Message:
  -----------
  [yaml2obj] - Fix an issue with NoHeaders key.

When setting the NoHeaders to false,
the e_shnum field wasn't set correctly.

This patch fixes this bug.

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




More information about the All-commits mailing list