This is an archive of the discontinued LLVM Phabricator instance.

support for arbitrary python file objects
AbandonedPublic

Authored by lawrence_danna on Sep 19 2019, 8:20 PM.

Details

Summary

This is a re-work of https://reviews.llvm.org/D38829

git history can be found here: https://github.com/smoofra/llvm-project/tree/files

The goal is full support for python file objects for reading and writing,
including objects which have no file descriptor and override the read()
and write() functions.

To acheive this in a reasonable way, I also remove most of the FILE* usage
inside LLDB and replace it with lldb_private::File, and add a new API class
SBFile which wrapps lldb_private::File.

Event Timeline

lawrence_danna created this revision.Sep 19 2019, 8:20 PM
Herald added projects: Restricted Project, Restricted Project. · View Herald TranscriptSep 19 2019, 8:20 PM
lawrence_danna edited the summary of this revision. (Show Details)Sep 19 2019, 8:32 PM
lawrence_danna abandoned this revision.Sep 19 2019, 8:35 PM

will re-submit as individual patches.