[llvm] r357218 - 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)
Rumeet Dhindsa via llvm-commits
llvm-commits at lists.llvm.org
Thu Mar 28 15:26:51 PDT 2019
Author: rdhindsa
Date: Thu Mar 28 15:26:51 2019
New Revision: 357218
URL: http://llvm.org/viewvc/llvm-project?rev=357218&view=rev
Log:
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
Modified:
llvm/trunk/utils/lit/lit/llvm/config.py
Modified: llvm/trunk/utils/lit/lit/llvm/config.py
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/utils/lit/lit/llvm/config.py?rev=357218&r1=357217&r2=357218&view=diff
==============================================================================
--- llvm/trunk/utils/lit/lit/llvm/config.py (original)
+++ llvm/trunk/utils/lit/lit/llvm/config.py Thu Mar 28 15:26:51 2019
@@ -484,11 +484,11 @@ class LLVMConfig(object):
was_found = ld_lld and lld_link and ld64_lld and wasm_ld
tool_substitutions = []
if ld_lld:
- tool_substitutions.append(ToolSubst('ld.lld', command=ld_lld))
+ tool_substitutions.append(ToolSubst('ld\.lld', command=ld_lld))
if lld_link:
tool_substitutions.append(ToolSubst('lld-link', command=lld_link))
if ld64_lld:
- tool_substitutions.append(ToolSubst('ld64.lld', command=ld64_lld))
+ tool_substitutions.append(ToolSubst('ld64\.lld', command=ld64_lld))
if wasm_ld:
tool_substitutions.append(ToolSubst('wasm-ld', command=wasm_ld))
self.add_tool_substitutions(tool_substitutions)
More information about the llvm-commits
mailing list