[Lldb-commits] [lldb] [lldb] Use AppendMessageWithFormatv in ComandObjectWatchpoint (PR #184128)

David Spickett via lldb-commits lldb-commits at lists.llvm.org
Mon Mar 2 06:17:32 PST 2026


DavidSpickett wrote:

@JDevlieghere you asked about this https://github.com/llvm/llvm-project/pull/182246#discussion_r2854404231.

My idea here is to move all the ones that do "<format>\n" to `Formatv`. Currently there are 64 calls to AppendMessageWithFormat, 9 of which do not have a newline.

I doubt tests are strict enough to expect all the newlines, but I think we can be reasonably confident as long as they are strict equivalents and done in increments. So I started with watchpoints.

https://github.com/llvm/llvm-project/pull/184128


More information about the lldb-commits mailing list