[Lldb-commits] [PATCH] Handle PyLong return values in LLDBSwigPython_CalculateNumChildren.

Siva Chandra sivachandra at google.com
Fri Mar 13 17:35:29 PDT 2015


Hi clayborg, vharron,

Also, change its return type to size_t to match the return types of
its callers.

With this change, std::vector and std::list data formatter tests
pass on Linux (when using libstdc++) with clang as well as with gcc.
These tests have also been enabled in this patch.

http://reviews.llvm.org/D8337

Files:
  include/lldb/Interpreter/ScriptInterpreter.h
  scripts/Python/python-wrapper.swig
  source/API/SBCommandInterpreter.cpp
  source/Interpreter/ScriptInterpreterPython.cpp
  test/functionalities/data-formatter/data-formatter-stl/libstdcpp/list/TestDataFormatterStdList.py
  test/functionalities/data-formatter/data-formatter-stl/libstdcpp/vector/Makefile
  test/functionalities/data-formatter/data-formatter-stl/libstdcpp/vector/TestDataFormatterStdVector.py

EMAIL PREFERENCES
  http://reviews.llvm.org/settings/panel/emailpreferences/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D8337.21974.patch
Type: text/x-patch
Size: 6138 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/lldb-commits/attachments/20150314/ede97b15/attachment.bin>


More information about the lldb-commits mailing list