diff options
author | Rumeet Dhindsa <rdhindsa@google.com> | 2019-03-28 22:26:51 +0000 |
---|---|---|
committer | Rumeet Dhindsa <rdhindsa@google.com> | 2019-03-28 22:26:51 +0000 |
commit | da063e64ebc9b1590aaabd80c8b4c4913fab350e (patch) | |
tree | 3de0eaa24ab4b6302f78bbf3490cb0f28af544ef | |
parent | 45682fd6332c07f03608d6609836f7107f6a5a44 (diff) | |
download | bcm5719-llvm-da063e64ebc9b1590aaabd80c8b4c4913fab350e.tar.gz bcm5719-llvm-da063e64ebc9b1590aaabd80c8b4c4913fab350e.zip |
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
llvm-svn: 357218
-rw-r--r-- | llvm/utils/lit/lit/llvm/config.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/utils/lit/lit/llvm/config.py b/llvm/utils/lit/lit/llvm/config.py index c7846bbe4e9..01cc0ccec17 100644 --- a/llvm/utils/lit/lit/llvm/config.py +++ b/llvm/utils/lit/lit/llvm/config.py @@ -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) |