This is an archive of the discontinued LLVM Phabricator instance.

[LLDB] Properly return errors from "memory region --all"
ClosedPublic

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

Details

Summary

When I wrote the initial version I forgot that a region being
unmapped is not an error. There are real errors that we don't
want to hide, such as the remote not supporting the
qMemoryRegionInfo packet (gdbserver does not).

Diff Detail

Event Timeline

DavidSpickett created this revision.Sep 16 2022, 5:53 AM
Herald added a project: Restricted Project. · View Herald TranscriptSep 16 2022, 5:53 AM
DavidSpickett requested review of this revision.Sep 16 2022, 5:53 AM
Herald added a project: Restricted Project. · View Herald TranscriptSep 16 2022, 5:53 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