forked from OSchip/llvm-project
[lld-macho][nfc] Use varargs form of hasArg()
This commit is contained in:
parent
c23b92acd0
commit
c2e76a9a6d
|
@ -1038,9 +1038,8 @@ bool macho::link(ArrayRef<const char *> argsArr, bool canExitEarly,
|
|||
|
||||
config->progName = argsArr[0];
|
||||
|
||||
config->timeTraceEnabled = args.hasArg(OPT_time_trace) ||
|
||||
args.hasArg(OPT_time_trace_granularity_eq) ||
|
||||
args.hasArg(OPT_time_trace_file_eq);
|
||||
config->timeTraceEnabled = args.hasArg(
|
||||
OPT_time_trace, OPT_time_trace_granularity_eq, OPT_time_trace_file_eq);
|
||||
config->timeTraceGranularity =
|
||||
args::getInteger(args, OPT_time_trace_granularity_eq, 500);
|
||||
|
||||
|
|
Loading…
Reference in New Issue