teak-llvm/lldb/packages/Python/lldbsuite
Enrico Granata fee0aba006 It has been brought to my attention that, given two variables
T x;
U y;

doing

x = *((T*)y)

is undefined behavior, even if sizeof(T) == sizeof(U), due to pointer aliasing rules

Fix up a couple of places in LLDB that were doing this, and transform them into a defined and safe memcpy() operation

Also, add a test case to ensure we didn't regress by doing this w.r.t. tagged pointer NSDate instances

llvm-svn: 270793
2016-05-25 23:19:01 +00:00
..
support test infra cleanup: convert test_runner lib into package 2016-04-19 04:20:35 +00:00
test It has been brought to my attention that, given two variables 2016-05-25 23:19:01 +00:00
test_event surface build error content through test event system 2016-05-14 00:42:30 +00:00
__init__.py Added lldbsuite.lldb_test_root, switched formatter to use it. 2015-12-07 06:19:48 +00:00