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
..
2015-03-13 18:20:45 +00:00
2015-03-27 20:46:33 +00:00
2015-03-05 02:05:42 +00:00
2015-03-03 17:24:31 +00:00
2015-04-03 16:54:30 +00:00
2015-03-04 06:09:53 +00:00
2015-03-11 00:51:37 +00:00
2015-03-13 18:20:45 +00:00
2015-03-27 20:46:33 +00:00
2015-04-13 18:53:11 +00:00
2014-12-15 19:07:53 +00:00
2015-03-28 02:26:45 +00:00
2015-03-27 20:46:33 +00:00
2015-03-03 17:24:31 +00:00
2015-03-27 01:58:34 +00:00
2015-03-27 20:46:33 +00:00
2015-03-03 17:24:31 +00:00
2015-03-27 01:58:34 +00:00
2015-03-27 20:46:33 +00:00
2015-03-27 20:46:33 +00:00
2015-03-27 20:46:33 +00:00
2015-03-27 20:46:33 +00:00
2015-04-03 16:54:30 +00:00
2015-03-27 20:46:33 +00:00
2015-04-03 16:54:30 +00:00
2015-03-27 20:46:33 +00:00
2015-03-27 20:46:33 +00:00
2015-03-10 00:46:31 +00:00
2014-04-03 02:27:00 +00:00
2015-03-27 20:46:33 +00:00
2015-03-03 17:24:31 +00:00
2015-03-03 17:24:31 +00:00
2015-03-03 17:24:31 +00:00
2015-04-03 16:54:30 +00:00
2015-03-03 17:24:31 +00:00
2015-03-03 17:24:31 +00:00
2015-03-03 17:24:31 +00:00
2015-03-03 17:24:31 +00:00
2015-03-03 17:24:31 +00:00
2015-02-27 21:17:42 +00:00
2015-03-28 02:26:45 +00:00
2015-03-27 20:46:33 +00:00
2015-03-03 17:24:31 +00:00
2014-11-14 16:15:53 +00:00
2015-02-25 21:30:22 +00:00
2014-02-24 23:58:54 +00:00
2014-10-10 15:51:10 +00:00
2013-11-01 17:53:30 +00:00
2014-10-23 04:08:34 +00:00
2013-11-19 00:29:42 +00:00
2014-05-19 18:45:32 +00:00
2015-03-10 23:44:12 +00:00
2015-03-03 17:24:31 +00:00
2015-03-03 17:24:31 +00:00
2015-03-03 17:24:31 +00:00
2014-10-01 05:45:45 +00:00
2015-03-03 17:24:31 +00:00
2015-03-03 17:24:31 +00:00
2015-03-13 18:20:45 +00:00
2015-03-27 20:46:33 +00:00
2015-03-27 20:46:33 +00:00
2015-03-03 17:24:31 +00:00
2015-04-03 16:54:30 +00:00
2015-03-03 17:24:31 +00:00
2015-03-03 17:24:31 +00:00
2014-05-19 18:45:32 +00:00
2014-11-04 13:41:33 +00:00
2015-03-20 19:26:58 +00:00
2015-03-03 17:24:31 +00:00
2015-03-28 02:26:45 +00:00
2015-03-03 17:24:31 +00:00
2014-10-03 20:01:09 +00:00
2015-03-03 17:24:31 +00:00
2014-10-03 20:01:09 +00:00
2015-03-03 17:24:31 +00:00
2015-03-10 22:44:45 +00:00
2015-04-03 16:54:30 +00:00
2015-03-03 17:24:31 +00:00
2015-03-03 17:24:31 +00:00
2015-03-16 20:24:02 +00:00
2015-04-03 16:54:30 +00:00
2015-03-03 17:24:31 +00:00
2015-03-03 17:24:31 +00:00
2015-03-28 02:26:45 +00:00
2015-03-28 02:26:45 +00:00
2015-03-03 17:24:31 +00:00
2015-03-13 18:20:45 +00:00
2015-03-03 17:24:31 +00:00
2015-03-03 17:24:31 +00:00
2015-03-28 02:26:45 +00:00
2015-03-03 17:24:31 +00:00