This is an archive of the discontinued LLVM Phabricator instance.

remove FILE* bindings from SBInstruction.
ClosedPublic

Authored by lawrence_danna on Oct 11 2019, 2:09 PM.

Details

Summary

This patch replaces the FILE* python bindings for SBInstruction and
SBInstructionList and replaces them with the new, safe SBFile and FileSP
bindings.

I also re-enable Test_Disassemble_VST1_64, because now we can use
the file bindings as an additional test of the disassembler, and we
can use the disassembler test as a test of the file bindings.

The bugs referred to in the comments appear to have been fixed. The
radar is closed now and the bugzilla bug does not reproduce with the
instructions given.

Diff Detail

Event Timeline

lawrence_danna created this revision.Oct 11 2019, 2:09 PM
Herald added a project: Restricted Project. · View Herald TranscriptOct 11 2019, 2:09 PM
labath accepted this revision.Oct 14 2019, 1:01 AM
This revision is now accepted and ready to land.Oct 14 2019, 1:01 AM
This revision was automatically updated to reflect the committed changes.