[PATCH] D100011: [lld-macho] Make time-trace* options more permissive.

Jez Ng via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Apr 7 14:35:02 PDT 2021


int3 added inline comments.


================
Comment at: lld/MachO/Driver.cpp:1036-1038
+  config->timeTraceEnabled = args.hasArg(OPT_time_trace) ||
+                             args.hasArg(OPT_time_trace_granularity_eq) ||
+                             args.hasArg(OPT_time_trace_file_eq);
----------------
looks like `hasArg` actually takes a varargs list, so I think this should work


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D100011/new/

https://reviews.llvm.org/D100011



More information about the llvm-commits mailing list