llvm-project/clang/tools/driver
Volodymyr Sapsai 6e353b4df3 [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
2019-09-18 00:05:45 +00:00
..
CMakeLists.txt cmake: Add CLANG_LINK_CLANG_DYLIB option 2019-07-03 22:45:55 +00:00
Info.plist.in [CMake] Fixing typo in Info.plist generation 2016-08-16 20:49:49 +00:00
cc1_main.cpp [Timers] Fix printing some `-ftime-report` sections twice. Fixes PR40328. 2019-09-18 00:05:45 +00:00
cc1as_main.cpp [Timers] Fix printing some `-ftime-report` sections twice. Fixes PR40328. 2019-09-18 00:05:45 +00:00
cc1gen_reproducer_main.cpp Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
driver.cpp [Timers] Fix printing some `-ftime-report` sections twice. Fixes PR40328. 2019-09-18 00:05:45 +00:00