[llvm] Modify dwarf verification JSON to include detailed counts by sub-category (PR #128018)
    Miro Bucko via llvm-commits 
    llvm-commits at lists.llvm.org
       
    Thu Feb 27 06:40:55 PST 2025
    
    
  
================
@@ -30,18 +30,28 @@ class DWARFDebugAbbrev;
 class DataExtractor;
 struct DWARFSection;
 
+struct AggregationData {
+  unsigned OverallCount;
+  std::map<std::string, unsigned> DetailedCounts;
----------------
mbucko wrote:
Out of curiosity, why std::map here?
Also, do you expect to have large number of elements in DetailedCounts?
https://github.com/llvm/llvm-project/pull/128018
    
    
More information about the llvm-commits
mailing list