Vedant Kumar
3117751229
[Bitcode] Address backwards compat bug in r342631
...
r342631 expanded bitc::METADATA_LOCATION by one element. The bitcode
metadata loader was changed in a backwards-incompatible way, leading to
crashes when disassembling old bitcode:
assertion: empty() && "PlaceholderQueue hasn't been flushed before being destroyed"
Assertion failed: (empty() && "PlaceholderQueue hasn't been flushed before being destroyed")
This commit teaches the metadata loader to assume that the newly-added
IsImplicitCode bit is 'false' when not present in old bitcode. I've added a
bitcode compat regression test.
rdar://44645820
llvm-svn: 342678
2018-09-20 18:59:33 +00:00
..
2018-09-20 18:59:33 +00:00
2018-09-20 18:59:33 +00:00
2017-07-11 22:23:00 +00:00
2017-07-11 22:23:00 +00:00
2017-07-11 22:23:00 +00:00
2018-04-03 20:10:40 +00:00
2018-02-19 19:22:28 +00:00
2018-02-19 19:22:28 +00:00
2018-02-19 19:22:28 +00:00
2018-02-19 19:22:28 +00:00
2018-02-19 19:22:28 +00:00
2017-03-17 17:53:26 +00:00
2018-02-19 19:22:28 +00:00
2017-09-13 21:40:59 +00:00
2018-07-09 17:57:48 +00:00
2018-07-09 17:57:48 +00:00
2018-03-06 17:19:23 +00:00
2018-08-16 21:29:55 +00:00
2017-09-21 23:14:52 +00:00
2017-09-21 23:14:52 +00:00
2017-08-23 20:31:27 +00:00
2017-04-18 01:21:53 +00:00
2017-09-21 23:14:55 +00:00
2017-09-21 23:14:55 +00:00
2017-06-14 13:14:38 +00:00
2017-06-14 13:14:38 +00:00
2017-08-23 20:31:27 +00:00
2016-12-20 02:09:43 +00:00
2017-08-30 18:06:51 +00:00
2017-02-08 17:44:43 +00:00
2017-08-30 18:06:51 +00:00
2017-02-07 17:35:41 +00:00
2018-05-09 02:40:45 +00:00
2018-05-09 02:40:45 +00:00
2018-09-20 08:53:06 +00:00
2018-09-20 08:53:06 +00:00
2017-04-28 22:25:46 +00:00
2018-05-09 02:40:45 +00:00
2018-01-24 09:56:07 +00:00
2018-05-09 02:40:45 +00:00
2017-02-07 17:35:41 +00:00
2018-01-18 02:08:23 +00:00
2018-04-26 18:17:58 +00:00
2018-08-23 09:25:17 +00:00
2018-08-23 09:25:17 +00:00
2018-08-23 09:25:17 +00:00
2018-08-23 09:25:17 +00:00
2017-05-11 12:28:08 +00:00
2018-07-09 16:52:05 +00:00
2017-09-07 01:33:52 +00:00
2016-12-28 22:30:28 +00:00
2016-12-28 22:30:28 +00:00
2016-12-28 22:30:28 +00:00
2016-12-28 22:30:28 +00:00
2017-07-11 22:23:00 +00:00
2016-12-28 22:30:28 +00:00
2018-02-23 23:13:18 +00:00
2018-02-23 23:13:18 +00:00
2017-07-06 17:56:01 +00:00
2017-07-06 17:56:01 +00:00
2017-06-04 08:21:58 +00:00
2018-01-19 17:13:12 +00:00
2018-04-21 23:52:04 +00:00
2018-04-21 23:52:04 +00:00
2018-04-21 23:52:04 +00:00
2018-04-21 23:52:04 +00:00
2018-04-21 23:52:04 +00:00
2017-08-04 16:00:58 +00:00
2017-08-04 16:00:58 +00:00
2018-06-26 13:56:49 +00:00
2017-09-01 16:24:02 +00:00
2018-02-07 04:05:59 +00:00
2017-11-17 18:28:05 +00:00
2018-02-07 04:05:59 +00:00
2018-06-26 13:56:49 +00:00
2018-06-26 13:56:49 +00:00
2018-02-07 04:05:59 +00:00
2018-02-07 04:05:59 +00:00
2017-08-04 16:00:58 +00:00
2018-07-11 20:25:49 +00:00
2018-06-26 13:56:49 +00:00
2017-06-27 23:50:11 +00:00
2018-01-11 22:15:05 +00:00
2018-07-11 20:25:49 +00:00
2017-11-04 17:04:39 +00:00
2018-01-11 22:15:05 +00:00
2018-06-26 13:56:49 +00:00
2018-08-14 01:49:33 +00:00
2016-12-21 23:03:45 +00:00
2018-02-12 19:45:54 +00:00
2018-02-12 19:45:54 +00:00
2018-05-09 02:40:45 +00:00
2017-07-28 20:21:02 +00:00
2017-02-01 22:45:09 +00:00
2017-02-01 22:45:09 +00:00
2017-07-19 00:09:54 +00:00
2017-07-19 00:09:54 +00:00
2018-05-03 11:03:01 +00:00
2017-06-12 20:10:48 +00:00
2018-01-19 17:13:12 +00:00
2017-09-15 21:12:14 +00:00
2018-04-17 04:02:24 +00:00
2018-04-17 04:02:24 +00:00
2018-04-05 02:44:46 +00:00
2018-04-05 02:44:46 +00:00
2018-07-11 20:25:49 +00:00
2017-03-08 23:55:44 +00:00
2017-10-06 18:06:59 +00:00
2018-05-09 02:40:45 +00:00
2018-01-05 19:41:19 +00:00
2018-09-12 08:54:06 +00:00