[Lldb-commits] [PATCH] D68890: remove FILE* bindings from SBInstruction.
Lawrence D'Anna via Phabricator via lldb-commits
lldb-commits at lists.llvm.org
Fri Oct 11 14:13:38 PDT 2019
lawrence_danna created this revision.
lawrence_danna added reviewers: JDevlieghere, jasonmolenda, labath.
Herald added a project: LLDB.
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.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D68890
Files:
lldb/include/lldb/API/SBInstruction.h
lldb/include/lldb/API/SBInstructionList.h
lldb/packages/Python/lldbsuite/test/python_api/default-constructor/sb_instruction.py
lldb/packages/Python/lldbsuite/test/python_api/default-constructor/sb_instructionlist.py
lldb/packages/Python/lldbsuite/test/python_api/disassemble-raw-data/TestDisassemble_VST1_64.py
lldb/scripts/interface/SBInstruction.i
lldb/scripts/interface/SBInstructionList.i
lldb/source/API/SBInstruction.cpp
lldb/source/API/SBInstructionList.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D68890.224677.patch
Type: text/x-patch
Size: 10134 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/lldb-commits/attachments/20191011/a2821eac/attachment.bin>
More information about the lldb-commits
mailing list