LLVM 22.0.0git
llvm::OutputCategoryAggregator Class Reference

#include "llvm/DebugInfo/DWARF/DWARFVerifier.h"

Public Member Functions

 OutputCategoryAggregator (bool includeDetail=false)
void ShowDetail (bool showDetail)
size_t GetNumCategories () const
LLVM_ABI void Report (StringRef category, std::function< void()> detailCallback)
LLVM_ABI void Report (StringRef category, StringRef sub_category, std::function< void()> detailCallback)
LLVM_ABI void EnumerateResults (std::function< void(StringRef, unsigned)> handleCounts)
LLVM_ABI void EnumerateDetailedResultsFor (StringRef category, std::function< void(StringRef, unsigned)> handleCounts)
uint64_t GetNumErrors () const
 Return the number of errors that have been reported.

Detailed Description

Definition at line 42 of file DWARFVerifier.h.

Constructor & Destructor Documentation

◆ OutputCategoryAggregator()

llvm::OutputCategoryAggregator::OutputCategoryAggregator ( bool includeDetail = false)
inline

Definition at line 50 of file DWARFVerifier.h.

Member Function Documentation

◆ EnumerateDetailedResultsFor()

void OutputCategoryAggregator::EnumerateDetailedResultsFor ( StringRef category,
std::function< void(StringRef, unsigned)> handleCounts )

Definition at line 2275 of file DWARFVerifier.cpp.

References llvm::AggregationData::DetailedCounts, and name.

◆ EnumerateResults()

void OutputCategoryAggregator::EnumerateResults ( std::function< void(StringRef, unsigned)> handleCounts)

Definition at line 2269 of file DWARFVerifier.cpp.

References name.

◆ GetNumCategories()

size_t llvm::OutputCategoryAggregator::GetNumCategories ( ) const
inline

Definition at line 53 of file DWARFVerifier.h.

◆ GetNumErrors()

uint64_t llvm::OutputCategoryAggregator::GetNumErrors ( ) const
inline

Return the number of errors that have been reported.

Definition at line 64 of file DWARFVerifier.h.

◆ Report() [1/2]

LLVM_ABI void llvm::OutputCategoryAggregator::Report ( StringRef category,
std::function< void()> detailCallback )

References LLVM_ABI.

◆ Report() [2/2]

LLVM_ABI void llvm::OutputCategoryAggregator::Report ( StringRef category,
StringRef sub_category,
std::function< void()> detailCallback )

References LLVM_ABI.

◆ ShowDetail()

void llvm::OutputCategoryAggregator::ShowDetail ( bool showDetail)
inline

Definition at line 52 of file DWARFVerifier.h.


The documentation for this class was generated from the following files: