Copy it instead. Otherwise, key registers (such as RBP) may get zeroed
out by the stack unwinder.
Fixes CrashRecoveryTest.DumpStackCleanup with MSVC in release builds.
Differential D73809
eSupport] Don't modify the current EH context during stack unwinding rnk on Jan 31 2020, 2:41 PM. Authored by
Details Copy it instead. Otherwise, key registers (such as RBP) may get zeroed Fixes CrashRecoveryTest.DumpStackCleanup with MSVC in release builds.
Diff Detail
Event TimelineComment Actions Unit tests: pass. 62373 tests passed, 0 failed and 839 were skipped. clang-tidy: fail. clang-tidy found 1 errors and 0 warnings. 0 of them are added as review comments below (why?). clang-format: pass. Build artifacts: diff.json, clang-tidy.txt, clang-format.patch, CMakeCache.txt, console-log.txt, test-results.xml Pre-merge checks is in beta. Report issue. Please join beta or enable it for your project. Comment Actions Thanks Reid for looking into this! So I suppose the problem is related to llvm-symbolizer not being invoked somehow in Stella's case? This seems to occur if either that exe is not in %PATH% or if printSymbolizedStackTrace() can't create the input/output files for symbolizer. Was that the bug? |
This part is duplicating the context.