[all-commits] [llvm/llvm-project] 21af99: [WinEH] Emit state stores for SEH scopes (#116546)

Maurice Heumann via All-commits all-commits at lists.llvm.org
Wed Nov 27 15:43:42 PST 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 21af99ab84e434819b20452367325b187492d372
      https://github.com/llvm/llvm-project/commit/21af99ab84e434819b20452367325b187492d372
  Author: Maurice Heumann <MauriceHeumann at gmail.com>
  Date:   2024-11-27 (Wed, 27 Nov 2024)

  Changed paths:
    M llvm/lib/Target/X86/X86WinEHState.cpp
    A llvm/test/CodeGen/WinEH/wineh-scope-statenumbering.ll

  Log Message:
  -----------
  [WinEH] Emit state stores for SEH scopes (#116546)

At the moment Windows 32 bit SEH state stores are only emitted for
throwing calls.

Windows 32 bit SEH state stores should also be emitted before SEH scope
begin and before SEH scope end.
An invalid inline memory access would otherwise not trigger unwinding,
in combination with /EHa.

This fixes #90946



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list