[PATCH] D78903: [Driver] Add option -fproc-stat-report

Serge Pavlov via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Mon Apr 27 01:01:25 PDT 2020


sepavloff created this revision.
sepavloff added reviewers: rsmith, rjmccall, aganea, hans.
Herald added a project: clang.
sepavloff added parent revisions: D78897: [Support] raw_fd_ostream can lock file before write, D78899: [Driver] Add callback to Command execution, D78901: [Support] Get process statistics in ExecuteAndWait and Wait, D78902: [Driver] Add output file to properties of Command.

The new option `-fproc-stat-info=<file>` can be used to generate report
about used memory and execution tile of each stage of compilation.
Documentation for this option can be found in `UserManual.rst`. The
option can be used in parallel builds.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D78903

Files:
  clang/docs/UsersManual.rst
  clang/include/clang/Driver/Job.h
  clang/include/clang/Driver/Options.td
  clang/lib/Driver/Driver.cpp
  clang/lib/Driver/Job.cpp
  clang/test/Driver/report-stat.c

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D78903.260231.patch
Type: text/x-patch
Size: 7577 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20200427/041fcfb8/attachment.bin>


More information about the cfe-commits mailing list