Skip to content

Release mode clang crashes with llvm-ir input #44241

@dobbelaj-snps

Description

@dobbelaj-snps
Bugzilla Link 44896
Resolution FIXED
Resolved on Feb 28, 2020 05:11
Version 10.0
OS Windows NT
Blocks #43900
CC @DimitryAndric,@zmodem

Extended Description

A release build of clang (top-of-tree; llvm-10) crashes with following llvm-ir input:


define linkonce i8* @​b(i8* %a)
{
ret i8* %a
}

and a command line like: clang -O3 S -emit-llvm test.ll

Also see: https://www.godbolt.org/z/7NjLKP

Note: clang-9 was fine.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugzillaIssues migrated from bugzilla

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions