diff options
author | Bill Wendling <isanbard@gmail.com> | 2012-11-07 18:39:32 +0000 |
---|---|---|
committer | Bill Wendling <isanbard@gmail.com> | 2012-11-07 18:39:32 +0000 |
commit | bef6eb00275399ecacb4689675ee87a079bc20a9 (patch) | |
tree | 7163dc0840753308cd573829893afffdb5517e91 /tools/llvm-cov | |
parent | ab1b6c83adf459d78bee1e87e235f4fdf8d4d106 (diff) | |
download | external_llvm-bef6eb00275399ecacb4689675ee87a079bc20a9.zip external_llvm-bef6eb00275399ecacb4689675ee87a079bc20a9.tar.gz external_llvm-bef6eb00275399ecacb4689675ee87a079bc20a9.tar.bz2 |
Remove accidental commit.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@167544 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'tools/llvm-cov')
-rw-r--r-- | tools/llvm-cov/llvm-cov.cpp | 21 |
1 files changed, 0 insertions, 21 deletions
diff --git a/tools/llvm-cov/llvm-cov.cpp b/tools/llvm-cov/llvm-cov.cpp index ce5ff9c..7b21c5b 100644 --- a/tools/llvm-cov/llvm-cov.cpp +++ b/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<std::string> -InputFilename(cl::Positional, cl::desc("source filename"), cl::init("")); - static cl::opt<bool> 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"; |