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