Compiler crash while emitting IR SIL function for Swift Macro #80062
Labels
bug
A deviation from expected or documented behavior. Also: expected but undesirable behavior.
crash
Bug: A crash, i.e., an abnormal termination of software
triage needed
This issue needs more specific labels
Description
When building in
release
configuration, the compiler crashes with segmentation fault (signal 11) while emitting IR SIL function "@$s21ConfidentialKitMacros15ObfuscatedMacroO9expansion2of16providingPeersOf2inSay11SwiftSyntax04DeclM0VGAH09AttributeM0V_xq_tKAH0nM8ProtocolRz0lmC00E16ExpansionContextR_r0_lFZTf4nndd_n" .The crash happens when compiling the
@Obfuscated
macro from the_ConfidentialKit
library in theswift-confidential
package.The compilation succeeds when building in
debug
configuration.Tested with Xcode 16.2 (swiftlang-6.0.3.1.10) and Xcode 16.3 Beta 2 (swiftlang-6.1.0.109.103) on macOS (arm64 and x86_64).
Reproduction
topic/swift-6-support
branch._ConfidentialKit
inrelease
configuration.Stack dump
Expected behavior
The compilation succeeds, regardless of the selected build configuration.
Environment
swift-driver version: 1.120.5 Apple Swift version 6.1 (swiftlang-6.1.0.109.103 clang-1700.0.13.2)
Target: arm64-apple-macosx15.0
Additional information
No response
The text was updated successfully, but these errors were encountered: