summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Support/Process.cpp
diff options
context:
space:
mode:
authorReid Kleckner <rnk@google.com>2020-01-31 14:39:14 -0800
committerHans Wennborg <hans@chromium.org>2020-02-11 11:03:58 +0100
commitdbe9c3a82dd7db8e50acb008f21a273c55fa5c82 (patch)
tree946ccabd5e3fda738ac5f38306324ff510671cd9 /llvm/lib/Support/Process.cpp
parent4e6ec0fff658cbe29e70f46491917202baa061c0 (diff)
downloadbcm5719-llvm-dbe9c3a82dd7db8e50acb008f21a273c55fa5c82.tar.gz
bcm5719-llvm-dbe9c3a82dd7db8e50acb008f21a273c55fa5c82.zip
[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 (cherry picked from commit b074acb82f7e75a189fa7933b09627241b166121)
Diffstat (limited to 'llvm/lib/Support/Process.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud