[PATCH] D18487: [ThinLTO] Add optional import message and statistics
Teresa Johnson via llvm-commits
llvm-commits at lists.llvm.org
Fri Mar 25 19:43:34 PDT 2016
tejohnson created this revision.
tejohnson added a reviewer: joker.eph.
tejohnson added a subscriber: llvm-commits.
Herald added a subscriber: joker.eph.
Add a statistic to count the number of imported functions. Also, add a
new -print-imports option to emit a trace of imported functions, that
works even for an NDEBUG build.
Note that emitOptimizationRemark does not work for the above printing as
it expects a Function object and DebugLoc, neither of which we will have
particularly when we move to summary-based importing.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 4871 bytes
Desc: not available
More information about the llvm-commits