[all-commits] [llvm/llvm-project] 656382: Revert "Re-land "[lldb/Lua] Add string conversion ...

Jonas Devlieghere via All-commits all-commits at lists.llvm.org
Tue Jan 7 16:48:11 PST 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 6563826ff0f83cc8ef6c84154841245834a5b37e
      https://github.com/llvm/llvm-project/commit/6563826ff0f83cc8ef6c84154841245834a5b37e
  Author: Jonas Devlieghere <jonas at devlieghere.com>
  Date:   2020-01-07 (Tue, 07 Jan 2020)

  Changed paths:
    M lldb/scripts/Python/python-extensions.swig
    R lldb/scripts/extensions.swig
    M lldb/scripts/lldb.swig
    M lldb/scripts/lldb_lua.swig

  Log Message:
  -----------
  Revert "Re-land "[lldb/Lua] Add string conversion operator for SBTarget.""

This was returning a pointer to a stack-allocated memory location. This
works for Python where we return a PythonString which must own the
underlying string.




More information about the All-commits mailing list