[Lldb-commits] [lldb] r254349 - Fix a bug where one-lining display of child values would ignore the user's choice of format

Enrico Granata via lldb-commits lldb-commits at lists.llvm.org
Mon Nov 30 16:04:53 PST 2015


Author: enrico
Date: Mon Nov 30 18:04:52 2015
New Revision: 254349

URL: http://llvm.org/viewvc/llvm-project?rev=254349&view=rev
Log:
Fix a bug where one-lining display of child values would ignore the user's choice of format

Modified:
    lldb/trunk/source/DataFormatters/ValueObjectPrinter.cpp

Modified: lldb/trunk/source/DataFormatters/ValueObjectPrinter.cpp
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/source/DataFormatters/ValueObjectPrinter.cpp?rev=254349&r1=254348&r2=254349&view=diff
==============================================================================
--- lldb/trunk/source/DataFormatters/ValueObjectPrinter.cpp (original)
+++ lldb/trunk/source/DataFormatters/ValueObjectPrinter.cpp Mon Nov 30 18:04:52 2015
@@ -839,7 +839,7 @@ ValueObjectPrinter::PrintChildrenOneLine
                 }
                 child_sp->DumpPrintableRepresentation(*m_stream,
                                                       ValueObject::eValueObjectRepresentationStyleSummary,
-                                                      lldb::eFormatInvalid,
+                                                      m_options.m_format,
                                                       ValueObject::ePrintableRepresentationSpecialCasesDisable);
             }
         }




More information about the lldb-commits mailing list