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/packages/Python/lldbsuite/test/dosep.py | |
| parent | 3de0791144be11b7121478f78dda9e35dedb6d0b (diff) | |
| download | llvm-c603551b4e61ad58589e4d34cd7de69420fd7081.zip llvm-c603551b4e61ad58589e4d34cd7de69420fd7081.tar.gz llvm-c603551b4e61ad58589e4d34cd7de69420fd7081.tar.bz2 | |
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/packages/Python/lldbsuite/test/dosep.py')
0 files changed, 0 insertions, 0 deletions
