lanza added a comment.

Thanks, Jonas! What's the status for your downstream repos? This generates 
bindings but they aren't entirely functional as it generates type annotations 
like `"lldb::SBDebugger"` which Python LSPs can't figure out. I ended up adding 
`-py3` and then running some sed post-processing to convert `"lldb::\(.*\)"` to 
`\1` etc: https://github.com/lanza/lldbpybind. That `lldb.py` works pretty well 
with pyright getting type info. Figuring out how to teach the build system + 
swig to generate proper type annotations might require a similar post 
processing step.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D96096/new/

https://reviews.llvm.org/D96096

_______________________________________________
lldb-commits mailing list
lldb-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

Reply via email to