Skip to content

[clang] No way to recognize lambda expression in DWARF #151269

@zhihaoy

Description

@zhihaoy

GCC's practice is to mark the operator() DW_AT_artificial. It does the job and makes perfect sense (i.e., it's a synthesized operator() that the user did not declare).

(Older GCC also names the unnamed closing class type, but newer GCC no longer does it, and tools have adapted since then).

Metadata

Metadata

Assignees

No one assigned

    Labels

    clang:codegenIR generation bugs: mangling, exceptions, etc.debuginfo

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions