This is an archive of the discontinued LLVM Phabricator instance.

[LLDB][NativePDB] ResolveSymbolContext should return the innermost block
ClosedPublic

Authored by zequanwu on Sep 9 2022, 11:56 AM.

Details

Summary

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.

Diff Detail

Event Timeline

zequanwu created this revision.Sep 9 2022, 11:56 AM
Herald added a project: Restricted Project. · View Herald TranscriptSep 9 2022, 11:56 AM
zequanwu requested review of this revision.Sep 9 2022, 11:56 AM
Herald added a project: Restricted Project. · View Herald TranscriptSep 9 2022, 11:56 AM
zequanwu updated this revision to Diff 460644.Sep 15 2022, 10:49 PM

Rebase and update test.

labath accepted this revision.Sep 15 2022, 10:58 PM
This revision is now accepted and ready to land.Sep 15 2022, 10:58 PM