[Runtime] Add a function pointer for intercepting swift_willThrow calls.

rdar://problem/53400364
This commit is contained in:
Mike Ash
2019-10-22 15:50:14 -04:00
parent c55965519e
commit b8f5e841e2
9 changed files with 135 additions and 46 deletions

View File

@@ -106,11 +106,4 @@ swift::swift_getErrorValue(const SwiftError *errorObject,
out->errorConformance = errorObject->errorConformance;
}
/// Breakpoint hook for debuggers.
SWIFT_CC(swift) void
swift::swift_willThrow(SWIFT_CONTEXT void *unused,
SWIFT_ERROR_RESULT SwiftError **error) {
// do nothing
}
#endif