[all-commits] [llvm/llvm-project] 6567f8: [llvm-readobj/elf] - Refine the warning about the ...

Georgii Rymar via All-commits all-commits at lists.llvm.org
Mon Aug 17 04:57:55 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 6567f822160ea7c4d13a7e3358883eafc61af337
      https://github.com/llvm/llvm-project/commit/6567f822160ea7c4d13a7e3358883eafc61af337
  Author: Georgii Rymar <grimar at accesssoftek.com>
  Date:   2020-08-17 (Mon, 17 Aug 2020)

  Changed paths:
    M llvm/test/Object/invalid.test
    M llvm/test/tools/llvm-readobj/ELF/malformed-pt-dynamic.test
    M llvm/tools/llvm-readobj/ELFDumper.cpp

  Log Message:
  -----------
  [llvm-readobj/elf] - Refine the warning about the broken PT_DYNAMIC segment.

Splitted out from D85519.

Currently we report "PT_DYNAMIC segment offset + size exceeds the size of the file",
this changes it to
"PT_DYNAMIC segment offset (0x1234) + file size (0x5678) exceeds the size of the file (0x68ab)"

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




More information about the All-commits mailing list