Combination of -g
and -O
flags with Embedded Swift crashes swiftc
in IRGen
#72118
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
debug info
Area → compiler → IRGen: Debug information emission
embedded
Embedded Swift
IRGen
LLVM IR generation
optimized only
Flag: An issue whose reproduction requires optimized compilation
Description
Build the source snippet pasted in this issue with
swiftc -enable-experimental-feature Embedded -wmo repro.swift -g -O
with latest development snapshot off themain
branch of the compiler to observe the crash.Reproduction
Stack dump
Expected behavior
No crash or an actionable diagnostic error message
Environment
Apple Swift version 6.0-dev (LLVM 7fe091223bc821e, Swift 92f5eee)
Target: arm64-apple-macosx14.0
Additional information
No response
The text was updated successfully, but these errors were encountered: