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
..
2016-02-04 23:04:17 +00:00
2016-05-11 09:54:41 +00:00
2016-02-04 23:04:17 +00:00
2015-10-28 17:43:26 +00:00
2016-02-08 19:34:59 +00:00
2016-02-08 19:34:59 +00:00
2015-10-28 17:43:26 +00:00
2016-05-25 18:48:39 +00:00
2016-05-25 23:19:01 +00:00
2016-05-02 21:28:40 +00:00
2016-05-13 21:36:26 +00:00
2016-05-25 22:30:05 +00:00
2016-05-25 18:48:39 +00:00
2016-02-04 23:04:17 +00:00
2016-02-18 23:58:45 +00:00
2016-05-12 22:33:02 +00:00
2016-05-14 00:42:30 +00:00
2016-05-13 18:26:30 +00:00
2016-04-14 15:52:53 +00:00
2016-04-19 09:31:14 +00:00
2016-02-09 21:36:02 +00:00
2016-04-19 04:20:35 +00:00
2016-04-25 20:24:30 +00:00
2016-02-04 23:04:17 +00:00
2016-02-04 23:04:17 +00:00
2015-12-08 01:15:30 +00:00
2015-10-28 17:43:26 +00:00
2015-10-28 17:43:26 +00:00
2015-11-05 19:22:28 +00:00
2016-05-17 18:02:34 +00:00
2015-10-28 17:43:26 +00:00
2016-04-27 15:26:27 +00:00
2016-05-17 18:02:34 +00:00
2016-05-17 18:02:34 +00:00
2016-05-17 18:02:34 +00:00
2015-11-10 20:01:33 +00:00
2015-11-05 19:22:28 +00:00
2015-11-05 19:22:28 +00:00
2016-05-04 23:32:35 +00:00
2016-03-30 00:02:13 +00:00
2016-02-18 18:50:02 +00:00
2016-04-14 15:52:53 +00:00
2015-10-28 17:43:26 +00:00
2016-05-17 18:02:34 +00:00
2016-04-14 15:52:58 +00:00
2015-10-28 17:43:26 +00:00
2015-10-28 17:43:26 +00:00
2016-01-11 10:24:50 +00:00
2015-10-28 17:43:26 +00:00
2016-01-11 18:49:30 +00:00
2016-05-14 00:42:30 +00:00