This is an archive of the discontinued LLVM Phabricator instance.

[lldb] Fix guessing of windows path style
ClosedPublic

Authored by jarin on Dec 4 2021, 12:47 PM.

Details

Summary

Currently, only paths with length>3 are guessed as Windows paths. This prevents root paths (such as C:\) to be recognized as Windows paths. This patch makes sure we also recognize "<letter>:\" as Windows paths.

Diff Detail

Event Timeline

jarin requested review of this revision.Dec 4 2021, 12:47 PM
jarin created this revision.
Herald added a project: Restricted Project. · View Herald TranscriptDec 4 2021, 12:47 PM
labath accepted this revision.Dec 6 2021, 4:38 AM
This revision is now accepted and ready to land.Dec 6 2021, 4:38 AM
This revision was automatically updated to reflect the committed changes.