set __ExtraCmakeArgs="-DCMAKE_BUILD_TYPE=!__BuildType!"
)
set __ExtraCmakeArgs=!__ExtraCmakeArgs!!___CrossBuildDefine!"-DCLR_CMAKE_PGO_INSTRUMENT=%__PgoInstrument%""-DCLR_CMAKE_OPTDATA_PATH=%__PgoOptDataPath%""-DCLR_CMAKE_PGO_OPTIMIZE=%__PgoOptimize%"%__CMakeArgs%
set __ExtraCmakeArgs=!__ExtraCmakeArgs!"-DCLR_CMAKE_PGO_INSTRUMENT=%__PgoInstrument%""-DCLR_CMAKE_OPTDATA_PATH=%__PgoOptDataPath%""-DCLR_CMAKE_PGO_OPTIMIZE=%__PgoOptimize%"%__CMakeArgs%
dump\_helper\_resource.bin in this folder is a text file with a single 0 byte appended on the end using a hex-editor. It is unlikely it will need to be modified frequently if at all,
but if that changes we can always create a little nicer tooling for it.
dump\_helper\_resource.bin is used to populate the DUMP\_HELPER resource inside coreclr.dll on Windows. When an application crashes, Windows MinidumpWriteDump is planning to scan
dump\_helper\_resource.rc is used to populate the MINIDUMP\_AUXILIARY\_PROVIDER resource inside coreclr.dll on Windows. When an application crashes, Windows MinidumpWriteDump is planning to scan
modules looking for this resource. The content of the resource is expected to be the name of a dll in the same folder, encoded in UTF8, null terminated, that implements the
CLRDataCreateInterface function. For OS security purposes MinidumpWriteDump will do an authenticode signing check before loading the indicated binary, however if your build isn't
signed you can get around this limitation by registering it at HKLM\Software\Microsoft\WindowsNT\CurrentVersion\MiniDumpAuxilliaryDlls.