This revision was automatically updated to reflect the committed changes.
Closed by commit rL292100: FileSpec: Fix PrependPathComponent("/") (authored by
labath).
Changed prior to commit:
https://reviews.llvm.org/D28677?vs=84294&id=84529#toc
Repository:
rL LLVM
https://reviews.llvm.org/D286
labath created this revision.
labath added reviewers: clayborg, zturner.
labath added a subscriber: lldb-commits.
PrependPathComponent was unconditionally inserting path separators between the
path components. This is not correct if the prepended path is "/", which caused
problems down the line. F