[all-commits] [llvm/llvm-project] 2d9bd4: [llvm-readobj] - Allow dumping partially corrupted...

Georgii Rymar via All-commits all-commits at lists.llvm.org
Tue Jul 7 03:31:11 PDT 2020


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

  Changed paths:
    M llvm/test/tools/llvm-readobj/ELF/call-graph-profile.test
    M llvm/tools/llvm-readobj/ELFDumper.cpp

  Log Message:
  -----------
  [llvm-readobj] - Allow dumping partially corrupted SHT_LLVM_CALL_GRAPH_PROFILE sections.

The code we have currently reports an error if something is not right with the
profile section. Instead we can report a warning and continue dumping when it is possible.
This patch does it.

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




More information about the All-commits mailing list