llvm-6502/test
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 Divergence analysis for GPU programs 2015-04-10 05:03:50 +00:00
Assembler Verifier: Check composite type template params 2015-04-06 17:04:58 +00:00
Bindings
Bitcode
BugPoint
CodeGen Use FileCheck for test 2015-04-13 18:47:19 +00:00
DebugInfo Reapply "Verifier: Check for incompatible bit piece expressions" 2015-04-13 18:53:11 +00:00
ExecutionEngine [Orc] During module partitioning, rename anonymous and asm-private globals. 2015-04-12 20:05:51 +00:00
Feature
FileCheck
Instrumentation [ASan] Don't use stack malloc for 32-bit functions using inline asm 2015-04-02 21:44:55 +00:00
Integer
JitListener
Linker tools: Unify how verifyModule() is called 2015-03-31 03:07:23 +00:00
LTO
MC [MC] Write padding into fragments when -mc-relax-all flag is used 2015-04-12 23:42:25 +00:00
Object
Other
SymbolRewriter
TableGen [TableGen] Prevent invalid code generation when emitting AssemblerPredicate conditions. 2015-04-07 12:10:11 +00:00
tools llvm-readobj: teach it to handle MachO Universal Archive correctly 2015-04-13 16:05:49 +00:00
Transforms [inliner] Don't inline a function if it doesn't have exactly the same 2015-04-13 18:43:38 +00:00
Unit
Verifier Verifier: Check composite type template params 2015-04-06 17:04:58 +00:00
YAMLParser
.clang-format
CMakeLists.txt
lit.cfg
lit.site.cfg.in
Makefile
Makefile.tests
TestRunner.sh