git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@310022
91177308-0d34-0410-b5e6-
96231b3b80d8
if (Op.getOp() == dwarf::DW_OP_LLVM_fragment) {
// Make the new offset point into the existing fragment.
uint64_t FragmentOffsetInBits = Op.getArg(0);
- uint64_t FragmentSizeInBits = Op.getArg(1);
- assert((OffsetInBits + SizeInBits <= FragmentSizeInBits) &&
+ // Op.getArg(1) is FragmentSizeInBits.
+ assert((OffsetInBits + SizeInBits <= Op.getArg(1)) &&
"new fragment outside of original fragment");
OffsetInBits += FragmentOffsetInBits;
break;