[yaml2obj/obj2yaml] - Add support for .stack_sizes sections.
[llvm-complete.git] / tools / llvm-cov / CoverageExporterLcov.h
blobe8a260bf493707a4af69bd179b5f89f39f0f72a0
1 //===- CoverageExporterLcov.h - Code coverage lcov exporter ---------------===//
2 //
3 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
4 // See https://llvm.org/LICENSE.txt for license information.
5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
6 //
7 //===----------------------------------------------------------------------===//
8 //
9 // This class implements a code coverage exporter for lcov trace file format.
11 //===----------------------------------------------------------------------===//
13 #ifndef LLVM_COV_COVERAGEEXPORTERLCOV_H
14 #define LLVM_COV_COVERAGEEXPORTERLCOV_H
16 #include "CoverageExporter.h"
18 namespace llvm {
20 class CoverageExporterLcov : public CoverageExporter {
21 public:
22 CoverageExporterLcov(const coverage::CoverageMapping &CoverageMapping,
23 const CoverageViewOptions &Options, raw_ostream &OS)
24 : CoverageExporter(CoverageMapping, Options, OS) {}
26 /// Render the CoverageMapping object.
27 void renderRoot(const CoverageFilters &IgnoreFilters) override;
29 /// Render the CoverageMapping object for specified source files.
30 void renderRoot(ArrayRef<std::string> SourceFiles) override;
33 } // end namespace llvm
35 #endif // LLVM_COV_COVERAGEEXPORTERLCOV_H