diff options
author | Pavel Labath <labath@google.com> | 2016-03-11 08:44:44 +0000 |
---|---|---|
committer | Pavel Labath <labath@google.com> | 2016-03-11 08:44:44 +0000 |
commit | cc0e87cdae3ec45da620189b35f2e9b497549f32 (patch) | |
tree | 88d2a9ff16eda78d55d30f173f8c2515ce15e48a /lldb/packages/Python/lldbsuite/test/api/multithreaded/TestMultithreaded.py | |
parent | bafc9dc59104ec05876e46a49543c89d26f7e181 (diff) | |
download | bcm5719-llvm-cc0e87cdae3ec45da620189b35f2e9b497549f32.tar.gz bcm5719-llvm-cc0e87cdae3ec45da620189b35f2e9b497549f32.zip |
Fix a couple of cornercases in FileSpec + tests
Summary:
This fixes a couple of corner cases in FileSpec, related to AppendPathComponent and
handling of root directory (/) file spec. I add a bunch of unit tests for the new behavior.
Summary of changes:
FileSpec("/bar").GetCString(): before "//bar", after "/bar".
FileSpec("/").CopyByAppendingPathComponent("bar").GetCString(): before "//bar", after "/bar".
FileSpec("C:", ePathSyntaxWindows).CopyByAppendingPathComponent("bar").GetCString(): before "C:/bar", after "C:\bar".
Reviewers: clayborg, zturner
Subscribers: lldb-commits
Differential Revision: http://reviews.llvm.org/D18044
llvm-svn: 263207
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/api/multithreaded/TestMultithreaded.py')
0 files changed, 0 insertions, 0 deletions