diff options
Diffstat (limited to 'llvm/include/llvm/Transforms/InstrProfiling.h')
-rw-r--r-- | llvm/include/llvm/Transforms/InstrProfiling.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/llvm/include/llvm/Transforms/InstrProfiling.h b/llvm/include/llvm/Transforms/InstrProfiling.h index e303dcf7acf..6f2286f32ec 100644 --- a/llvm/include/llvm/Transforms/InstrProfiling.h +++ b/llvm/include/llvm/Transforms/InstrProfiling.h @@ -67,16 +67,16 @@ private: bool isMachO() const; /// Get the section name for the counter variables. - StringRef getCountersSection() const; + std::string getCountersSection() const; /// Get the section name for the name variables. - StringRef getNameSection() const; + std::string getNameSection() const; /// Get the section name for the profile data variables. - StringRef getDataSection() const; + std::string getDataSection() const; /// Get the section name for the coverage mapping data. - StringRef getCoverageSection() const; + std::string getCoverageSection() const; /// Count the number of instrumented value sites for the function. void computeNumValueSiteCounts(InstrProfValueProfileInst *Ins); |