This class is not safe in multithreaded code. It's possible for one
thread to modify a PathMappingList's m_pair vector while another
thread is iterating over it, effectively invalidating the iterator and
potentially leading to crashes or other difficult-to-diagnose bugs.
rdar://107695786