[SR-10528] Assertion Failure in MandatoryInliner #52928
Labels
bug
A deviation from expected or documented behavior. Also: expected but undesirable behavior.
compiler
The Swift compiler in itself
crash
Bug: A crash, i.e., an abnormal termination of software
SILOptimizer
Area → compiler: SIL optimization passes
Attachment: Download
Additional Detail from JIRA
md5: 79abc15d12eac49dcf8243fc2b2de5ee
Issue Description:
In the attached sample project, building with an assertions-enabled toolchain will result in an assertion failure in MandatoryInliner.
The problem specifically arises in compiling the function:
which sets a struct container a number of function pointers in a call to a C library.
The issue can be reproduced by running ./build_macos.sh in the directory of the unzipped attachment and then building the resulting Xcode project in release mode. The problem will occur when compiling RadeonRaysFrameGraph.swift in the LlamaCore module.
This is a reduced case of rdar://problem/48755752
The text was updated successfully, but these errors were encountered: