labath wrote:

Sort of yes (*), but only so much as it is necessary to make it correct, and 
the level of slowdown depends on how much non-indexed code you have. The 
fallback index will only index those units that aren't covered by the 
debug_names index, so if debug_names covers everything, the fallback is a noop 
-- if there's one non-indexed unit, you only pay the cost of indexing that unit.

(*) except not really. The most expensive fallback operation is building the 
manual index (afterwards, it may even be faster than debug_names), and this 
happens first time that anything queries it. Since all of the other debug_names 
methods are already calling the fallback index, it will most likely be already 
built by the time we get to this point and the fallback call should be fast.

https://github.com/llvm/llvm-project/pull/102123
_______________________________________________
lldb-commits mailing list
lldb-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

Reply via email to