[PATCH] D120679: [Object] [COFF] Improve error messages

Martin Storsjö via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Feb 28 13:36:19 PST 2022


mstorsjo created this revision.
mstorsjo added a reviewer: rnk.
Herald added a subscriber: hiraditya.
mstorsjo requested review of this revision.
Herald added a project: LLVM.

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

Not sure if it's relevant with tests for this?


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D120679

Files:
  llvm/include/llvm/Object/COFF.h
  llvm/lib/Object/COFFObjectFile.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D120679.411877.patch
Type: text/x-patch
Size: 14020 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220228/6a14e7c1/attachment-0001.bin>


More information about the llvm-commits mailing list