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

Zequan Wu via Phabricator via lldb-commits lldb-commits at lists.llvm.org
Tue Feb 22 17:08:10 PST 2022


zequanwu updated this revision to Diff 410679.
zequanwu added a comment.

- Use `-show-variable-ranges/-R single/all` to dump single addres range that contains the querying address or all address ranges. It seeme like I can't use non-printable character like `\\x01` to omit short option when it takes a parameter, so `-R` is used as abbrev "range".
- Refactor `DWARFExpression::GetLocationExpression`.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D119963

Files:
  lldb/include/lldb/Core/Address.h
  lldb/include/lldb/Expression/DWARFExpression.h
  lldb/include/lldb/lldb-private-enumerations.h
  lldb/source/Commands/CommandObjectTarget.cpp
  lldb/source/Commands/Options.td
  lldb/source/Core/Address.cpp
  lldb/source/Expression/DWARFExpression.cpp
  lldb/test/Shell/SymbolFile/DWARF/x86/debug_loc.s

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D119963.410679.patch
Type: text/x-patch
Size: 24972 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/lldb-commits/attachments/20220223/f8532d68/attachment-0001.bin>


More information about the lldb-commits mailing list