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

Zequan Wu via Phabricator via lldb-commits lldb-commits at lists.llvm.org
Wed Feb 16 13:42:07 PST 2022


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



More information about the lldb-commits mailing list