Skip to content

[clang] -gno-structor-decl-linkage-names and -gno-key-instructions should not enable debug info #162747

@rnk

Description

@rnk

In this line, Clang takes all "g group" arguments, and uses the last g group arg to set the debug info level (constructor, standalone, vtable, lines-only, etc). However, -g[no-]key-instructions and -g[no]-structor-decl-linkage-names are in g_Group, so it seems they activate this conditional, when the probably simply should not. I will attempt a straightforward patch to see if the issue goes away.

Metadata

Metadata

Assignees

No one assigned

    Labels

    clang:driver'clang' and 'clang++' user-facing binaries. Not 'clang-cl'

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions