[Lldb-commits] [lldb] [LLDB][Data Formatters] Calculate average and total time for summary providers within lldb (PR #102708)

Michael Buch via lldb-commits lldb-commits at lists.llvm.org
Mon Aug 12 08:35:20 PDT 2024


================
@@ -1,7 +1,13 @@
 // Test that the lldb command `statistics` works.
+#include <string>
+
+void foo() {
+  std::string str = "hello world";
----------------
Michael137 wrote:

instead of relying on `std::string` formatter should we add a type summary for a dummy type? And test against that? Feels a bit more hermetic

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


More information about the lldb-commits mailing list