Commit Graph

3 Commits

Author SHA1 Message Date
Alastair Houghton
4edfacb16b [Backtracing][Runtime] Fix a copy/paste blunder.
Accidentally wrote `thread_resume()` instead of `thread_suspend()`.

rdar://105391747
2023-03-04 07:56:03 +00:00
Alastair Houghton
b9e79c431f [Backtracing][Runtime] Don't replace existing signal handlers.
If we find signal handlers already installed, leave them alone.

rdar://105391747
2023-03-04 07:56:03 +00:00
Alastair Houghton
8a29657f4c [Runtime] [Darwin] Add code to trigger the external backtracer.
When a Swift program crashes, we should catch the crash and execute the
external backtracer.

rdar://105391747
2023-03-04 07:56:02 +00:00