message: [OPENMP]Increment iterator when the loop is continued.
  Summary:
  Missed operation of the incrementing iterator when required just to
  continue execution.
  Reviewers: kkwli0, gtbercea, grokos
  Subscribers: guansong, openmp-commits
diff: @@ -423,8 +423,10 @@ int target_data_end(DeviceTy &Device, int32_t arg_num, void **args_base,
  // An STL map is sorted on its keys; use this property
  // to quickly determine when to break out of the loop.
  - if ((uintptr_t) ShadowHstPtrAddr < lb)
  + if ((uintptr_t) ShadowHstPtrAddr < lb) {
  + ++it;
  continue;
  + }
  if ((uintptr_t) ShadowHstPtrAddr >= ub)
  break;
  