aboutsummaryrefslogtreecommitdiff
path: root/lldb/packages/Python/lldbsuite/test/dotest.py
diff options
context:
space:
mode:
authorKeith Smiley <keithbsmiley@gmail.com>2022-02-25 21:12:56 -0800
committerKeith Smiley <keithbsmiley@gmail.com>2022-03-14 20:07:01 -0700
commitcb22d71806b784a9105803f38b2740ca6888392a (patch)
tree87907def97395e86c79ba4ebad4d2682b56d050e /lldb/packages/Python/lldbsuite/test/dotest.py
parent6541d3e979c1c53adca758d35dfe4e6f4d4e597c (diff)
downloadllvm-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