[lldb/Scripts]

Fix analyze-project-deps.py. "lldb/Plugins" (home of Plugins.def) does
not depend on anything. Make sure this does not crash the script.
This commit is contained in:
Pavel Labath 2020-06-30 17:05:08 +02:00
parent 9945bd5911
commit e55a09793d
1 changed files with 1 additions and 1 deletions

View File

@ -109,7 +109,7 @@ def expand(path_queue, path_lengths, cycles, src_map):
next_len = path_lengths.pop(0) + 1
last_component = cur_path[-1]
for item in src_map[last_component]:
for item in src_map.get(last_component, []):
if item.startswith("clang"):
continue