Update lit config for ld.lld command to match "ld\.lld" instead of trying to match...
authorRumeet Dhindsa <rdhindsa@google.com>
Thu, 28 Mar 2019 22:26:51 +0000 (22:26 +0000)
committerRumeet Dhindsa <rdhindsa@google.com>
Thu, 28 Mar 2019 22:26:51 +0000 (22:26 +0000)
Differential Revision: https://reviews.llvm.org/D59962

llvm-svn: 357218

llvm/utils/lit/lit/llvm/config.py

index c7846bb..01cc0cc 100644 (file)
@@ -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)