summaryrefslogtreecommitdiffstats
path: root/llvm/lib/IR/Module.cpp
diff options
context:
space:
mode:
authorVedant Kumar <vsk@apple.com>2018-09-20 18:59:33 +0000
committerVedant Kumar <vsk@apple.com>2018-09-20 18:59:33 +0000
commit386ad01c7b6d83beb95267116af295471e36d426 (patch)
tree8f3bbf44fccf2a9aa4fe9e3591834c69aeedd77e /llvm/lib/IR/Module.cpp
parentcc06a782baa9fcabc5e10b42e23e06d6018cc429 (diff)
downloadbcm5719-llvm-386ad01c7b6d83beb95267116af295471e36d426.tar.gz
bcm5719-llvm-386ad01c7b6d83beb95267116af295471e36d426.zip
[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
Diffstat (limited to 'llvm/lib/IR/Module.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud