[llvm] [win] Replace the .seh_startchained and .sehendchained instructions with .seh_splitchained (PR #172895)

Eli Friedman via llvm-commits llvm-commits at lists.llvm.org
Wed Jan 14 14:23:28 PST 2026


https://github.com/efriedma-quic commented:

Do we want to diagnose something like following?

```
    .seh_pushreg %rbx
    .seh_endprologue
    .seh_splitchained
    pushq %rsi
    .seh_pushreg %rsi
    .seh_splitchained
    .seh_endprologue
    .seh_startepilogue
```

The rules might be easier to understand if we just make .seh_endprologue mandatory after .seh_splitchained.

https://github.com/llvm/llvm-project/pull/172895


More information about the llvm-commits mailing list