[PATCH] D80380: [llvm-readobj] - Do not crash when an invalid .eh_frame_hdr is dumped using --unwind.

George Rimar via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu May 21 08:03:41 PDT 2020


grimar marked an inline comment as done.
grimar added inline comments.


================
Comment at: llvm/tools/llvm-readobj/DwarfCFIEHPrinter.h:113
+  if (!Content)
+    reportError(Content.takeError(), ObjF->getFileName());
+
----------------
Note: we might want to change this and all other `reportError` calls in the `PrinterContext<ELFT>` to report warnings.


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D80380/new/

https://reviews.llvm.org/D80380





More information about the llvm-commits mailing list