[Lldb-commits] [PATCH] D119963: [LLDB] Dump valid ranges of variables

Zequan Wu via Phabricator via lldb-commits lldb-commits at lists.llvm.org
Wed Mar 2 14:20:58 PST 2022


zequanwu added a comment.

In D119963#3355563 <https://reviews.llvm.org/D119963#3355563>, @jingham wrote:

> In D119963#3355501 <https://reviews.llvm.org/D119963#3355501>, @zequanwu wrote:
>
>> Address comments
>
> This sort of thing is hard to check in the option groups w/o blowing out the number of groups you need to have.
>
> The way to check after all the option parsing is done that the options are coherent is to have the CommandOptions implement OptionParsingFinished, check the if the all_ranges is set verbose is also set, and if it isn't return a suitable error.
>
> Can you do this (even though I see you've checked it in already.)  Silently having some combination of options not work isn't a good thing.

Thanks. I added it at https://reviews.llvm.org/rG302d7179e101ebbf48c386a632828a1150a18769.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D119963/new/

https://reviews.llvm.org/D119963



More information about the lldb-commits mailing list