[all-commits] [llvm/llvm-project] 03b902: [llvm-readelf] - Report a warning instead of an er...

Georgii Rymar via All-commits all-commits at lists.llvm.org
Thu Jun 25 04:38:56 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 03b902752e377e18f0cb10742df249bc855e00ec
      https://github.com/llvm/llvm-project/commit/03b902752e377e18f0cb10742df249bc855e00ec
  Author: Georgii Rymar <grimar at accesssoftek.com>
  Date:   2020-06-25 (Thu, 25 Jun 2020)

  Changed paths:
    M llvm/test/tools/llvm-readobj/ELF/invalid-shstrndx.test
    M llvm/test/tools/llvm-readobj/ELF/many-sections.s
    M llvm/tools/llvm-readobj/ELFDumper.cpp

  Log Message:
  -----------
  [llvm-readelf] - Report a warning instead of an error when dumping a broken section header.

There is no reason to report an error in `printSectionHeaders()`, we can report
a warning and continue dumping. This is what the patch does.

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




More information about the All-commits mailing list