Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[SR-2294] Compiler crashes while emitting IR for a SIL function #44901

Closed
hyp opened this issue Aug 7, 2016 · 1 comment
Closed

[SR-2294] Compiler crashes while emitting IR for a SIL function #44901

hyp opened this issue Aug 7, 2016 · 1 comment
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 IRGen LLVM IR generation

Comments

@hyp
Copy link
Contributor

hyp commented Aug 7, 2016

Previous ID SR-2294
Radar None
Original Reporter @hyp
Type Bug
Status Resolved
Resolution Done

Attachment: Download

Environment

Xcode 8 beta 4 on OS X 10.11:
Apple Swift version 3.0 (swiftlang-800.0.41.2 clang-800.0.36)
Target: x86_64-apple-macosx10.9

Additional Detail from JIRA
Votes 1
Component/s Compiler
Labels Bug, CompilerCrash, IRGen
Assignee None
Priority Medium

md5: ea21b5e76ad058f5ca478ff28baef1a0

Issue Description:

The swift 3 compiler crashes during IR Gen while emitting IR SIL function @TToFC4main13SomeOperation15someoneDidThrowfT5errorOS_9SomeError_T for 'someoneDidThrow' given the following piece of code:

import Foundation

public enum SomeError: Error {
    case something(name: String)
}

public final class SomeOperation: Operation, SomeDelegate {
    func someoneDidThrow(error: SomeError) {
    }
}

protocol SomeDelegate: class {
    func someoneDidThrow(error: SomeError)
}
@belkadan
Copy link
Contributor

belkadan commented Aug 8, 2016

This one's been fixed on master, though I can't remember by what.

@swift-ci swift-ci transferred this issue from apple/swift-issues Apr 25, 2022
@AnthonyLatsis AnthonyLatsis added the crash Bug: A crash, i.e., an abnormal termination of software label Dec 12, 2022
This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
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 IRGen LLVM IR generation
Projects
None yet
Development

No branches or pull requests

3 participants