/Engine/Source/Runtime/Core/Public/GenericPlatform/GenericPlatformCrashContext.h
CrashReportClient (CrashReportClientEditor for the Editor) can be configured to wait for crash, capture the crashed process callstack, write the minidump, collect all crash artifacts and send them (out-of-process reporting) or just collect and send them (in-process reporting because the crashing process creates all crash artifacts itself).
static void SetOutOfProcessCrashReporterPid ( uint32 ProcessId )