In the switch / case handler for eVarSetOperationRemove, there is the
following code:

      if (num_remove_indexes) {
        // Sort and then erase in reverse so indexes are always valid
        std::sort(remove_indexes.begin(), remove_indexes.end());
        for (size_t j = num_remove_indexes - 1; j < num_remove_indexes;
++j) {
          m_path_mappings.Remove(j, m_notify_changes);
        }
      }

Should the line that calls Remove() not be like this:

          m_path_mappings.Remove(*remove_indexes[j]*, m_notify_changes);

?  What effect will this have on LLDB?
_______________________________________________
lldb-dev mailing list
lldb-dev@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-dev

Reply via email to