[Lldb-commits] [PATCH] D133626: [LLDB][NativePDB] Add local variables with no location info.
Zequan Wu via Phabricator via lldb-commits
lldb-commits at lists.llvm.org
Fri Sep 9 17:48:11 PDT 2022
zequanwu created this revision.
zequanwu added reviewers: labath, rnk.
Herald added a project: All.
zequanwu requested review of this revision.
Herald added a project: LLDB.
Herald added a subscriber: lldb-commits.
If we don't add local variables with no location info, when trying to print it,
lldb won't find it in the its parent DeclContext, which makes lldb to spend more
time to search all the way up in DeclContext hierarchy until found same name
variable or failed. Dwarf plugin also add local vars even if they don't have
location info.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D133626
Files:
lldb/source/Plugins/SymbolFile/NativePDB/PdbUtil.cpp
lldb/source/Plugins/SymbolFile/NativePDB/PdbUtil.h
lldb/source/Plugins/SymbolFile/NativePDB/SymbolFileNativePDB.cpp
lldb/test/Shell/SymbolFile/NativePDB/inline_sites.test
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D133626.459240.patch
Type: text/x-patch
Size: 8344 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/lldb-commits/attachments/20220910/d835edc4/attachment.bin>
More information about the lldb-commits
mailing list