diff options
author | Fedor Sergeev <fedor.sergeev@azul.com> | 2019-03-22 23:11:08 +0000 |
---|---|---|
committer | Fedor Sergeev <fedor.sergeev@azul.com> | 2019-03-22 23:11:08 +0000 |
commit | ec74378e93febd5414f30cf2e833eb3ce9273717 (patch) | |
tree | 3465f8b3e3ef2df73c9b6223042da0741b8c0cdc /lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationReplayServer.cpp | |
parent | b0ae52d814d7de99a06c45c8be43db7536434a94 (diff) | |
download | bcm5719-llvm-ec74378e93febd5414f30cf2e833eb3ce9273717.tar.gz bcm5719-llvm-ec74378e93febd5414f30cf2e833eb3ce9273717.zip |
[Legacy][TimePasses] allow -time-passes reporting into a custom stream
As a followup to newpm -time-passes fix (D59366), now adding a similar
functionality to legacy time-passes.
Enhancing llvm::reportAndResetTimings to accept an optional stream
for reporting output. By default it still reports into the stream created
by CreateInfoOutputFile (-info-output-file).
Also fixing to actually reset after printing as declared.
Reviewed By: philip.pfaffe
Differential Revision: https://reviews.llvm.org/D59416
llvm-svn: 356824
Diffstat (limited to 'lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationReplayServer.cpp')
0 files changed, 0 insertions, 0 deletions