llvm-mirror/lib
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
..
Analysis [inline Cost] Don't mark functions accessing varargs as non-inlinable 2018-09-20 18:39:34 +00:00
AsmParser [IR] Add a boolean field in DILocation to know if a line must covered or not 2018-09-20 08:53:06 +00:00
BinaryFormat [WebAssembly] clang-format (NFC) 2018-09-05 01:27:38 +00:00
Bitcode [Bitcode] Address backwards compat bug in r342631 2018-09-20 18:59:33 +00:00
CodeGen [MachineOutliner][NFC] Move debug info emission to createOutlinedFunction 2018-09-20 18:53:53 +00:00
DebugInfo Fix warnings. 2018-09-20 17:48:44 +00:00
Demangle Update microsoftDemangle() to work more like itaniumDemangle(). 2018-09-15 18:24:20 +00:00
ExecutionEngine [ORC] Merge ExecutionSessionBase with ExecutionSession by moving a couple of 2018-09-12 21:49:02 +00:00
Fuzzer
FuzzMutate [New PM] Introducing PassInstrumentation framework 2018-09-20 17:08:45 +00:00
IR [New PM] Introducing PassInstrumentation framework 2018-09-20 17:08:45 +00:00
IRReader
LineEditor
Linker
LTO [ThinLTOCodeGenerator] Avoid Rehash StringMap in ThreadPool 2018-09-14 19:38:21 +00:00
MC Fix for bug 34002 - label generated before it block is finalized. Differential Revision: https://reviews.llvm.org/D52258 2018-09-20 05:11:42 +00:00
Object [object] Improve the performance of getSymbols used by ArchiveWriter 2018-09-11 22:00:47 +00:00
ObjectYAML [PDB] Write FPO Data to the PDB. 2018-09-11 22:35:01 +00:00
Option Revert r341329 due to MSAN error 2018-09-03 18:13:46 +00:00
Passes [New PM] Introducing PassInstrumentation framework 2018-09-20 17:08:45 +00:00
ProfileData [gcov] Fix wrong line hit counts when multiple blocks are on the same line 2018-09-20 16:09:30 +00:00
Support Remove dead function user_cache_directory() 2018-09-18 15:06:16 +00:00
TableGen
Target [SelectionDAG] replace duplicated peekThroughBitcast helper functions; NFCI 2018-09-20 17:34:08 +00:00
Testing Fix error with SmallString implicit conversion. 2018-09-06 22:47:32 +00:00
ToolDrivers
Transforms [New PM] Introducing PassInstrumentation framework 2018-09-20 17:08:45 +00:00
WindowsManifest
XRay [XRay] Bug fixes for FDR custom event and arg-logging 2018-09-13 09:25:42 +00:00
CMakeLists.txt
LLVMBuild.txt