jasonmolenda wrote:

Ah, yes Simulator debugging is a bit different than macOS process debugging.  
With macOS process debugging -- with lldb and the inferior process running on 
the same computer -- lldb is using the same shared cache as the inferior 
process, so to read the libraries it reads them out of its own memory.  (they 
don't exist as separate binaries on-disk any more anyway - the other 
alternative would be read them out of inferior memory via debugserver)

A simulator process does will have many libraries that don't exist in the 
shared cache in lldb's memory, so it will need to read them from a different 
source -- an on-disk discrete binary, or reading memory via debugserver -- so 
it makes sense that there could be a performance difference in this case.

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

Reply via email to