llvm / llvm/llvm-project

[Clang] 23.1.0_rc2 ICE building wine-staging 11.14 on AArch64 (Failed to evaluate function length in SEH unwind info)

Open
#212,819 12 comments 0 reactions 0 assignees View on GitHub
backend:AArch64 crash llvm:mc platform:windows regression:23
Dominant language
LLVM
Stars
40.5k
Forks
18.7k
PR merge metrics
PR metrics pending

Description

Clang 23.1.0_rc2 hits an ICE building libs/winecrt/debug.c in wine-staging 11.14 on AArch64.

[debug-30c93a.c](https://github.com/user-attachments/files/30513915/debug-30c93a.c)

[debug-30c93a.sh](https://github.com/user-attachments/files/30513920/debug-30c93a.sh)

[build.log](https://github.com/user-attachments/files/30513923/build.log)

Contributor guide

Open the contributing guide

Research direction

Start with the attached debug-30c93a.sh reproducer and debug-30c93a.c, then inspect build.log to confirm the AArch64 Clang 23.1.0_rc2 ICE and its SEH unwind diagnostic. Trace the failing compiler entry point and add a regression test if the project’s existing tests cover this path; done means the reproducer compiles without the ICE and the regression remains covered.

Written by the indexing model from the issue text.

Assessment

Tech stack
c
Domain
compilers
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Active
Clarity
Mostly clear
Newbie friendliness
48/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.