This is an archive of the discontinued LLVM Phabricator instance.

[lldb] [Commands] Fix reporting errors in 'platform file read/write'
ClosedPublic

Authored by mgorny on Aug 6 2021, 12:59 PM.

Details

Summary

Fix 'platform file read' and 'platform file write' commands to correctly
detect erraneous return and report it as such. Currently, errors were
implicitly printed as a return value of -1, and the commands were
assumed to be successful.

Diff Detail

Event Timeline

mgorny requested review of this revision.Aug 6 2021, 12:59 PM
mgorny created this revision.
mgorny updated this revision to Diff 365407.Aug 10 2021, 3:11 AM

Fix integer type mismatches.

labath accepted this revision.Sep 7 2021, 3:48 AM
This revision is now accepted and ready to land.Sep 7 2021, 3:48 AM
This revision was landed with ongoing or failed builds.Sep 8 2021, 2:01 AM
This revision was automatically updated to reflect the committed changes.
Herald added a project: Restricted Project. · View Herald TranscriptSep 8 2021, 2:01 AM