[PATCH] D38462: [DebugInfo] Replace unreachable with ReportError in debug frame parser.

Adrian Prantl via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Oct 2 09:14:25 PDT 2017


aprantl added a comment.

Since we are working towards the goal of making libDebugInfo good enough for LLDB to use, I don't think using report_fatal_error is acceptable on invalid inputs. Could this be made so the parsing returns an optional or expected instead?


Repository:
  rL LLVM

https://reviews.llvm.org/D38462





More information about the llvm-commits mailing list