[Lldb-commits] [PATCH] Add -exec-arguments command
Jim Ingham
jingham at apple.com
Mon Jan 19 13:32:52 PST 2015
If we want to have a way to directly set the arguments in a Target, I would prefer to have the SBTarget vend the SBLaunchInfo that it will use when it launches (if you don't give it another SBLaunchInfo) and then set the arguments there.
Right now it is pretty incoherent, you can set arguments in the run-args, you can set them directly when you call launch, you can set them in a SBLaunchInfo which you pass to the target, and now you can set then by passing in an SBArgs. That's too many ways to do the same thing.
Of the ones that it would be good to reuse, I think the SBLaunchInfo is the best structured, and encapsulates all the various options. So we should expose that rather than make another entity.
http://reviews.llvm.org/D6965
EMAIL PREFERENCES
http://reviews.llvm.org/settings/panel/emailpreferences/
More information about the lldb-commits
mailing list