Skip to content

Commit baa878c

Browse files
committed
Remove dead function.
llvm-svn: 130903
1 parent 1d33f8d commit baa878c

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

llvm/lib/Transforms/Instrumentation/GCOVProfiling.cpp

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -321,11 +321,6 @@ namespace {
321321
};
322322
}
323323

324-
// Replace the stem of a file, or add one if missing.
325-
static std::string replaceStem(std::string OrigFilename, std::string NewStem) {
326-
return (sys::path::stem(OrigFilename) + "." + NewStem).str();
327-
}
328-
329324
std::string GCOVProfiler::mangleName(DICompileUnit CU, std::string NewStem) {
330325
if (NamedMDNode *GCov = M->getNamedMetadata("llvm.gcov")) {
331326
for (int i = 0, e = GCov->getNumOperands(); i != e; ++i) {

0 commit comments

Comments
 (0)