Produce crashreport.json and use llvm-symbolizer to create stack trace (#77578)
* add DOTNET_EnableCrashReport
* Enable JitStress and JitStressRegs by default to see some test failures
* Enable stress switches only for JIT
* fix the build errors
* Revert "Set DNER for all local fields (#77341)"
This reverts commit
4e85471628214a3e6257132cadd8f7fd33299eb0.
* Set EnableCrashReport in testenvironment.proj
* Pass --crashReport to capture for hangs
* Comment bunch of jobs to trigger
* Comment all runs except Linux_x64
* Stop running libraries job
* Fix the tag in testenvironment.proj
* Use keepnativesymbols
* Update JitStress/JitStressRegs
* Embed native_image_offset field in crashreport.json
* Add TryPrintStackTraceFromCrashReport()
* Call TryPrintStackTraceFromCrashReport() even for crashes
* Add newtonsoft in CoreCLRTestLibrary.csproj
* Fix the crash dump folder
* Add random failure in jit
* Add some logging around TryPrintStackTraceFromCrashReport
* Move the error randomization to GetLayout() that has compiler object access
* Seach for crashreport.json files
* Switch to System.Text.Json
* fix the json path
* Add some logging
* Fix the clrjit symbols
* Add a comment
* Add few more commnets
* chown
* ls -l, chmod
* Change to chown
* USER environment variable
* update runtime.yml
* fix runtime.yml
* add logging
* Add llvm-symbolizer -h
* Skip superpmi pipelines
* read contents before process exit
* Add error output also
* fix some parameters for llvm-symbolizer
* Also enable OSX_x64 runs
* Remove the debugging code:
* Revert "Revert "Set DNER for all local fields (#77341)""
This reverts commit
5cfff119dbd8dd7a925a5db6fdb33f4f6487cb3a.
* Undo JIT changes to trigger assert
* Undo some yml changes
* Review feedback
* Undo runtime.yml changes
* Add some comments
* Address review feedback