[all-commits] [llvm/llvm-project] db851d: [lld-macho] Make time-trace* options more permissive.

Vy Nguyen via All-commits all-commits at lists.llvm.org
Wed Apr 7 13:01:05 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: db851dfb495822c3288d04e4809ecddb829d97be
      https://github.com/llvm/llvm-project/commit/db851dfb495822c3288d04e4809ecddb829d97be
  Author: Vy Nguyen <vyng at google.com>
  Date:   2021-04-07 (Wed, 07 Apr 2021)

  Changed paths:
    M lld/MachO/Driver.cpp
    M lld/test/MachO/time-trace.s

  Log Message:
  -----------
  [lld-macho] Make time-trace* options more permissive.

If either `time-trace-granularity` or `time-trace-file` is specified, then don't make users specify `-time-trace`.
It seems silly that I have to type all three options, eg, `-time-trace -time-trace-file=- -time-trace-granularity=...`.

Differential Revision: https://reviews.llvm.org/D100011




More information about the All-commits mailing list