[Lldb-commits] [PATCH] Add -exec-arguments command
clayborg at gmail.com
Thu Feb 12 14:16:05 PST 2015
You will need to get the object for each item individual and set the callback on each OptionValue separately. Right now only only the item OptionValue itself will call the callback it won't pass it up to the parent and call the parent's callback. You can change this to happen if you want. then you just need to install one callback and use the "OptionValue *option_value" second param and look at its name using:
ConstString option_name = option_value->GetName();
Then you will need to find out which option it maps to and then set the right value.
More information about the lldb-commits