Skip to content

Commit 8cb0a49

Browse files
author
Zachary Turner
committed
Fix a bug in the dep analysis script.
It wasn't always normalizing slashes correctly, so you'd end up with the same thing in the map twice. llvm-svn: 296947
1 parent ed96be9 commit 8cb0a49

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

lldb/scripts/analyze-project-deps.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,7 @@ def insert_or_add_mapping(base, deps):
3535
relative = os.path.relpath(base, inc_dir)
3636
inc_files = filter(lambda x : os.path.splitext(x)[1] in [".h"], files)
3737
deps = set()
38+
relative = relative.replace("\\", "/")
3839
for inc in inc_files:
3940
inc_path = os.path.join(base, inc)
4041
deps.update(scan_deps(relative, inc_path))

0 commit comments

Comments
 (0)