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
Paths
| Differential D104407
Improve path remapping in cross-debugging scenarios ClosedPublic Authored by aprantl on Jun 16 2021, 11:48 AM.
Details Summary 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
Diff Detail Event Timelineaprantl created this revision. This revision is now accepted and ready to land.Jun 25 2021, 12:52 PM This revision was landed with ongoing or failed builds.Jun 29 2021, 3:31 PM Closed by commit rG21e013303bb7: Improve path remapping in cross-debugging scenarios (authored by aprantl). · Explain Why This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 352497 lldb/source/Target/PathMappingList.cpp
lldb/unittests/Target/PathMappingListTest.cpp
|
Can we rely on the path being normalized? If not, should this be while instead of if?