diff options
author | Keith Smiley <keithbsmiley@gmail.com> | 2022-02-25 21:12:56 -0800 |
---|---|---|
committer | Keith Smiley <keithbsmiley@gmail.com> | 2022-03-14 20:07:01 -0700 |
commit | cb22d71806b784a9105803f38b2740ca6888392a (patch) | |
tree | 87907def97395e86c79ba4ebad4d2682b56d050e /lldb/packages/Python/lldbsuite/test/dotest.py | |
parent | 6541d3e979c1c53adca758d35dfe4e6f4d4e597c (diff) | |
download | llvm-cb22d71806b784a9105803f38b2740ca6888392a.zip llvm-cb22d71806b784a9105803f38b2740ca6888392a.tar.gz llvm-cb22d71806b784a9105803f38b2740ca6888392a.tar.bz2 |
[clang] Fix DIFile directory root on Windows
On unix systems this logic would not separate the file and directory of
the DIFile unless they shared more components at the start than just the
root path character. The logic to do this was unix specific so it didn't
work on Windows. Now we check if the entire root_path is the same as
what you were going to set as the Dir and use the full filepath in that
case.
Differential Revision: https://reviews.llvm.org/D111579
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/dotest.py')
0 files changed, 0 insertions, 0 deletions