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

Reid Kleckner via All-commits all-commits at lists.llvm.org
Fri Jan 31 17:05:30 PST 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: b074acb82f7e75a189fa7933b09627241b166121
      https://github.com/llvm/llvm-project/commit/b074acb82f7e75a189fa7933b09627241b166121
  Author: Reid Kleckner <rnk at google.com>
  Date:   2020-01-31 (Fri, 31 Jan 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




More information about the All-commits mailing list