-//===-- tools/llvm-cov/GCOVReader.h - LLVM coverage tool --------*- C++ -*-===//
+//===-- llvm/Support/GCOV.h - LLVM coverage tool ----------------*- C++ -*-===//
//
// The LLVM Compiler Infrastructure
//
//
//===----------------------------------------------------------------------===//
//
-// This header provides the interface to read coverage files that use 'gcov'
-// format.
+// This header provides the interface to read and write coverage files that
+// use 'gcov' format.
//
//===----------------------------------------------------------------------===//
-#ifndef GCOVREADER_H
-#define GCOVREADER_H
+#ifndef LLVM_GCOV_H
+#define LLVM_GCOV_H
#include "llvm/ADT/SmallVector.h"
#include "llvm/ADT/StringMap.h"
-//===- tools/llvm-cov/GCOVReader.cpp - LLVM coverage tool -----------------===//
+//===- GCOVr.cpp - LLVM coverage tool -------------------------------------===//
//
// The LLVM Compiler Infrastructure
//
//
//===----------------------------------------------------------------------===//
//
-// GCOVReader implements the interface to read coverage files that use 'gcov'
-// format.
+// GCOV implements the interface to read and write coverage files that use
+// 'gcov' format.
//
//===----------------------------------------------------------------------===//
-#include "GCOVReader.h"
+#include "llvm/Support/GCOV.h"
#include "llvm/ADT/OwningPtr.h"
#include "llvm/ADT/STLExtras.h"
#include "llvm/Support/MemoryObject.h"
//
//===----------------------------------------------------------------------===//
-#include "GCOVReader.h"
#include "llvm/ADT/OwningPtr.h"
#include "llvm/Support/CommandLine.h"
+#include "llvm/Support/GCOV.h"
#include "llvm/Support/ManagedStatic.h"
#include "llvm/Support/MemoryObject.h"
#include "llvm/Support/PrettyStackTrace.h"