guiandrade added a comment.

Hey guys,

This change is more for me to get to know what you guys think. I've noticed 
that GetDeclForUIDFromDWARF() calls inside 
SymbolFileDWARF::ParseDeclsForContext 
(https://github.com/llvm/llvm-project/blob/ef82098a800178a1f973abb8af86eaa690a29734/lldb/source/Plugins/SymbolFile/DWARF/SymbolFileDWARF.cpp#L1216)
 often end up having no side effect besides generating a llvm::DenseMap::find 
invocation 
(https://github.com/llvm/llvm-project/blob/f07b4aff06d83c6ad25d95f456fbc12b2d2a0a0c/lldb/source/Plugins/SymbolFile/DWARF/DWARFASTParserClang.cpp#L3322),
 especially when we evaluate multiple expressions inside the same scope. So I 
was wondering if there's a way to improve that. Do you guys think we could do 
something like what this change proposes, or am I missing something important? 
Thanks!


Repository:
  rLLDB LLDB

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D67022/new/

https://reviews.llvm.org/D67022



_______________________________________________
lldb-commits mailing list
lldb-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

Reply via email to