[PGO] Make needsComdatForCounter() available (NFC)
authorRong Xu <xur@google.com>
Thu, 21 Jul 2016 20:50:02 +0000 (20:50 +0000)
committerRong Xu <xur@google.com>
Thu, 21 Jul 2016 20:50:02 +0000 (20:50 +0000)
commit97b68c5ebef82f9f8f24e179bd0e1902adfc9c61
tree169821f09749daabe4d69d24de8ad4de11e99533
parent2deeb6093d65a9cf2adb81e5a60dd4aa105cabf7
[PGO] Make needsComdatForCounter() available (NFC)

Move needsComdatForCounter() to lib/ProfileData/InstrProf.cpp from
lib/Transforms/Instrumentation/InstrProfiling.cpp to make is available for
other files.

Differential Revision: https://reviews.llvm.org/D22643

llvm-svn: 276330
llvm/include/llvm/ProfileData/InstrProf.h
llvm/lib/ProfileData/InstrProf.cpp
llvm/lib/Transforms/Instrumentation/InstrProfiling.cpp