[all-commits] [llvm/llvm-project] bdfafc: [llvm-readelf/obj] - Improve diagnostics when prin...

Georgii Rymar via All-commits all-commits at lists.llvm.org
Wed Dec 9 01:32:22 PST 2020


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: bdfafc4613bd2ff933c846708f4726128fb4b1ce
      https://github.com/llvm/llvm-project/commit/bdfafc4613bd2ff933c846708f4726128fb4b1ce
  Author: Georgii Rymar <grimar at accesssoftek.com>
  Date:   2020-12-09 (Wed, 09 Dec 2020)

  Changed paths:
    M llvm/test/tools/llvm-readobj/ELF/note-core-ntfile-bad.test
    M llvm/tools/llvm-readobj/ELFDumper.cpp

  Log Message:
  -----------
  [llvm-readelf/obj] - Improve diagnostics when printing NT_FILE notes.

This changes the `printNotesHelper` to report warnings on its side when
there are errors when dumping notes.

With that we can provide more content when reporting warnings about broken notes.

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




More information about the All-commits mailing list