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

Jim Ingham jingham at apple.com
Wed Mar 11 14:57:26 PDT 2015

I agree with Greg that we should not add API to the SB API's unless there is an external programmer need for it.  Adding API just for testing purposes seems like a bad idea to me.  It will just end up making the API fat & hard to understand.

OTOH, I wonder if it would be interesting to have an SBCommandInterpreter::HandleCommand that takes an SBArg instead of a command string.  If you were trying to program HandleCommand, it might be nice not to have to cons up the string that protects all the quotes just so lldb will then take it apart again correctly.  In that case, it might be nice to have a way to just build up the args by hand.




More information about the lldb-commits mailing list