commit | 3ec16b419f8101ea195b7cc05ee152b9156becea | [log] [tgz] |
---|---|---|
author | Duncan P. N. Exon Smith <dexonsmith@apple.com> | Sat Apr 11 19:58:35 2015 +0000 |
committer | Duncan P. N. Exon Smith <dexonsmith@apple.com> | Sat Apr 11 19:58:35 2015 +0000 |
tree | 5fc707c24bfda7e86de36da9fe03b02e69701c8c | |
parent | 429f5391adac7f453211b9f2a82d1055feee1d5e [diff] |
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@234698 91177308-0d34-0410-b5e6-96231b3b80d8