[all-commits] [llvm/llvm-project] 7fc599: [llvm-readobj] - Introduce warnings for cases when...

Georgii Rymar via All-commits all-commits at lists.llvm.org
Tue Apr 7 04:41:06 PDT 2020


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

  Changed paths:
    M llvm/test/tools/llvm-readobj/ELF/dynamic-malformed.test
    M llvm/test/tools/llvm-readobj/ELF/loadname.test
    M llvm/test/tools/llvm-readobj/ELF/needed-libs.test
    M llvm/tools/llvm-readobj/ELFDumper.cpp

  Log Message:
  -----------
  [llvm-readobj] - Introduce warnings for cases when unable to read strings from string tables.

Currently we have no dedicated warnings, but we return error message instead of a result.
It is generally not consistent with another warnings we have.

This change was suggested and discussed here:
https://reviews.llvm.org/D77216#1954873

This change refines error messages we report and also I had to update the API
to implement it.

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




More information about the All-commits mailing list