1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-20 19:42:54 +02:00
llvm-mirror/test/tools
Adam Nemet e39424112f [LTO] Support Statistics
Summary:
I thought -Xlinker -mllvm -Xlinker -stats worked at some point but maybe
it never did.

For clang, I believe that stats are printed from cc1_main.  This patch
also prints them for LTO, specifically right after codegen happens.

I only looked at the C API for LTO briefly to see if this is a good
place.  Probably there are still cases where this wouldn't be printed
but it seems to be working for the common case.  I also experimented
putting this in the LTOCodeGenerator destructor but that didn't trigger
for me because ld64 does not destroy the LTOCodeGenerator.

Reviewers: dexonsmith, joker.eph

Subscribers: rafael, joker.eph, llvm-commits

Differential Revision: http://reviews.llvm.org/D17302

llvm-svn: 261013
2016-02-16 21:41:51 +00:00
..
dsymutil [dsymutil] Support scattered relocs. 2016-02-01 03:44:22 +00:00
gold Restore "[ThinLTO] Use MD5 hash in function index." with fix 2016-02-10 21:55:02 +00:00
llvm-config Disable all llvm-config tests for now, will investigate later 2016-02-10 17:29:50 +00:00
llvm-cov Fix buildbot failure (hosts without zlib) 2016-02-10 22:05:41 +00:00
llvm-cxxdump [llvm-cxxdump] Remove duplicate code check. 2015-09-15 23:35:32 +00:00
llvm-dwp [llvm-dwp] Merge cu_index from DWPs 2016-02-06 01:15:26 +00:00
llvm-lit
llvm-lto Restore "[ThinLTO] Use MD5 hash in function index." with fix 2016-02-10 21:55:02 +00:00
llvm-mc [Hexagon] Removing XFAIL on Hexagon target. 2015-11-09 06:15:55 +00:00
llvm-nm Make llvm-nm test consistent with other tests 2016-02-10 23:28:43 +00:00
llvm-objdump [DebugInfo] Support zero-length CIE in the _eh_frame parser 2016-01-27 14:05:35 +00:00
llvm-pdbdump Fix several accidental DOS line endings in source files 2016-01-03 17:22:03 +00:00
llvm-profdata Fix build bot failure 2016-02-08 20:08:21 +00:00
llvm-readobj This reverts commit r260488 and r260489. 2016-02-16 14:17:48 +00:00
llvm-size [llvm-size] Make error handling uniform. 2016-02-13 01:38:16 +00:00
llvm-split [SplitModule] In split module utility we should never separate alias with its aliasee. 2016-01-28 18:59:28 +00:00
llvm-symbolizer Make llvm/test/tools/llvm-symbolizer/pdb/pdb.test Py3-compatible. 2016-02-15 13:19:13 +00:00
lto [LTO] Support Statistics 2016-02-16 21:41:51 +00:00
sancov [sancov] improved object files handling. 2016-02-12 00:29:07 +00:00
sanstats Introduce sanstats tool and llvm::CreateSanitizerStatReport function. 2016-01-16 00:31:11 +00:00