medismailben wrote:

> So I debugged lldb with lldb and adding a counter into the FileSpec 
> constructor and came up a max of 721833 files after trying to set a 
> breakpoint in Driver.cpp, so that storage is about 16.5MB which isn't too 
> bad. This goes up to 27.5MB with the FileSpec being 40 bytes, so not too bad. 
> Hopefully this won't overwhelm some larger targets in LLDB memory wise

@clayborg I think it would be worth having that stat for FileSpecs in-tree so 
everyone can have access to it using `statistics dump` for instance.

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

Reply via email to