This is an archive of the discontinued LLVM Phabricator instance.

[LLDB] Fix "memory region --all" when there is no ABI plugin
ClosedPublic

Authored by DavidSpickett on Sep 16 2022, 5:54 AM.

Details

Summary

There are two conditions for the loop exit. Either we hit LLDB_INVALID_ADDRESS
or the ABI tells us we are beyond mappable memory.

I made a mistake in that second part that meant if you had no ABI plugin
--all would stop on the first loop and return nothing.

If there's no ABI plugin we should only check for LLDB_INVALID_ADDRESS.

Depends on D134029

Diff Detail

Event Timeline

DavidSpickett created this revision.Sep 16 2022, 5:54 AM
Herald added a project: Restricted Project. · View Herald TranscriptSep 16 2022, 5:54 AM
DavidSpickett requested review of this revision.Sep 16 2022, 5:54 AM
Herald added a project: Restricted Project. · View Herald TranscriptSep 16 2022, 5:54 AM
labath accepted this revision.Sep 23 2022, 5:18 AM
This revision is now accepted and ready to land.Sep 23 2022, 5:18 AM