[lldb] Emit type annotation in SWIG generated Python code.
authorJonas Devlieghere <jonas@devlieghere.com>
Fri, 5 Feb 2021 16:50:48 +0000 (08:50 -0800)
committerJonas Devlieghere <jonas@devlieghere.com>
Fri, 5 Feb 2021 16:51:22 +0000 (08:51 -0800)
commite5228ef556e5a4cb40c6c7936aada636e1b7be10
treeaebc94ba971e5f7b72f4caccac52a7b09676f889
parent1d0b02368eb1af3ff972e888624a2c80210bc456
[lldb] Emit type annotation in SWIG generated Python code.

The Python code generated by SWIG is compatible with both Python 2 and
Python 3. The -py3 option enables Python 2 incompatible features such as
function annotations and abstract base classes.

Differential revision: https://reviews.llvm.org/D96096
lldb/bindings/python/CMakeLists.txt