zequanwu added a comment.

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

> It's really useful to be able to see these variable ranges, so the feature 
> seems good to me, but I think the valid range output should be governed by 
> another flag, like --show-variable-ranges.  In optimized code, there can be a 
> whole lot of ranges for each variable, so this could get really noisy and 
> make the whole output hard to look at, so it would be good to have a way to 
> turn it off.

Using a flag to control it seems good to me.

> Unfortunately `-v` doesn't work for that since the non `-v` version isn't so 
> useful.

I don't quite understand what you mean here. I suppose we want a flag 
`--show-variable-ranges` to have effect only when `-v` is given in `image 
lookup -v -a ...`. Is this what you mean?


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D119963

_______________________________________________
lldb-commits mailing list
lldb-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

Reply via email to