summaryrefslogtreecommitdiffstats
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
commit7a75a9ade80540e919027f15ac91c5406af8504b (patch)
treea6823b492d48b0a4d87fb7b6413ca87e4452cc9a
parentfcf74ed5a2bc10570dec2084a2db1f6580b1210d (diff)
downloadexternal_llvm-7a75a9ade80540e919027f15ac91c5406af8504b.zip
external_llvm-7a75a9ade80540e919027f15ac91c5406af8504b.tar.gz
external_llvm-7a75a9ade80540e919027f15ac91c5406af8504b.tar.bz2
Remove dead function.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@130903 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--lib/Transforms/Instrumentation/GCOVProfiling.cpp5
1 files changed, 0 insertions, 5 deletions
diff --git a/lib/Transforms/Instrumentation/GCOVProfiling.cpp b/lib/Transforms/Instrumentation/GCOVProfiling.cpp
index 629a485..3c29298 100644
--- a/lib/Transforms/Instrumentation/GCOVProfiling.cpp
+++ b/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) {