Commit fd302e93 authored by Krzysztof Gogolewski's avatar Krzysztof Gogolewski Committed by Marge Bot

Add -pgmlm and -optlm flags

!3798 added documentation and semantics for the flags,
but not parsing.
parent ef950b19
......@@ -2217,6 +2217,8 @@ dynamic_flags_deps = [
$ hasArg $ \f -> alterToolSettings $ \s -> s { toolSettings_pgm_lo = (f,[]) }
, make_ord_flag defFlag "pgmlc"
$ hasArg $ \f -> alterToolSettings $ \s -> s { toolSettings_pgm_lc = (f,[]) }
, make_ord_flag defFlag "pgmlm"
$ hasArg $ \f -> alterToolSettings $ \s -> s { toolSettings_pgm_lm = (f,[]) }
, make_ord_flag defFlag "pgmi"
$ hasArg $ \f -> alterToolSettings $ \s -> s { toolSettings_pgm_i = f }
, make_ord_flag defFlag "pgmL"
......@@ -2257,6 +2259,8 @@ dynamic_flags_deps = [
-- need to appear before -optl/-opta to be parsed as LLVM flags.
, make_ord_flag defFlag "optlm"
$ hasArg $ \f -> alterToolSettings $ \s -> s { toolSettings_opt_lm = f : toolSettings_opt_lm s }
, make_ord_flag defFlag "optlo"
$ hasArg $ \f -> alterToolSettings $ \s -> s { toolSettings_opt_lo = f : toolSettings_opt_lo s }
, make_ord_flag defFlag "optlc"
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment