summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Transforms
diff options
context:
space:
mode:
authorNick Lewycky <nicholas@mxc.ca>2011-05-05 00:17:34 +0000
committerNick Lewycky <nicholas@mxc.ca>2011-05-05 00:17:34 +0000
commitbaa878ce4afee838205d2c1ae4196f81f2e4cbac (patch)
tree1408d9591ef96d3ee3195509f3fe59ef770c0a6d /llvm/lib/Transforms
parent1d33f8d8a0d7e4a7ef47562a754b0791f7a211d4 (diff)
downloadbcm5719-llvm-baa878ce4afee838205d2c1ae4196f81f2e4cbac.tar.gz
bcm5719-llvm-baa878ce4afee838205d2c1ae4196f81f2e4cbac.zip
Remove dead function.
llvm-svn: 130903
Diffstat (limited to 'llvm/lib/Transforms')
-rw-r--r--llvm/lib/Transforms/Instrumentation/GCOVProfiling.cpp5
1 files changed, 0 insertions, 5 deletions
diff --git a/llvm/lib/Transforms/Instrumentation/GCOVProfiling.cpp b/llvm/lib/Transforms/Instrumentation/GCOVProfiling.cpp
index 629a485bc1c..3c292980e50 100644
--- a/llvm/lib/Transforms/Instrumentation/GCOVProfiling.cpp
+++ b/llvm/lib/Transforms/Instrumentation/GCOVProfiling.cpp
@@ -321,11 +321,6 @@ namespace {
};
}
-// Replace the stem of a file, or add one if missing.
-static std::string replaceStem(std::string OrigFilename, std::string NewStem) {
- return (sys::path::stem(OrigFilename) + "." + NewStem).str();
-}
-
std::string GCOVProfiler::mangleName(DICompileUnit CU, std::string NewStem) {
if (NamedMDNode *GCov = M->getNamedMetadata("llvm.gcov")) {
for (int i = 0, e = GCov->getNumOperands(); i != e; ++i) {
OpenPOWER on IntegriCloud