[PATCH] D60782: ftime-trace: Trace the name of the currently active pass as well.

Anton Afanasyev via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Apr 16 10:26:24 PDT 2019


anton-afanasyev added a comment.

Just quickly measured the number of entries increased by this patch (for `test-suite/SingleSource/Benchmarks/Misc-C++-EH/spirit.cpp`):

  $ ~/llvm/llvm-project/build_rel_exp/bin/clang++ -O3 -w -S -ftime-trace spirit.cpp
  ...
  $ wc -l spirit*json
    2540 spirit.be.json
    3438 spirit.be.O3.json
    2429 spirit.nobe.json
    3028 spirit.nobe.O3.json

Here `be`/`nobe` -- with/without this patch (backend/no backend), `O3` -- with `-O3` option. So most of the entries are still on the FE side.


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

https://reviews.llvm.org/D60782





More information about the llvm-commits mailing list