[Lldb-commits] [PATCH] D133601: [LLDB][NativePDB] ResolveSymbolContext should return the innermost block

Zequan Wu via Phabricator via lldb-commits lldb-commits at lists.llvm.org
Fri Sep 9 11:56:24 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.

Before, it returns the outermost blocks if nested blocks have the same
address range. That casuses lldb unable to find variables that are inside
inner blocks.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D133601

Files:
  lldb/source/Plugins/SymbolFile/NativePDB/SymbolFileNativePDB.cpp
  lldb/test/Shell/SymbolFile/NativePDB/nested-blocks-same-address.s

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D133601.459155.patch
Type: text/x-patch
Size: 20919 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/lldb-commits/attachments/20220909/d8641fb8/attachment-0001.bin>


More information about the lldb-commits mailing list