Author: lanza Date: Sat Jan 19 12:08:41 2019 New Revision: 351664 URL: http://llvm.org/viewvc/llvm-project?rev=351664&view=rev Log: Fix order of arguments in an lldb type summary in examples
The format for the -w argument is: -w name ( --category name ) Rearrange the flags correctly. Modified: lldb/trunk/examples/summaries/lldb Modified: lldb/trunk/examples/summaries/lldb URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/examples/summaries/lldb?rev=351664&r1=351663&r2=351664&view=diff ============================================================================== --- lldb/trunk/examples/summaries/lldb (original) +++ lldb/trunk/examples/summaries/lldb Sat Jan 19 12:08:41 2019 @@ -11,7 +11,7 @@ type summary add -w lldb lldb_private::C type summary add -w lldb lldb_private::Variable -s "${var.m_type.m_name} ${var.m_name}" type summary add -w lldb lldb_private::StopInfo -s "ID: ${var.m_stop_id}, ${var.m_description}" type summary add -w lldb lldb_private::FileSpec -s "file: ${var.m_filename%S} dir: ${var.m_directory%S}" -type summary add -w -v lldb lldb::ConnectionStatus -s "[enum=${var%E} val=${var%i}]" +type summary add -v -w lldb lldb::ConnectionStatus -s "[enum=${var%E} val=${var%i}]" # Where '-v' tells type summary not to show the value itself, but just use the summary format. type summary add -w lldb "lldb_private::ThreadSafeValue<lldb::StateType>" -s "${var.m_value}" _______________________________________________ lldb-commits mailing list lldb-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits