[all-commits] [llvm/llvm-project] 15983c: [LLDB] Dump valid ranges of variables
Zequan Wu via All-commits
all-commits at lists.llvm.org
Wed Mar 2 13:44:36 PST 2022
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 15983c28aa819031e08a2b3fe49d02c41839b22c
https://github.com/llvm/llvm-project/commit/15983c28aa819031e08a2b3fe49d02c41839b22c
Author: Zequan Wu <zequanwu at google.com>
Date: 2022-03-02 (Wed, 02 Mar 2022)
Changed paths:
M lldb/include/lldb/Core/Address.h
M lldb/include/lldb/Expression/DWARFExpression.h
M lldb/include/lldb/Symbol/Variable.h
M lldb/source/Commands/CommandObjectTarget.cpp
M lldb/source/Commands/Options.td
M lldb/source/Core/Address.cpp
M lldb/source/Expression/DWARFExpression.cpp
M lldb/source/Plugins/SymbolFile/DWARF/SymbolFileDWARF.cpp
M lldb/source/Symbol/Variable.cpp
M lldb/test/Shell/SymbolFile/DWARF/x86/DW_AT_loclists_base.s
M lldb/test/Shell/SymbolFile/DWARF/x86/debug_loc.s
M lldb/test/Shell/SymbolFile/DWARF/x86/debug_loc_and_loclists.s
M lldb/test/Shell/SymbolFile/DWARF/x86/debug_loclists-dwo.s
M lldb/test/Shell/SymbolFile/DWARF/x86/debug_loclists-dwp.s
M lldb/test/Shell/SymbolFile/DWARF/x86/dwp.s
M lldb/test/Shell/SymbolFile/DWARF/x86/unused-inlined-params.test
Log Message:
-----------
[LLDB] Dump valid ranges of variables
This allows `image lookup -a ... -v` to print variables only if the given
address is covered by the valid ranges of the variables. Since variables created
in dwarf plugin always has empty scope range, print the variable if it has
empty scope.
Differential Revision: https://reviews.llvm.org/D119963
More information about the All-commits
mailing list