Check for RLIMIT_CORE before collecting data for coredump. If the current limit is 0, then we can return early without spending time collecting coredump data.
Check for RLIMIT_CORE before collecting data for coredump. If the current limit is 0, then we can return early without spending time collecting coredump data.