Skip to content

C backend should use __attribute__((nonstring)) when applicable #24545

@alexrp

Description

@alexrp

llvm/llvm-project#137829

We should use __attribute__((nonstring)) on u8 arrays that don't have a zero sentinel.

Metadata

Metadata

Assignees

No one assigned

    Labels

    backend-cThe C backend (CBE) outputs C source code.contributor friendlyThis issue is limited in scope and/or knowledge of Zig internals.enhancementSolving this issue will likely involve adding new logic or components to the codebase.

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions