summaryrefslogtreecommitdiff
path: root/include/clang
diff options
context:
space:
mode:
authorRussell Gallop <russell.gallop@gmail.com>2019-10-10 09:33:53 +0000
committerRussell Gallop <russell.gallop@gmail.com>2019-10-10 09:33:53 +0000
commita579abf6291251758b9fc8659d558dbaf7de8c25 (patch)
treef8a12652502b43f6113ba75b644678bb6ddbe2ea /include/clang
parent414670be4ec1c8599fce3a40f5dd4914e9317f55 (diff)
downloadclang-a579abf6291251758b9fc8659d558dbaf7de8c25.tar.gz
Remove rest of time-trace message as it is inconsistent style
Other options which create output files don't produce output messages. Improve documentation to help find trace file. Differential Revision: https://reviews.llvm.org/D68710 git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@374294 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/clang')
-rw-r--r--include/clang/Driver/Options.td7
1 files changed, 6 insertions, 1 deletions
diff --git a/include/clang/Driver/Options.td b/include/clang/Driver/Options.td
index c6e06f2e7d..9f4d3b7096 100644
--- a/include/clang/Driver/Options.td
+++ b/include/clang/Driver/Options.td
@@ -1791,7 +1791,12 @@ def : Flag<["-"], "fterminated-vtables">, Alias<fapple_kext>;
def fthreadsafe_statics : Flag<["-"], "fthreadsafe-statics">, Group<f_Group>;
def ftime_report : Flag<["-"], "ftime-report">, Group<f_Group>, Flags<[CC1Option]>;
def ftime_trace : Flag<["-"], "ftime-trace">, Group<f_Group>,
- HelpText<"Turn on time profiler">, Flags<[CC1Option, CoreOption]>;
+ HelpText<"Turn on time profiler. Generates JSON file based on output filename.">,
+ DocBrief<[{
+Turn on time profiler. Generates JSON file based on output filename. Results
+can be analyzed with chrome://tracing or `Speedscope App
+<https://www.speedscope.app>`_ for flamegraph visualization.}]>,
+ Flags<[CC1Option, CoreOption]>;
def ftime_trace_granularity_EQ : Joined<["-"], "ftime-trace-granularity=">, Group<f_Group>,
HelpText<"Minimum time granularity (in microseconds) traced by time profiler">,
Flags<[CC1Option, CoreOption]>;