[PATCH] D123538: [symbolizer] Parse DW_TAG_variable DIs to show line info for globals
    Mitch Phillips via Phabricator via llvm-commits 
    llvm-commits at lists.llvm.org
       
    Mon Apr 11 13:15:25 PDT 2022
    
    
  
hctim added inline comments.
================
Comment at: llvm/include/llvm/DebugInfo/DWARF/DWARFUnit.h:248
+  std::unordered_map<uint64_t, DWARFDie> VariableDieMap;
+  std::unordered_set<uint64_t> RootsParsedForVariables;
+
----------------
tschuett wrote:
> Are you sure about your map and set types?
> https://llvm.org/docs/ProgrammersManual.html#other-set-like-container-options
thanks, changed to set/map given that bionic's `libc.so` has 10.5k DW_TAG_variables, so DenseSet/DenseMap doesn't seem like the right structure either.
Repository:
  rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D123538/new/
https://reviews.llvm.org/D123538
    
    
More information about the llvm-commits
mailing list