[Lldb-commits] [PATCH] D69793: Bundle libedit-compatible readline replacement

Pavel Labath via Phabricator via lldb-commits lldb-commits at lists.llvm.org
Tue Nov 5 02:53:23 PST 2019


labath added a comment.

> 1. use PyMem_RawMalloc instead of PyMem_Malloc, as expected by PyOS_Readline (prevents to segfault upon exit of interactive session)

It looks like this is failing on python2, because it has no RawMalloc function https://docs.python.org/2.7/c-api/memory.html. I guess this bit should be `#ifdef PY2` ?


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D69793





More information about the lldb-commits mailing list