The string indices in the IP belong to the other file and thus
will mismatch. We need to remap them before we can commpare the
data in the assertion correctly.
BUG: 379220
for (const auto& rhsAllocation : base.allocations) {
const auto lhsTrace = remapTrace(rhsAllocation.traceIndex);
- assert(base.findIp(base.findTrace(rhsAllocation.traceIndex).ipIndex)
+ assert(remapIp(base.findIp(base.findTrace(rhsAllocation.traceIndex).ipIndex))
.equalWithoutAddress(findIp(findTrace(lhsTrace).ipIndex)));
findAllocation(lhsTrace) -= rhsAllocation;
}