Improve path remapping in cross-debugging scenarios
authorAdrian Prantl <aprantl@apple.com>
Tue, 29 Jun 2021 22:24:36 +0000 (15:24 -0700)
committerAdrian Prantl <aprantl@apple.com>
Tue, 29 Jun 2021 22:27:01 +0000 (15:27 -0700)
commit21e013303bb7d0dbb9106283af0fb966fe45af42
tree208ac8903c096e3655739755e44083ade8ab08b4
parenta0e1b11fac7a1599faec21d13fae45c8571de02c
Improve path remapping in cross-debugging scenarios

This patch implements a slight improvement when debugging across
platforms and remapping source paths that are in a non-native
format. See the unit test for examples.

rdar://79205675

Differential Revision: https://reviews.llvm.org/D104407
lldb/source/Target/PathMappingList.cpp
lldb/unittests/Target/PathMappingListTest.cpp