Skip to content

"-fno-builtin" and "-fno-builtin-memset" does not affect clang when targeting wasm32 #63232

Closed
@sikailud

Description

@sikailud

I am trying to compile to wasm32 and I need to not use the standard library
clang always tries to optimize my loop initialization out into a memset call, and I can't disable it.
Can somebody HELP ME?

Metadata

Metadata

Assignees

No one assigned

    Labels

    backend:WebAssemblyinvalidResolved as invalid, i.e. not a bugquestionA question, not bug report. Check out https://llvm.org/docs/GettingInvolved.html instead!

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions