HomePhabricator

[lldb/SWIG] Refactor extensions to be non Python-specific
a59db64a41bdUnpublished

Authored by JDevlieghere on Jan 8 2020, 1:34 PM.

Unpublished Commit ยท Learn More

Not On Permanent Ref: This commit is not an ancestor of any permanent ref.

Description

[lldb/SWIG] Refactor extensions to be non Python-specific

The current SWIG extensions for the string conversion operator is Python
specific because it uses the PythonObjects. This means that the code
cannot be reused for other SWIG supported languages such as Lua.

This reimplements the extensions in a more generic way that can be
reused.

Differential revision: https://reviews.llvm.org/D72377

(cherry picked from commit 0341c11e08504acef8c16ab07210bc253dadf2d9)

Details