llvm-project/clang/tools
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
..
arcmt-test ArrayRef'ized CompilerInvocation::CreateFromArgs 2019-08-27 22:13:31 +00:00
c-arcmt-test [CMake] Use PRIVATE in target_link_libraries for executables 2017-12-05 21:49:56 +00:00
c-index-test [clang][Index] Replace CodegenNameGenerator with ASTNameGenerator 2019-09-05 20:33:52 +00:00
clang-check [Driver] Use shared singleton instance of DriverOptTable 2019-09-04 14:26:28 +00:00
clang-diff [Clang] Migrate llvm::make_unique to std::make_unique 2019-08-14 23:04:18 +00:00
clang-extdef-mapping [Clang] Migrate llvm::make_unique to std::make_unique 2019-08-14 23:04:18 +00:00
clang-format [clang] Adopt new FileManager error-returning APIs 2019-08-01 21:31:56 +00:00
clang-format-vs clang-format extension: Widen the supported versions range 2019-06-13 07:07:24 +00:00
clang-fuzzer [Clang] Migrate llvm::make_unique to std::make_unique 2019-08-14 23:04:18 +00:00
clang-import-test ArrayRef'ized CompilerInvocation::CreateFromArgs 2019-08-27 22:13:31 +00:00
clang-offload-bundler [Clang][Bundler] Replace std::vector by SmallVector [NFC] 2019-09-11 16:28:47 +00:00
clang-refactor Changed FrontendActionFactory::create to return a std::unique_ptr 2019-08-29 16:38:36 +00:00
clang-rename Rename F_{None,Text,Append} to OF_{None,Text,Append}. NFC 2019-08-05 05:43:48 +00:00
clang-scan-deps [clang-scan-deps] Add verbose mode 2019-09-17 19:45:24 +00:00
clang-shlib Revert [clang-shlib] Fix clang-shlib for PRIVATE dependencies 2019-07-12 17:23:35 +00:00
diag-build
diagtool [diagtool] Use `operator<<(Colors)` to print out colored output. 2019-08-08 07:04:01 +00:00
driver [Timers] Fix printing some `-ftime-report` sections twice. Fixes PR40328. 2019-09-18 00:05:45 +00:00
libclang [libclang] Expose abort()-ing LLVM fatal error handler 2019-09-12 22:55:55 +00:00
scan-build Fix a perl warning: Scalar value @ArgParts[0] better written as $ArgParts[0] at /usr/share/clang/scan-build-10/libexec/ccc-analyzer line 502. 2019-09-13 09:31:19 +00:00
scan-build-py [tools] Fix python DeprecationWarning: invalid escape sequence 2019-02-11 15:03:17 +00:00
scan-view [clang-scan-view] Force utf-8 when handling report (python2 only) 2019-07-16 08:56:47 +00:00
CMakeLists.txt [clang-scan-deps] initial outline of the tool that runs preprocessor to find 2019-06-12 21:32:49 +00:00