[stdlib] Cleanup callback for fatal Swift errors

Is this going anywhere?

More than two years ago, I posed a very similar question: "could someone PLEASE let me have the contents of just the fatal error string or similar", and it's hard to believe that after nearly 4 years of Swift, we still have no way of getting this vital info out of a crashing program:

2 Likes

The Swift compiler in development now emits fatal error traps with an artificial inline frame, which will allow crash reporters than understand debug info to show the error directly as part of the backtrace. Future toolchains that include this change should be able to do better.

15 Likes
Terms of Service

Privacy Policy

Cookie Policy