[Lldb-commits] [PATCH] D78462: get rid of PythonInteger::GetInteger()
Lawrence D'Anna via Phabricator via lldb-commits
lldb-commits at lists.llvm.org
Sun Apr 19 14:57:38 PDT 2020
lawrence_danna created this revision.
lawrence_danna added reviewers: labath, jasonmolenda, JDevlieghere, vadimcn.
Herald added a project: LLDB.
Herald added a subscriber: lldb-commits.
One small step in my long running quest to improve python exception handling in
LLDB. Replace GetInteger() which just returns an int with As<long long> and
friends, which return Expected types that can track python exceptions
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D78462
Files:
lldb/bindings/python/python-typemaps.swig
lldb/bindings/python/python-wrapper.swig
lldb/source/Plugins/ScriptInterpreter/Python/PythonDataObjects.cpp
lldb/source/Plugins/ScriptInterpreter/Python/PythonDataObjects.h
lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp
lldb/unittests/ScriptInterpreter/Python/PythonDataObjectsTests.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D78462.258624.patch
Type: text/x-patch
Size: 15639 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/lldb-commits/attachments/20200419/47a5d4e6/attachment.bin>
More information about the lldb-commits
mailing list