[Lldb-commits] [PATCH] Add SBArgs to the public interface

Zachary Turner zturner at google.com
Wed Mar 11 13:53:54 PDT 2015


Ugh, that didn't show up right, let's try this again.

  d:\src\llvmbuild\ninja>bin\lldb
  (lldb) script
  Python Interactive Interpreter. To exit, type 'quit()', 'exit()' or Ctrl-D.
  >>> import lldb
  >>> args = lldb.SBArgs()
  >>> args.SetCommandString("This is a test")
  >>> args.GetArgumentCount()
  4L
  >>> args.GetArgumentAtIndex(2)
  'a'
  >>> args.GetArgumentAtIndex(3)
  'test'
  >>> quit
  (lldb) quit


http://reviews.llvm.org/D8265

EMAIL PREFERENCES
  http://reviews.llvm.org/settings/panel/emailpreferences/






More information about the lldb-commits mailing list