Vedant Kumar
7840e607b9
[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
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@342678 91177308-0d34-0410-b5e6-96231b3b80d8
2018-09-20 18:59:33 +00:00
..
2018-09-20 18:59:33 +00:00
2018-07-09 16:52:05 +00:00
2015-04-23 13:25:35 +00:00
2015-05-26 23:52:21 +00:00
2015-04-23 13:25:35 +00:00
2015-08-03 18:01:50 +00:00
2015-06-03 01:30:13 +00:00
2015-02-22 19:32:03 +00:00
2015-04-29 01:27:01 +00:00
2015-04-29 01:58:31 +00:00
2016-11-02 00:08:19 +00:00
2015-04-23 13:38:21 +00:00
2015-04-17 06:40:14 +00:00
2015-04-17 06:40:14 +00:00
2015-10-06 12:37:54 +00:00
2016-11-02 00:08:19 +00:00
2016-11-02 00:39:11 +00:00
2015-05-16 00:33:12 +00:00
2016-11-02 00:08:19 +00:00
2015-02-16 00:03:11 +00:00
2015-02-16 00:03:11 +00:00
2015-04-22 09:06:21 +00:00
2015-05-19 01:21:06 +00:00
2016-11-02 00:08:19 +00:00
2016-11-02 00:08:19 +00:00
2015-04-28 20:18:47 +00:00
2015-04-30 04:09:41 +00:00
2015-03-16 21:35:48 +00:00
2016-06-05 18:43:26 +00:00
2015-03-16 22:03:50 +00:00
2015-05-26 23:00:56 +00:00
2015-05-16 00:33:12 +00:00
2015-05-18 22:27:11 +00:00
2015-02-16 00:03:11 +00:00
2015-02-16 00:03:11 +00:00
2015-02-16 00:03:11 +00:00
2015-04-24 18:06:06 +00:00
2015-04-24 18:06:06 +00:00
2015-03-16 21:48:46 +00:00
2015-04-30 01:13:31 +00:00
2015-05-18 21:48:55 +00:00
2016-11-02 00:08:19 +00:00
2016-11-02 00:08:19 +00:00
2015-11-03 13:48:26 +00:00
2015-04-14 14:07:15 +00:00
2015-04-24 11:30:15 +00:00
2015-04-24 11:30:15 +00:00
2015-04-24 11:30:15 +00:00
2016-06-05 18:43:40 +00:00
2016-06-05 18:43:33 +00:00
2015-04-29 02:27:28 +00:00
2015-04-30 00:52:42 +00:00
2016-11-02 00:08:19 +00:00
2015-04-29 01:27:01 +00:00
2015-06-03 01:30:08 +00:00
2016-06-05 18:43:17 +00:00
2016-04-01 05:33:11 +00:00
2017-07-06 17:56:01 +00:00
2017-07-06 17:56:01 +00:00
2016-11-29 20:43:47 +00:00
2015-06-16 20:03:39 +00:00
2015-06-16 16:36:15 +00:00
2015-07-02 16:22:40 +00:00
2016-02-10 21:55:02 +00:00
2016-04-16 06:56:44 +00:00
2016-09-26 20:37:32 +00:00
2016-09-26 20:37:32 +00:00
2016-09-26 20:37:32 +00:00
2016-09-26 20:37:32 +00:00
2017-08-03 17:11:41 +00:00
2016-09-26 20:37:32 +00:00
2016-03-11 18:52:24 +00:00