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

Jacob Lalonde via lldb-commits lldb-commits at lists.llvm.org
Tue Aug 13 17:27:26 PDT 2024


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

@clayborg 

I created a basic template test, and made sure the formatter was invoked, and I added a different test for the two vector cases.

I did not test nested summaries, and will add it if desired.

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


More information about the lldb-commits mailing list