diff options
author | Pavel Labath <labath@google.com> | 2016-11-30 16:08:45 +0000 |
---|---|---|
committer | Pavel Labath <labath@google.com> | 2016-11-30 16:08:45 +0000 |
commit | e6e7e6c348843be148c428834eb424c439e5e617 (patch) | |
tree | c1acbe2e6150edf3d7000cf5507e00587fcfac6c /llvm/tools/llvm-objdump/llvm-objdump.cpp | |
parent | 5d92bc5bd91021cd591876983b7cbfc50be85cc0 (diff) | |
download | llvm-e6e7e6c348843be148c428834eb424c439e5e617.zip llvm-e6e7e6c348843be148c428834eb424c439e5e617.tar.gz llvm-e6e7e6c348843be148c428834eb424c439e5e617.tar.bz2 |
Fix handling of consecutive slashes in FileSpec::GetNormalizedPath()
The core of the function was actually handling them correctly. However, the
early exit was being too optimistic and did not give the function a chance to
fire if the path did not contain dots as well.
Fix that and add a couple of unit tests.
llvm-svn: 288247
Diffstat (limited to 'llvm/tools/llvm-objdump/llvm-objdump.cpp')
0 files changed, 0 insertions, 0 deletions