[all-commits] [llvm/llvm-project] 2930da: [llvm-readobj] - Improve error message reported by...

Georgii Rymar via All-commits all-commits at lists.llvm.org
Thu Jan 30 03:34:36 PST 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 2930dab31533feb3f4a4e14f8bcd9457a2388338
      https://github.com/llvm/llvm-project/commit/2930dab31533feb3f4a4e14f8bcd9457a2388338
  Author: Georgii Rymar <grimar at accesssoftek.com>
  Date:   2020-01-30 (Thu, 30 Jan 2020)

  Changed paths:
    M llvm/test/Object/invalid.test
    R llvm/test/tools/llvm-readobj/ELF/broken-dynamic-reloc-name.test
    A llvm/test/tools/llvm-readobj/ELF/broken-dynamic-reloc.test
    M llvm/test/tools/llvm-readobj/ELF/dyn-symbols.test
    M llvm/test/tools/llvm-readobj/ELF/dynamic-malformed.test
    M llvm/test/tools/llvm-readobj/ELF/dynamic-not-in-pt-dynamic.test
    M llvm/test/tools/llvm-readobj/ELF/non-dynamic-in-pt-dynamic.test
    M llvm/tools/llvm-readobj/ELFDumper.cpp

  Log Message:
  -----------
  [llvm-readobj] - Improve error message reported by DynRegionInfo.

DynRegionInfo is a helper class used to create memory ranges.
It is used for many things and can report errors.
Errors reported currently do not provide a good diagnostic.
This patch fixes it and adds a test for each possible case.

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




More information about the All-commits mailing list