You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The compiler really shouldn't abort on invalid input. It should diagnose it properly. LLVM has something similar - it doesn't abort on failure, but does provide a nice list of problems with the IR and then exits nicely.
"exits nicely with output on stderr" isn't any better (or worse) than "abort" for a frontend job, and "abort" gives us a backtrace that gets collected on Apple platforms.
(Note that I'm distinguishing "output on stderr" from "diagnostics". I don't think we want to go through the effort of making diagnostics for these either, though.)
Additional Detail from JIRA
md5: 1ad1c9cb080cd84077fa76c61700a6f5
Issue Description:
The AST verifier calls
abort
rather than exiting with errors. This should be improved.The text was updated successfully, but these errors were encountered: