diff options
author | Matthias Braun <matze@braunis.de> | 2016-09-26 18:38:07 +0000 |
---|---|---|
committer | Matthias Braun <matze@braunis.de> | 2016-09-26 18:38:07 +0000 |
commit | c603551b4e61ad58589e4d34cd7de69420fd7081 (patch) | |
tree | f1e7bcc2ade852a1ef4ea4eda43c1ab46ce2a0be /lldb/source/Plugins/ScriptInterpreter/Python/lldb-python.h | |
parent | 3de0791144be11b7121478f78dda9e35dedb6d0b (diff) | |
download | bcm5719-llvm-c603551b4e61ad58589e4d34cd7de69420fd7081.tar.gz bcm5719-llvm-c603551b4e61ad58589e4d34cd7de69420fd7081.zip |
Statistic: Only print statistics on exit for -stats
Previously enabling the statistics with EnableStatistics() would lead to
them getting printed to stderr/-info-output-file on exit. However
frontends may want a way to enable statistics and do the printing on
their own instead of the forced printing on exit.
This changes the code so that only the -stats option enables printing on
exit, EnableStatistics() only enables the tracking but requires invoking
one of the PrintStatistics() variants.
Differential Revision: https://reviews.llvm.org/D24819
llvm-svn: 282425
Diffstat (limited to 'lldb/source/Plugins/ScriptInterpreter/Python/lldb-python.h')
0 files changed, 0 insertions, 0 deletions