Med Ismail Bennani
57bd882343
[lldb] Convert script native types to StructuredData counterpart
...
This patch adds the ability to pass native types from the script
interpreter to methods that use a {SB,}StructuredData argument.
To do so, this patch changes the `ScriptedObject` struture that holds
the pointer to the script object as well as the originating script
interpreter language. It also exposes that to the SB API via a new class
called `SBScriptObject`.
This structure allows the debugger to parse the script object and
convert it to a StructuredData object. If the type is not compatible
with the StructuredData types, we will store its pointer in a
`StructuredData::Generic` object.
This patch also adds some SWIG typemaps that checks the input argument to
ensure it's either an SBStructuredData object, in which case it just
passes it throught, or a python object that is NOT another SB type, to
provide some guardrails for the user.
rdar://111467140
Differential Revision: https://reviews.llvm.org/D155161
Signed-off-by: Med Ismail Bennani <ismail@bennani.ma >
2023-07-21 18:47:46 -07:00
..
2023-02-16 11:18:04 -08:00
2023-02-16 11:18:04 -08:00
2023-02-16 11:18:04 -08:00
2023-02-16 11:18:04 -08:00
2023-02-16 11:18:04 -08:00
2023-02-16 11:18:04 -08:00
2023-02-16 11:18:04 -08:00
2023-02-16 11:18:04 -08:00
2023-02-16 11:18:04 -08:00
2023-02-16 11:18:04 -08:00
2023-02-16 11:18:04 -08:00
2023-02-16 11:18:04 -08:00
2023-02-16 11:18:04 -08:00
2023-02-16 11:18:04 -08:00
2023-02-16 11:18:04 -08:00
2023-02-16 11:18:04 -08:00
2023-02-16 11:18:04 -08:00
2023-02-16 11:18:04 -08:00
2023-02-16 11:18:04 -08:00
2023-02-16 11:18:04 -08:00
2023-02-16 11:18:04 -08:00
2023-02-16 11:18:04 -08:00
2023-02-16 11:18:04 -08:00
2023-02-16 11:18:04 -08:00
2023-02-16 11:18:04 -08:00
2023-02-16 11:18:04 -08:00
2023-02-16 11:18:04 -08:00
2023-02-16 11:18:04 -08:00
2023-02-16 11:18:04 -08:00
2023-02-16 11:18:04 -08:00
2023-02-16 11:18:04 -08:00
2023-02-16 11:18:04 -08:00
2023-02-16 11:18:04 -08:00
2023-02-16 11:18:04 -08:00
2023-02-16 11:18:04 -08:00
2023-02-16 11:18:04 -08:00
2023-02-16 11:18:04 -08:00
2023-02-16 11:18:04 -08:00
2023-02-16 11:18:04 -08:00
2023-02-16 11:18:04 -08:00
2023-02-16 11:18:04 -08:00
2023-02-16 11:18:04 -08:00
2023-02-16 11:18:04 -08:00
2023-02-16 11:18:04 -08:00
2023-02-16 11:18:04 -08:00
2023-02-16 11:18:04 -08:00
2023-02-16 11:18:04 -08:00
2023-02-16 11:18:04 -08:00
2023-02-16 11:18:04 -08:00
2023-02-16 11:18:04 -08:00
2023-02-16 11:18:04 -08:00
2023-02-16 11:18:04 -08:00
2023-02-16 11:18:04 -08:00
2023-02-16 11:18:04 -08:00
2023-02-16 11:18:04 -08:00
2023-02-16 11:18:04 -08:00
2023-02-16 11:18:04 -08:00
2023-02-16 11:18:04 -08:00
2023-02-16 11:18:04 -08:00
2023-02-16 11:18:04 -08:00
2023-03-03 19:33:01 -08:00
2023-02-16 11:18:04 -08:00
2023-02-16 11:18:04 -08:00
2023-02-16 11:18:04 -08:00
2023-02-16 11:18:04 -08:00
2023-07-21 18:47:46 -07:00
2023-02-16 11:18:04 -08:00
2023-02-16 11:18:04 -08:00
2023-02-16 11:18:04 -08:00
2023-02-16 11:18:04 -08:00
2023-02-16 11:18:04 -08:00
2023-02-16 11:18:04 -08:00
2023-02-16 11:18:04 -08:00
2023-02-16 11:18:04 -08:00
2023-02-16 11:18:04 -08:00
2023-02-16 11:18:04 -08:00
2023-02-16 11:18:04 -08:00
2023-02-16 11:18:04 -08:00
2023-02-16 11:18:04 -08:00
2023-02-16 11:18:04 -08:00
2023-02-16 11:18:04 -08:00
2023-04-25 15:03:15 -07:00
2023-02-16 11:18:04 -08:00
2023-02-16 11:18:04 -08:00
2023-02-16 11:18:04 -08:00
2023-02-16 11:18:04 -08:00
2023-02-16 11:18:04 -08:00
2023-02-16 11:18:04 -08:00
2023-02-16 11:18:04 -08:00
2023-02-16 11:18:04 -08:00
2023-02-16 11:18:04 -08:00
2023-02-16 11:18:04 -08:00
2023-02-16 11:18:04 -08:00
2023-02-16 11:18:04 -08:00
2023-02-16 11:18:04 -08:00
2023-02-16 11:18:04 -08:00
2023-02-16 11:18:04 -08:00
2023-02-16 11:18:04 -08:00
2023-02-16 11:18:04 -08:00
2023-02-16 11:18:04 -08:00
2023-02-16 11:18:04 -08:00
2023-02-16 11:18:04 -08:00
2023-02-16 11:18:04 -08:00
2023-02-16 11:18:04 -08:00
2023-02-16 11:18:04 -08:00
2023-02-16 11:18:04 -08:00
2023-03-02 14:36:37 -08:00
2023-02-16 11:18:04 -08:00
2023-02-16 11:18:04 -08:00
2023-02-16 11:18:04 -08:00
2023-02-16 11:18:04 -08:00
2023-03-01 11:15:05 -08:00
2023-02-16 11:18:04 -08:00