Skip to content

Excessive time spent in ArrayExprEvaluator::VisitCXXConstructExpr for large dynamic array allocation #56774

Closed
@PerkinsRay

Description

@PerkinsRay
struct Line_Buffer {
    char line[128];
};
struct DumpHandler {
    DumpHandler() {
        Line_Buffer *A;
        A = new Line_Buffer[1024 * 1024 * 50];
    }
    ~DumpHandler() {}
};
int main(){
    return 0;
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    clang:frontendLanguage frontend issues, e.g. anything involving "Sema"slow-compile

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions