[Lldb-commits] [lldb] [lldb][libc++] Adds local_t clock data formatters. (PR #88178)
Michael Buch via lldb-commits
lldb-commits at lists.llvm.org
Fri Apr 12 06:25:37 PDT 2024
================
@@ -1068,6 +1068,29 @@ static void LoadLibCxxFormatters(lldb::TypeCategoryImplSP cpp_category_sp) {
eTypeOptionCascade,
true);
+ AddCXXSummary(
+ cpp_category_sp,
+ lldb_private::formatters::LibcxxChronoLocalSecondsSummaryProvider,
+ "libc++ std::chrono::local_seconds summary provider",
+ "^std::__[[:alnum:]]+::chrono::time_point<"
+ "std::__[[:alnum:]]+::chrono::local_t, "
+ "std::__[[:alnum:]]+::chrono::duration<long long, "
----------------
Michael137 wrote:
Very minor: IIUC the `long long` here is implementation defined? Should we be wildcarding it if it could change (which I imagine is very unlikely to happen)?
https://github.com/llvm/llvm-project/pull/88178
More information about the lldb-commits
mailing list