llvm-project/lldb/unittests
Petr Pavlu dbd7c338a0 Fix dumping of characters with non-standard sizes
* Prevent dumping of characters in DumpDataExtractor() with
  item_byte_size bigger than 8 bytes. This case is not supported by the
  code and results in a crash because the code calls
  DataExtractor::GetMaxU64Bitfield() -> GetMaxU64() that asserts for
  byte size > 8 bytes.
* Teach DataExtractor::GetMaxU64(), GetMaxU32(), GetMaxS64() and
  GetMaxU64_unchecked() how to handle byte sizes that are not a multiple
  of 2. This allows DumpDataExtractor() to dump characters and booleans
  with item_byte_size in the interval of [1, 8] bytes. Values that are
  not a multiple of 2 would previously result in a crash because they
  were not handled by GetMaxU64().

llvm-svn: 315444
2017-10-11 08:48:18 +00:00
..
Breakpoint Rename Error -> Status. 2017-05-12 04:51:55 +00:00
Core Fix dumping of characters with non-standard sizes 2017-10-11 08:48:18 +00:00
Editline Rename Error -> Status. 2017-05-12 04:51:55 +00:00
Expression Rename Error -> Status. 2017-05-12 04:51:55 +00:00
Host Use ThreadLauncher to launch TaskPool threads 2017-09-19 15:38:30 +00:00
Interpreter cmake + xcode: prevent gtests from using includes from project root 2017-10-03 21:20:18 +00:00
Language Enable parsing C++ names generated by lambda functions. 2017-07-13 19:48:43 +00:00
ObjectFile cmake + xcode: prevent gtests from using includes from project root 2017-10-03 21:20:18 +00:00
Platform [CMake] Update unit tests with accurate dependencies 2017-02-01 22:17:00 +00:00
Process cmake + xcode: prevent gtests from using includes from project root 2017-10-03 21:20:18 +00:00
ScriptInterpreter Added new API to SBStructuredData class 2017-05-29 08:25:46 +00:00
Signals Make LLDB skip server-client roundtrip for signals that don't require any actions 2017-03-07 21:34:40 +00:00
Symbol cmake + xcode: prevent gtests from using includes from project root 2017-10-03 21:20:18 +00:00
SymbolFile cmake + xcode: prevent gtests from using includes from project root 2017-10-03 21:20:18 +00:00
Target cmake + xcode: prevent gtests from using includes from project root 2017-10-03 21:20:18 +00:00
TestingSupport cmake + xcode: prevent gtests from using includes from project root 2017-10-03 21:20:18 +00:00
UnwindAssembly The x86 instruction unwinder can be asked to disassemble non-instruction 2017-07-08 00:12:15 +00:00
Utility cmake + xcode: prevent gtests from using includes from project root 2017-10-03 21:20:18 +00:00
debugserver [CMake] Need to set WITH_LOCKDOWN on debugserver target 2017-09-06 20:15:43 +00:00
tools Move StructuredData from Core to Utility 2017-06-27 10:45:31 +00:00
CMakeLists.txt cmake + xcode: prevent gtests from using includes from project root 2017-10-03 21:20:18 +00:00
gtest_common.h [Windows] Remove the #include <eh.h> hack. 2017-03-03 20:21:59 +00:00