Skip to content

crash: "UNREACHABLE executed at ObjectFile.cpp:52" #743

@elly

Description

@elly

If you accidentally feed rustc --ls a non-object file (as I just did), you get this assertion failure:

Unknown Object File Type
UNREACHABLE executed at ObjectFile.cpp:52!
Aborted (core dumped)

You may also just get a plain segfault. For example, try an empty file :).

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-LLVMArea: Code generation parts specific to LLVM. Both correctness bugs and optimization-related issues.E-easyCall for participation: Easy difficulty. Experience needed to fix: Not much. Good first issue.I-crashIssue: The compiler crashes (SIGSEGV, SIGABRT, etc). Use I-ICE instead when the compiler panics.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions