hanchenye-llvm-project/lldb/source
Siva Chandra 870602dd3c Handle PyLong return values in LLDBSwigPython_CalculateNumChildren.
Summary:
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.

Test Plan: dotest.py -p <TestDataFormatterStdVector|TestDataFormatterStdList>

Reviewers: vharron, clayborg

Reviewed By: clayborg

Subscribers: zturner, lldb-commits

Differential Revision: http://reviews.llvm.org/D8337

llvm-svn: 232399
2015-03-16 19:01:33 +00:00
..
API Handle PyLong return values in LLDBSwigPython_CalculateNumChildren. 2015-03-16 19:01:33 +00:00
Breakpoint Don't #include clang headers from BreakpointLocation.h 2015-03-04 17:43:00 +00:00
Commands If creating a Python command via a class, the help text is handled directly by the class object, no need for setting it manually via the cmdline 2015-03-13 22:35:44 +00:00
Core This fixes the build I previously broke - and actually makes the test case work just like I promised 2015-03-12 22:30:58 +00:00
DataFormatters Fix a bug in the data formatters where summary strings would not look into the non-synthetic value for child members if the ValueObject being formatted happened to have a synthetic value 2015-03-12 22:17:07 +00:00
Expression Added nullptr to fix build 2015-03-16 03:54:22 +00:00
Host Fix missing data in GetProcessInfo on linux 2015-03-13 11:16:12 +00:00
Interpreter Handle PyLong return values in LLDBSwigPython_CalculateNumChildren. 2015-03-16 19:01:33 +00:00
Plugins Extend Platform(s) in order to cache remote executables using ModuleCache and make POSIX dynamic loader to use this flow when attaching to a remote target. 2015-03-13 18:44:56 +00:00
Symbol Add SymbolVendor::GetMainFileSpec and simplify CommandObjectTargetModulesList::PrintModule 2015-03-10 21:18:59 +00:00
Target Extend Platform(s) in order to cache remote executables using ModuleCache and make POSIX dynamic loader to use this flow when attaching to a remote target. 2015-03-13 18:44:56 +00:00
Utility Silence warnings here by explicit cast. 2015-03-13 00:31:45 +00:00
CMakeLists.txt [CMake] Make the unittests link against everything... 2015-03-14 23:39:28 +00:00
Makefile Use PARALLEL_DIRS instead of DIRS in the Makefile 2014-10-14 06:26:33 +00:00
lldb-log.cpp Make sure to #include <atomic> when using std::atomic. 2014-09-19 20:12:32 +00:00
lldb.cpp Clean up includes in source/lldb.cpp (1 was unused, 1 duplicated) 2015-03-12 17:05:18 +00:00