Skip to content

Driver passes -O1 by default #9

@sscalpone

Description

@sscalpone

In Clang::ConstructJob:

  • // For FLANG, we want to pass -O1 as the default, iff no -O was given
  • if (IsFlang && (!Args.getLastArg(options::OPT_O_Group)))
  •  CmdArgs.push_back("-O1");
    

Shouldn't do that to make sure debugging experience is good. Let the user choose the opt level.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions