llvm-project/lldb/unittests
Greg Clayton 008ec44644 Fix a problem where if a uint64_t value is placed into a python dictionary and sent up to LLDB and converted to StructuredData, it would not be able to parse the full 64 bit value. A number like 0xf000000000000000L could be placed into a dictionary, and sent to LLDB and it would end up being 0xffffffffffffffff since it would overflow a int64_t. We leave the old code there, but if it overflows, we treat the number like a uint64_t and get it to decode correctly. Added a gtest to cover this so we don't regress. I verified the gtest failed prior to the fix, and it succeeds after it.
<rdar://problem/27409265>

llvm-svn: 278304
2016-08-10 23:25:57 +00:00
..
Core Fix DataExtractor::PeekData for zero length peeks 2016-07-26 08:11:57 +00:00
Editline Fix a bunch of signedness warnings in unittests 2016-03-11 09:00:23 +00:00
Expression Fix build for go parser unittest. 2015-11-03 22:46:37 +00:00
Host Revert "Add a read_full_buffer argument to ConnectionFileDescriptor::Read" 2016-05-03 14:07:41 +00:00
Interpreter Fix linking of unit tests via CMake on Windows. 2015-03-18 16:56:24 +00:00
Process Reapply "Rewrite gdb-remote's SendContinuePacketAndWaitForResponse" 2016-08-09 12:04:46 +00:00
ScriptInterpreter Fix a problem where if a uint64_t value is placed into a python dictionary and sent up to LLDB and converted to StructuredData, it would not be able to parse the full 64 bit value. A number like 0xf000000000000000L could be placed into a dictionary, and sent to LLDB and it would end up being 0xffffffffffffffff since it would overflow a int64_t. We leave the old code there, but if it overflows, we treat the number like a uint64_t and get it to decode correctly. Added a gtest to cover this so we don't regress. I verified the gtest failed prior to the fix, and it succeeds after it. 2016-08-10 23:25:57 +00:00
Symbol Add some unit tests for ClangASTContext. 2016-04-01 23:20:35 +00:00
SymbolFile Fix SymbolFilePDBTests.cpp 2016-05-10 13:46:22 +00:00
Utility Add unit tests for ModuleCache 2016-05-25 10:48:16 +00:00
CMakeLists.txt Reapply "Rewrite gdb-remote's SendContinuePacketAndWaitForResponse" 2016-08-09 12:04:46 +00:00
gtest_common.h Fix linking of unit tests via CMake on Windows. 2015-03-18 16:56:24 +00:00