llvm-project
llvm-project copied to clipboard
Add information on swiftmodule load times to statistics dump command
This is based on the PR https://github.com/swiftlang/llvm-project/pull/5540 that was approved but never merged upstream.
At Meta, we make extensive use of the statistics dump command. One thing we want to track is how long each swiftmodule took to load. We've been using a version of these patches internally for a while and have found them to be useful enough to upstream.
@swift-ci please test and tagging @bulbazord for his review as well on this PR because it is based on his PR
@swift-ci please test
@swift-ci please test llvm