|
fprintf(stderr, "DOTNET_DbgEnableMiniDump is set and the createdump binary does not exist: %s\n", program); |
This line runs ahead-of-time in the non failure case when setting the DOTNET_DbgEnableMiniDump env var. The Crossgen2 pack currently doesn't ship createdump and therefore this line always raises an error when the env var is set.
This isn't great as it means that you can't set DOTNET_DbgEnableMiniDump if crossgen is involved. I.e. when building the runtime repo.
cc @hoyosjs
runtime/src/coreclr/nativeaot/Runtime/unix/PalCreateDump.cpp
Line 627 in 242f7b2
This line runs ahead-of-time in the non failure case when setting the
DOTNET_DbgEnableMiniDumpenv var. The Crossgen2 pack currently doesn't ship createdump and therefore this line always raises an error when the env var is set.This isn't great as it means that you can't set
DOTNET_DbgEnableMiniDumpif crossgen is involved. I.e. when building the runtime repo.cc @hoyosjs