summaryrefslogtreecommitdiffstats
path: root/lldb/examples
diff options
context:
space:
mode:
authorNathan Lanza <nathan@lanza.io>2019-01-19 20:08:41 +0000
committerNathan Lanza <nathan@lanza.io>2019-01-19 20:08:41 +0000
commitf9c2f2c0b708dd7d4c5c7816a0897734524d9548 (patch)
treec4af2c6a25ebbd646081bd631a2c3e233b24c82e /lldb/examples
parente8305175b0f99566e429e1644f121ff0207fc7f0 (diff)
downloadbcm5719-llvm-f9c2f2c0b708dd7d4c5c7816a0897734524d9548.tar.gz
bcm5719-llvm-f9c2f2c0b708dd7d4c5c7816a0897734524d9548.zip
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. llvm-svn: 351664
Diffstat (limited to 'lldb/examples')
-rw-r--r--lldb/examples/summaries/lldb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lldb/examples/summaries/lldb b/lldb/examples/summaries/lldb
index b6b2bf3d41c..10eaaf0db7e 100644
--- a/lldb/examples/summaries/lldb
+++ b/lldb/examples/summaries/lldb
@@ -11,7 +11,7 @@ type summary add -w lldb lldb_private::CommandObject -
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}"
OpenPOWER on IntegriCloud