llvm.org GIT mirror llvm / 06a5e33
Update lit config for ld.lld command to match "ld\.lld" instead of trying to match respective regex. (It was able to work with ld-lld and ld1lld as well) Differential Revision: https://reviews.llvm.org/D59962 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@357218 91177308-0d34-0410-b5e6-96231b3b80d8 Rumeet Dhindsa 4 months ago
1 changed file(s) with 2 addition(s) and 2 deletion(s). Raw diff Collapse all Expand all
483483 was_found = ld_lld and lld_link and ld64_lld and wasm_ld
484484 tool_substitutions = []
485485 if ld_lld:
486 tool_substitutions.append(ToolSubst('ld.lld', command=ld_lld))
486 tool_substitutions.append(ToolSubst('ld\.lld', command=ld_lld))
487487 if lld_link:
488488 tool_substitutions.append(ToolSubst('lld-link', command=lld_link))
489489 if ld64_lld:
490 tool_substitutions.append(ToolSubst('ld64.lld', command=ld64_lld))
490 tool_substitutions.append(ToolSubst('ld64\.lld', command=ld64_lld))
491491 if wasm_ld:
492492 tool_substitutions.append(ToolSubst('wasm-ld', command=wasm_ld))
493493 self.add_tool_substitutions(tool_substitutions)