[all-commits] [llvm/llvm-project] 6ec18a: [Object] [COFF] Improve error messages

Martin Storsjö via All-commits all-commits at lists.llvm.org
Wed Mar 2 00:45:19 PST 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 6ec18aafec498492ccdd9bfafbd5145127f9c67c
      https://github.com/llvm/llvm-project/commit/6ec18aafec498492ccdd9bfafbd5145127f9c67c
  Author: Martin Storsjö <martin at martin.st>
  Date:   2022-03-02 (Wed, 02 Mar 2022)

  Changed paths:
    M llvm/include/llvm/Object/COFF.h
    M llvm/lib/Object/COFFObjectFile.cpp
    M llvm/test/tools/llvm-readobj/COFF/tls-directory.test

  Log Message:
  -----------
  [Object] [COFF] Improve error messages

This aids debugging when working with possibly broken files,
instead of just flat out erroring out without telling what's wrong.

Differential Revision: https://reviews.llvm.org/D120679




More information about the All-commits mailing list