[all-commits] [llvm/llvm-project] 0341c1: [lldb/SWIG] Refactor extensions to be non Python-s...

Jonas Devlieghere via All-commits all-commits at lists.llvm.org
Wed Jan 8 13:37:20 PST 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 0341c11e08504acef8c16ab07210bc253dadf2d9
      https://github.com/llvm/llvm-project/commit/0341c11e08504acef8c16ab07210bc253dadf2d9
  Author: Jonas Devlieghere <jonas at devlieghere.com>
  Date:   2020-01-08 (Wed, 08 Jan 2020)

  Changed paths:
    M lldb/scripts/Python/python-extensions.swig
    M lldb/scripts/interface/SBTarget.i
    M lldb/scripts/lldb.swig
    M lldb/scripts/lldb_lua.swig

  Log Message:
  -----------
  [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




More information about the All-commits mailing list