Revert "Verifier: Check for incompatible bit piece expressions"
authorDuncan P. N. Exon Smith <dexonsmith@apple.com>
Mon, 13 Apr 2015 00:06:28 +0000 (00:06 +0000)
committerDuncan P. N. Exon Smith <dexonsmith@apple.com>
Mon, 13 Apr 2015 00:06:28 +0000 (00:06 +0000)
commitea8c1595246e81ba4273e6975c740d99705581d2
treef7a54b1bef742f41cf96e92bd4b8cf64ee6abcd4
parentb7239d3aa5b7b43d536ea9aee3913224e38f82e9
Revert "Verifier: Check for incompatible bit piece expressions"

This reverts commit r234698.

This caused a use-after-free: `QueuedBitPieceExpressions` holds onto
references to `DbgInfoIntrinsic`s and references them past where they're
deleted (this is because the verifier is run as a function pass, and
then `verifyTypeRefs()` is called during `doFinalization()`).

I'll include a reduced crasher for `llc` when I recommit the check.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@234717 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/IR/DebugInfo.h
lib/CodeGen/AsmPrinter/DwarfDebug.cpp
lib/IR/DebugInfo.cpp
lib/IR/Verifier.cpp