[PATCH] D43417: [WebAssembly] Add wasm-ld to lit tool_patterns

Sam Clegg via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Feb 16 15:20:36 PST 2018


sbc100 created this revision.
Herald added subscribers: llvm-commits, delcypher, sunfish, aheejin, jgravelle-google, dschuff, jfb.
sbc100 added a reviewer: ruiu.

Without this lit doesn't print/use the full path the executable.
Although this doesn't seem to break the test it does make copying
and pasting the commands from lit more difficult.


Repository:
  rL LLVM

https://reviews.llvm.org/D43417

Files:
  utils/lit/lit/llvm/config.py


Index: utils/lit/lit/llvm/config.py
===================================================================
--- utils/lit/lit/llvm/config.py
+++ utils/lit/lit/llvm/config.py
@@ -468,6 +468,6 @@
         self.config.substitutions.append(
             (r"\bld.lld\b", 'ld.lld --full-shutdown'))
 
-        tool_patterns = ['ld.lld', 'lld-link', 'lld']
+        tool_patterns = ['ld.lld', 'lld-link', 'lld', 'wasm-ld']
 
         self.add_tool_substitutions(tool_patterns, tool_dirs)


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D43417.134743.patch
Type: text/x-patch
Size: 477 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180216/68a91ab7/attachment.bin>


More information about the llvm-commits mailing list