Go to file
James Henderson 852f6fde01 [LTO] Print time-passes information at conclusion of LTO codegen
The information collected when requested by -time-passes is only printed when
llvm_shutdown is called at the moment. This means that when linking against the LTO
library dynamically and using the C interface, it is not possible to see the timing
information, because llvm_shutdown cannot be called. This change modifies the LTO
code generation functions for both regular LTO and thin LTO to explicitly print and
reset the timing information.

I have tested that this works with our proprietary linker. However, as this relies
on a specific method of building and linking against the LTO library, I'm not sure
how or if this can be tested in the LLVM testsuite.

Reviewed by: mehdi_amini

Differential Revision: https://reviews.llvm.org/D32803

llvm-svn: 303152
2017-05-16 09:43:21 +00:00
clang [Sema] Use CK_NoOp instead CK_Invalid in tryGCCVectorConvertAndSplat 2017-05-15 22:04:03 +00:00
clang-tools-extra Restored r303067 and fixed failing test. 2017-05-16 09:38:59 +00:00
compiler-rt builtins: use reserved spelling (NFC) 2017-05-16 04:17:12 +00:00
debuginfo-tests Add additional CHECKs to safestack.c. 2017-04-17 17:57:05 +00:00
libclc math: Implement sinh function 2017-02-25 02:46:53 +00:00
libcxx [test] Add specific test for P0138R2, direct-list-init of fixed enums from integers, part 3/3. 2017-05-12 20:33:46 +00:00
libcxxabi Revert r302978 and r302981. 2017-05-14 18:46:19 +00:00
libunwind [CMake][libunwind] Fix the -target and -gcc-toolchain flag handling 2017-04-16 06:08:44 +00:00
lld [ELF] - Detemplate GnuHashTableSection and SymbolTableSection sections. 2017-05-16 08:53:30 +00:00
lldb [TypeSystem] Fix inspection of Objective-C object types 2017-05-15 19:55:20 +00:00
llgo benchcomp: Add a mode for analyzing file sizes. 2017-04-03 19:13:12 +00:00
llvm [LTO] Print time-passes information at conclusion of LTO codegen 2017-05-16 09:43:21 +00:00
openmp Fix for KMP_AFFINITY=respect with multiple processor groups 2017-05-15 19:05:59 +00:00
parallel-libs [Axccel] Remove -Wno-missing-braces in build 2016-12-19 21:34:07 +00:00
polly Drop nonexisting ScopPassManager directory 2017-05-15 14:12:30 +00:00