kastiglione wrote:

I've updated this PR to use llvm formatting instead of printf. For the 
following reasons:

1. For printf, users would have to know the system's size of the value, eg `%d` 
vs `%ld` etc
2. Users would have to provide different values for different systems, which 
limits the use/convenience of such summary strings

Getting the size wrong could be any of undefined behavior, buggy, crashy, 
insecure.

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

Reply via email to