We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1d33f8d commit baa878cCopy full SHA for baa878c
llvm/lib/Transforms/Instrumentation/GCOVProfiling.cpp
@@ -321,11 +321,6 @@ namespace {
321
};
322
}
323
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
-
329
std::string GCOVProfiler::mangleName(DICompileUnit CU, std::string NewStem) {
330
if (NamedMDNode *GCov = M->getNamedMetadata("llvm.gcov")) {
331
for (int i = 0, e = GCov->getNumOperands(); i != e; ++i) {
0 commit comments