diff options
author | Reid Kleckner <rnk@google.com> | 2020-01-31 14:39:14 -0800 |
---|---|---|
committer | Reid Kleckner <rnk@google.com> | 2020-01-31 17:04:01 -0800 |
commit | b074acb82f7e75a189fa7933b09627241b166121 (patch) | |
tree | ac2f618ae7c5fb22ab9d402ab62430d6a8c1ddef /clang/lib/Frontend/CompilerInvocation.cpp | |
parent | a1daa7d079aa86589ac7e73e818d4ab95969275f (diff) | |
download | llvm-b074acb82f7e75a189fa7933b09627241b166121.zip llvm-b074acb82f7e75a189fa7933b09627241b166121.tar.gz llvm-b074acb82f7e75a189fa7933b09627241b166121.tar.bz2 |
[Support] Don't modify the current EH context during stack unwinding
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.
Reviewed By: stella.stamenova
Differential Revision: https://reviews.llvm.org/D73809
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions