File tree Expand file tree Collapse file tree 3 files changed +410
-287
lines changed
include/llvm/DebugInfo/DWARF Expand file tree Collapse file tree 3 files changed +410
-287
lines changed Original file line number Diff line number Diff line change @@ -32,16 +32,15 @@ struct DWARFSection;
32
32
33
33
class OutputCategoryAggregator {
34
34
private:
35
- std::map<std::string, int > Aggregator ;
36
- bool Output ;
35
+ std::map<std::string, unsigned > Aggregation ;
36
+ bool CallDetail ;
37
37
38
38
public:
39
- OutputCategoryAggregator (bool DetailedOutput = false )
40
- : Output(DetailedOutput) {}
41
- void EnableDetail () { Output = true ; }
42
- void DisableDetail () { Output = false ; }
39
+ OutputCategoryAggregator (bool callDetail = false ) : CallDetail(callDetail) {}
40
+ void EnableDetail () { CallDetail = true ; }
41
+ void DisableDetail () { CallDetail = false ; }
43
42
void Report (StringRef s, std::function<void ()> detailCallback);
44
- void DumpAggregation (raw_ostream *o );
43
+ void HandleAggregate (std::function< void (StringRef, unsigned )> handleCounts );
45
44
};
46
45
47
46
// / A class that verifies DWARF debug information given a DWARF Context.
You can’t perform that action at this time.
0 commit comments