John McCall
b51a69f29f
Count tail-padding in the size of imported C types.
...
This allows us to freely pass the address of a variable of such
types to a C function without worrying about it overwriting other
things if e.g. it memcpy's sizeof(T) bytes and thus clobbers the
otherwise-non-existent tail padding.
There are ways to get this optimization back, but they require
things like materializing to a temporary instead of passing the
address directly. We haven't done that work yet, so we don't
get to take advantage of it.
rdar://26828018
2016-08-02 13:26:11 -07:00
..
2016-01-06 17:35:27 -08:00
2016-04-04 23:52:14 -07:00
2016-02-18 01:26:28 -08:00
2016-03-25 14:14:19 -07:00
2016-06-16 13:15:58 -04:00
2016-03-25 14:14:19 -07:00
2016-07-22 09:42:15 -07:00
2016-07-22 09:42:15 -07:00
2016-04-20 23:52:41 -07:00
2016-01-06 13:32:37 +01:00
2016-02-25 10:33:33 -08:00
2016-07-08 11:21:30 -07:00
2016-07-08 11:21:30 -07:00
2015-12-31 23:28:40 +00:00
2015-12-31 23:28:40 +00:00
2015-12-31 23:28:40 +00:00
2016-01-17 23:09:08 -08:00
2016-06-23 00:01:40 -07:00
2016-06-01 11:41:27 -07:00
2016-04-14 10:33:44 -07:00
2016-02-22 01:02:31 -08:00
2016-07-26 15:48:01 -07:00
2016-04-04 23:52:14 -07:00
2016-06-27 19:04:51 -07:00
2016-04-05 19:34:48 -07:00
2016-06-30 11:20:58 -07:00
2016-04-06 19:10:02 -07:00
2016-05-18 22:48:45 -07:00
2016-07-23 11:30:49 -07:00
2016-08-02 07:46:38 -07:00
2016-04-28 16:29:20 -07:00
2015-12-31 23:28:40 +00:00
2016-05-17 13:29:41 -07:00
2016-08-02 07:46:38 -07:00
2016-07-08 11:21:30 -07:00
2016-07-01 01:31:25 -07:00
2016-05-04 00:18:00 -07:00
2016-07-19 12:01:37 -07:00
2016-01-20 11:27:06 -08:00
2016-07-22 09:25:02 -07:00
2016-04-22 19:09:06 -07:00
2016-05-26 19:32:57 -07:00
2016-05-26 19:32:57 -07:00
2016-06-06 17:06:20 -07:00
2016-07-17 16:29:18 -07:00
2016-03-25 14:14:19 -07:00
2016-07-24 00:15:34 -07:00
2016-04-22 19:09:06 -07:00
2016-02-25 05:31:00 -08:00
2016-01-14 20:05:44 -08:00
2015-12-31 23:28:40 +00:00
2015-12-31 23:28:40 +00:00
2016-07-12 20:43:34 -07:00
2016-07-01 19:28:34 +02:00
2016-04-28 16:29:20 -07:00
2016-07-15 00:30:12 -07:00
2016-08-02 13:26:11 -07:00
2016-04-28 16:29:20 -07:00
2016-05-03 11:14:16 -07:00
2016-04-27 19:00:30 -07:00
2016-07-19 12:01:37 -07:00
2016-04-29 16:39:16 -07:00
2016-06-23 00:01:41 -07:00
2016-02-18 15:02:57 -08:00
2016-04-06 22:30:23 -07:00
2015-12-31 23:28:40 +00:00
2016-06-29 11:28:00 -07:00
2016-07-08 17:21:25 -07:00
2016-05-03 11:14:16 -07:00
2016-07-22 09:42:15 -07:00
2016-07-21 16:03:49 -07:00
2016-06-28 10:33:40 -07:00
2016-04-27 09:42:03 -07:00
2016-07-14 09:35:30 -07:00
2016-07-08 17:21:25 -07:00
2016-08-01 14:32:25 -07:00
2016-06-01 12:54:43 -07:00
2016-07-06 18:03:57 -07:00
2016-05-03 11:14:16 -07:00
2016-06-01 11:41:27 -07:00
2016-01-13 10:45:11 -08:00
2016-01-06 13:32:37 +01:00
2016-02-22 01:02:31 -08:00
2016-04-28 16:29:20 -07:00
2016-06-13 00:57:09 -07:00
2016-04-22 19:09:06 -07:00
2016-04-22 19:09:06 -07:00
2016-01-17 23:09:08 -08:00
2016-02-09 08:57:19 -08:00
2016-06-14 10:22:37 -07:00
2016-01-14 20:05:44 -08:00
2016-05-03 11:14:16 -07:00
2016-04-04 23:52:14 -07:00
2016-03-29 08:48:39 -07:00
2016-04-29 15:33:05 -07:00
2016-02-25 10:33:33 -08:00
2016-05-24 20:03:28 -04:00
2016-03-10 15:07:20 -08:00
2016-04-06 22:30:23 -07:00
2016-07-06 18:03:57 -07:00
2016-03-21 14:21:42 -07:00
2016-02-22 01:02:31 -08:00
2015-12-31 23:28:40 +00:00