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
libclc
libcxx
libcxxabi
libunwind
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
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
polly