[all-commits] [llvm/llvm-project] dbe9c3: [Support] Don't modify the current EH context duri...

Reid Kleckner via All-commits all-commits at lists.llvm.org
Tue Feb 11 02:06:23 PST 2020


  Branch: refs/heads/release/10.x
  Home:   https://github.com/llvm/llvm-project
  Commit: dbe9c3a82dd7db8e50acb008f21a273c55fa5c82
      https://github.com/llvm/llvm-project/commit/dbe9c3a82dd7db8e50acb008f21a273c55fa5c82
  Author: Reid Kleckner <rnk at google.com>
  Date:   2020-02-11 (Tue, 11 Feb 2020)

  Changed paths:
    M llvm/lib/Support/Windows/Signals.inc

  Log Message:
  -----------
  [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)




More information about the All-commits mailing list