summaryrefslogtreecommitdiffstats
path: root/clang/lib/Analysis/CFG.cpp
diff options
context:
space:
mode:
authorAnton Afanasyev <anton.a.afanasyev@gmail.com>2019-03-30 08:42:48 +0000
committerAnton Afanasyev <anton.a.afanasyev@gmail.com>2019-03-30 08:42:48 +0000
commitd880de2d19d46f7cfea7aa593602458440bc1e8d (patch)
tree462bf94e899135c45aae23c3cf79251f521003e7 /clang/lib/Analysis/CFG.cpp
parent98b8ecde64d89cca944d9a975b12319dd0376cc0 (diff)
downloadbcm5719-llvm-d880de2d19d46f7cfea7aa593602458440bc1e8d.tar.gz
bcm5719-llvm-d880de2d19d46f7cfea7aa593602458440bc1e8d.zip
Adds `-ftime-trace` option to clang that produces Chrome `chrome://tracing` compatible JSON profiling output dumps.
This change adds hierarchical "time trace" profiling blocks that can be visualized in Chrome, in a "flame chart" style. Each profiling block can have a "detail" string that for example indicates the file being processed, template name being instantiated, function being optimized etc. This is taken from GitHub PR: https://github.com/aras-p/llvm-project-20170507/pull/2 Patch by Aras Pranckevičius. Differential Revision: https://reviews.llvm.org/D58675 llvm-svn: 357340
Diffstat (limited to 'clang/lib/Analysis/CFG.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud