Register the GCOV writeout functions so that they're emitted serially.
authorBill Wendling <isanbard@gmail.com>
Tue, 19 Mar 2013 21:03:22 +0000 (21:03 +0000)
committerBill Wendling <isanbard@gmail.com>
Tue, 19 Mar 2013 21:03:22 +0000 (21:03 +0000)
commit18764716861243c58a711a92190624dc2f6aafc9
treef1e54d6463fc78bd8e45aa098a9d22dd0fb99f5e
parent7ab1e60133b0545f682241e20b7969d221581ee3
Register the GCOV writeout functions so that they're emitted serially.

We don't want to write out >1000 files at the same time. That could make things
prohibitively expensive. Instead, register the "writeout" function so that it's
emitted serially.
<rdar://problem/12439551>

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@177437 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Transforms/Instrumentation/GCOVProfiling.cpp