llvm-6502/lib
Duncan P. N. Exon Smith 88116fe71a Reapply "Verifier: Check for incompatible bit piece expressions"
This reverts commit r234717, reapplying r234698 (in spirit).

As described in r234717, the original `Verifier` check had a
use-after-free.  Instead of storing pointers to "interesting" debug info
intrinsics whose bit piece expressions should be verified once we have
typerefs, do a second traversal.  I've added a testcase to catch the
`llc` crasher.

Original commit message:

    Verifier: Check for incompatible bit piece expressions

    Convert an assertion into a `Verifier` check.  Bit piece expressions
    must fit inside the variable, and mustn't be the entire variable.
    Catching this in the verifier will help us find bugs sooner, and makes
    `DIVariable::getSizeInBits()` dead code.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@234776 91177308-0d34-0410-b5e6-96231b3b80d8
2015-04-13 18:53:11 +00:00
..
Analysis [inliner] Don't inline a function if it doesn't have exactly the same 2015-04-13 18:43:38 +00:00
AsmParser Remove empty non-virtual destructors or mark them =default when non-public 2015-04-11 15:32:26 +00:00
Bitcode DebugInfo: Make MDSubprogram::getFunction() return Constant 2015-04-11 20:27:40 +00:00
CodeGen Reapply "Verifier: Check for incompatible bit piece expressions" 2015-04-13 18:53:11 +00:00
DebugInfo
ExecutionEngine [Orc] During module partitioning, rename anonymous and asm-private globals. 2015-04-12 20:05:51 +00:00
Fuzzer
IR Reapply "Verifier: Check for incompatible bit piece expressions" 2015-04-13 18:53:11 +00:00
IRReader
LineEditor
Linker
LTO
MC [MC] Write padding into fragments when -mc-relax-all flag is used 2015-04-12 23:42:25 +00:00
Object
Option
Passes
ProfileData
Support Fix SupportsSeeking detection on windows. 2015-04-13 11:09:48 +00:00
TableGen Remove empty non-virtual destructors or mark them =default when non-public 2015-04-11 15:32:26 +00:00
Target Revert revisions r234755, r234759, r234760 2015-04-13 17:47:15 +00:00
Transforms [RewriteStatepointsForGC] Fix a latent bug in normalization for invoke statepoint [NFC] 2015-04-13 18:07:21 +00:00
CMakeLists.txt
LLVMBuild.txt
Makefile