Add option to disable leaf frame pointer elimination

This commit is contained in:
Arnold Schwaighofer
2020-05-21 07:52:00 -07:00
parent e155f03e0d
commit 109813ffe5
6 changed files with 27 additions and 1 deletions

View File

@@ -1511,6 +1511,9 @@ static bool ParseIRGenArgs(IRGenOptions &Opts, ArgList &Args,
getRuntimeCompatVersion();
}
if (Args.hasArg(OPT_disable_leaf_frame_pointer_elim))
Opts.DisableFPElimLeaf = true;
return false;
}