[PATCH] D128048: Add a new clang option "-ftime-trace-path"

dongjunduo via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Thu Jun 30 18:47:05 PDT 2022


dongjunduo marked an inline comment as done.
dongjunduo added inline comments.


================
Comment at: clang/test/Driver/check-time-trace.cpp:9
+// RUN:   | FileCheck %s
+// RUN: %clangxx -S -ftime-trace=%T -ftime-trace-granularity=0 -o %T/check-time-trace %s
+// RUN: cat %T/check-time-trace.json \
----------------
Whitney wrote:
> By default, the JSON file is stored in %T, as it is the directory for the output object file. Can you make a different directory, to ensure it is not just the default behavior?
Done. I have moved them to new directories for the next tests.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D128048



More information about the cfe-commits mailing list