You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Fix SIGILL in naked functions with ExternalWeak linkage
Fixes#142880 by replacing the fatal error for ExternalWeak linkage
in naked functions with a fallback to External linkage. This prevents
the SIGILL crash in LLVM while maintaining the intended function
visibility.
The ExternalWeak linkage type was causing LLVM to generate invalid
assembly for naked functions, resulting in SIGILL (illegal instruction)
errors during compilation. This change provides a safe fallback that
preserves the global visibility of the function.
🤖 Generated with [Claude Code](https://claude.ai/code)
Co-Authored-By: Claude <noreply@anthropic.com>
0 commit comments