[PATCH] D61914: [Support][Test] Time profiler: add regression test
Alexandre Ganea via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed May 22 07:25:16 PDT 2019
aganea added a comment.
Could you please move the test to a more approriate location? (ie. clang/trunk/test/Driver/)
================
Comment at: clang/tools/driver/cc1_main.cpp:245
+
+ llvm::errs() << "Time trace json-file dumped to " << Path.str() << "\n";
+ llvm::errs()
----------------
This seems a bit too chatty. Suround these two lines with `if (Config->Verbose)` ?
================
Comment at: llvm/test/Support/check-time-trace.cxx:4
+
+// CHECK: "args":{"name":"clang"}
+
----------------
I don't see any other `-ftime-trace` tests, I would add a few more exhaustive file format checks here.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D61914/new/
https://reviews.llvm.org/D61914
More information about the llvm-commits
mailing list