diff options
author | Greg Clayton <gclayton@apple.com> | 2018-05-17 16:12:38 +0000 |
---|---|---|
committer | Greg Clayton <gclayton@apple.com> | 2018-05-17 16:12:38 +0000 |
commit | 39d50b72ea3c8db416ba9087a06eedf5d5a0dcb5 (patch) | |
tree | befeefc70863d5c0b10cdf1a9d56c81d629f57e6 /lldb/packages/Python/lldbsuite/test/expression_command/timeout | |
parent | 6a53023b4e1230609691377c33263de6667522c8 (diff) | |
download | bcm5719-llvm-39d50b72ea3c8db416ba9087a06eedf5d5a0dcb5.tar.gz bcm5719-llvm-39d50b72ea3c8db416ba9087a06eedf5d5a0dcb5.zip |
FileSpec objects that resolve to "." should have "." in m_filename and m_directory empty.
After switching to LLVM normalization, if we init FileSpec with "." we would end up with m_directory being NULL and m_filename being "".
This patch fixes this by allowing the path to be normalized and if it normalized to nothing, set it to m_filename.
Differential Revision: https://reviews.llvm.org/D46783
llvm-svn: 332618
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/expression_command/timeout')
0 files changed, 0 insertions, 0 deletions