Crash in LLVM when compiling SwiftCompilerSources on Windows with a 5.10 toolchain #73253
Labels
bug
A deviation from expected or documented behavior. Also: expected but undesirable behavior.
c++ interop
Feature: Interoperability with C++
c++ to swift
Feature → c++ interop: c++ to swift
CodeGen
crash
Bug: A crash, i.e., an abnormal termination of software
swift 5.10
Windows
Platform: Windows
Description
The problem occurs when calling the C++ imported function from
public func getFunctionType(withNoEscape: Bool) -> Type
in Type.swift.Crashes in LLVM with:
Reproduction
Once #73247 lands, revert the "SwiftCompilerSources: workaround a compiler crash on windows by disabling convert_function simplification" commit of this PR
Expected behavior
no crash
Environment
reproducible with top-of main on Windows
Additional information
No response
The text was updated successfully, but these errors were encountered: