Petr Hosek 28a52a5d69 [MC] Check the upper bound in truncate assertion
The truncateToSize function already has assertion to check the
lower boundary for the number bytes, but it does not check the
upper boundary which could still lead to usage errors.

Differential Revision: http://reviews.llvm.org/D20755

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@271773 91177308-0d34-0410-b5e6-96231b3b80d8
2016-06-04 04:02:18 +00:00
..
2016-06-01 01:59:58 +00:00
2016-04-18 09:17:29 +00:00
2016-04-18 09:17:29 +00:00