[Lldb-commits] [lldb] [lldb] Add MSVC STL/libstdc++ formatter for std::filesystem::path (PR #217246)

via lldb-commits lldb-commits at lists.llvm.org
Thu Aug 20 05:37:50 PDT 2026


================
@@ -1947,6 +1947,10 @@ static void LoadCommonStlFormatters(lldb::TypeCategoryImplSP cpp_category_sp) {
                 "MSVC STL/libstdc++ std::strong_ordering summary provider",
                 "std::strong_ordering",
                 eTypeOptionHideChildren | eTypeOptionHideValue, false);
+
+  AddCXXSummary(cpp_category_sp, GenericFilesystemPathSummaryProvider,
----------------
Nerixyz wrote:

One thing: If this is at the bottom here - the `stl_summary_flags` will include children. Can you check that the type won't have children in the test and if it does have some, you'll probably need to move this call to above here: https://github.com/llvm/llvm-project/blob/cd8448925c6dab8d2b0919216d293f36e68dbf08/lldb/source/Plugins/Language/CPlusPlus/CPlusPlusLanguage.cpp#L1843

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


More information about the lldb-commits mailing list