From 3fdaa244e1a6dd1c6d8301abfd95676b5cfd41af Mon Sep 17 00:00:00 2001 From: Bill Wendling Date: Wed, 7 Nov 2012 18:39:32 +0000 Subject: [PATCH] Remove accidental commit. llvm-svn: 167544 --- llvm/tools/llvm-cov/llvm-cov.cpp | 21 --------------------- 1 file changed, 21 deletions(-) diff --git a/llvm/tools/llvm-cov/llvm-cov.cpp b/llvm/tools/llvm-cov/llvm-cov.cpp index ce5ff9c450e0..7b21c5bae201 100644 --- a/llvm/tools/llvm-cov/llvm-cov.cpp +++ b/llvm/tools/llvm-cov/llvm-cov.cpp @@ -16,15 +16,11 @@ #include "llvm/Support/GCOV.h" #include "llvm/Support/ManagedStatic.h" #include "llvm/Support/MemoryObject.h" -#include "llvm/Support/Path.h" #include "llvm/Support/PrettyStackTrace.h" #include "llvm/Support/Signals.h" #include "llvm/Support/system_error.h" using namespace llvm; -static cl::opt -InputFilename(cl::Positional, cl::desc("source filename"), cl::init("")); - static cl::opt DumpGCOV("dump", cl::init(false), cl::desc("dump gcov file")); @@ -44,23 +40,6 @@ int main(int argc, char **argv) { cl::ParseCommandLineOptions(argc, argv, "llvm cov\n"); - if (InputFilename.empty()) { - // FIXME: Error out here. - } - - sys::Path SrcFile(InputFilename); - - sys::Path GCNOFile(SrcFile); - GCNOFile.eraseSuffix(); - GCNOFile.appendSuffix(".gcno"); - - sys::Path GCDAFile(SrcFile); - GCDAFile.eraseSuffix(); - GCDAFile.appendSuffix(".gcda"); - - sys::Path OutputFile(SrcFile); - OutputFile.appendSuffix(".gcov"); - GCOVFile GF; if (InputGCNO.empty()) errs() << " " << argv[0] << ": No gcov input file!\n";