================
@@ -148,6 +148,11 @@ TargetStats::ToJSON(Target &target,
target_metrics_json.try_emplace("targetCreateTime",
m_create_time.get().count());
+ if (m_load_core_time.get().count() > 0) {
----------------
dmpots wrote:
Do we need to conditionally add the "loadCoreTime"? Seems a value of 0 would be
just as clear and could be nice to always have the key present.
https://github.com/llvm/llvm-project/pull/161581
_______________________________________________
lldb-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits