Skip to content

Replace -O less command line option with -O0, -O3, -Oz, and -OZ #534

@seanyoung

Description

@seanyoung

You can specifiy the llvm optimization level with -O less, -O default, etc. This is not the standard way compilers take an argument for optimization. So, we want -O1, -Oz etc.

This requires changing the clap argument parsing.

Follow what gcc/clang offers (checks this!).

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions