Skip to content

Compiler infinite loop with AutoFDO and GCOV #2172

Description

@nickdesaulniers

@yabinc may be able to provide more info (such as what translation unit we saw this in, what the last known good LLVM SHA and first known bad LLVM SHA were).

In at least one of our kernel builds for Android, enabling GCOV caused the compiler to enter an infinite loop. We were able to quickly work around this by filtering the profile data for a few symbols, but I don't consider this a viable long term solution and worry that this might pop up again and not just for GCOV.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Compiler hauntedThe compiler is haunted, please fix your compiler.[BUG] llvmA bug that should be fixed in upstream LLVM[FEATURE] AutoFDORelated to building the kernel with Automatic Feedback Directed Optimization

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions