commit | f6719aecc702a3daab1c35a76b9a94eef15f1612 | [log] [tgz] |
---|---|---|
author | Krzysztof Parzyszek <kparzysz@codeaurora.org> | Wed May 02 17:20:22 2018 +0000 |
committer | Krzysztof Parzyszek <kparzysz@codeaurora.org> | Wed May 02 17:20:22 2018 +0000 |
tree | a28a63968f249c62e8ff256b3823a37d998c9755 | |
parent | 301a226e182af9357f2df9a4e546ec7348ef297e [diff] |
Add assertion to padding size calculation, NFC The size of an object cannot be less than the emitted size of all the contained elements. This would cause an overflow in padding size calculation. Add an assert to catch this. Patch by Suyog Sarda. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@331376 91177308-0d34-0410-b5e6-96231b3b80d8