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
swift-ci opened this issue
Nov 21, 2018
· 4 comments
Assignees
Labels
bugA deviation from expected or documented behavior. Also: expected but undesirable behavior.compilerThe Swift compiler in itselfIRGenLLVM IR generation
Hm. We can't just import the function as returning Void because the return type might affect the calling convention (thinking of large struct returns). Maybe we need something down in IRGen?
bugA deviation from expected or documented behavior. Also: expected but undesirable behavior.compilerThe Swift compiler in itselfIRGenLLVM IR generation
Environment
Additional Detail from JIRA
md5: 027fde34c019bd0ab617286d1db2645e
Issue Description:
1.h
:1.swift
:foo()
When compiling this with
Swift compiler crashes while generating bitcode with "Cannot allocate unsized type":
The error may differ if
foo
has different return type. E.g.int*
return type causes the compiler to crash with segmentation fault.The text was updated successfully, but these errors were encountered: