diff options
author | Volodymyr Sapsai <vsapsai@apple.com> | 2019-09-18 00:05:45 +0000 |
---|---|---|
committer | Volodymyr Sapsai <vsapsai@apple.com> | 2019-09-18 00:05:45 +0000 |
commit | 6e353b4df3aa452ed4741a5e5caea02b1a876d8c (patch) | |
tree | a939b059af98aa381cf979fda000e22e6152c7a9 /lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp | |
parent | abb3d13778f7a93ae43f6fe906a06923e93a3350 (diff) | |
download | bcm5719-llvm-6e353b4df3aa452ed4741a5e5caea02b1a876d8c.tar.gz bcm5719-llvm-6e353b4df3aa452ed4741a5e5caea02b1a876d8c.zip |
[Timers] Fix printing some `-ftime-report` sections twice. Fixes PR40328.
Starting from r324788 timer groups aren't cleared automatically when
printed out. As a result some timer groups were printed one more time.
For example, "Pass execution timing report" was printed again in
`ManagedStatic<PassTimingInfo>` destructor, "DWARF Emission" in
`ManagedStatic<Name2PairMap> NamedGroupedTimers` destructor.
Fix by clearing timer groups manually.
Reviewers: thegameg, george.karpenkov
Reviewed By: thegameg
Subscribers: aprantl, jkorous, dexonsmith, ributzka, aras-p, cfe-commits
Differential Revision: https://reviews.llvm.org/D67683
llvm-svn: 372191
Diffstat (limited to 'lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp')
0 files changed, 0 insertions, 0 deletions