[PATCH] D43827: [ELF] Add llvm-readelf to the lit tool substitutions
Alexander Richardson via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Feb 27 09:39:21 PST 2018
arichardson created this revision.
arichardson added reviewers: ruiu, espindola.
Herald added a subscriber: llvm-commits.
Some of the tests invoke llvm-readelf. This currently appears to work
probably because the LLVM binary directory is included in $PATH. However,
this is quite fragile so let's just make lit expand the full path.
Repository:
rLLD LLVM Linker
https://reviews.llvm.org/D43827
Files:
test/lit.cfg.py
Index: test/lit.cfg.py
===================================================================
--- test/lit.cfg.py
+++ test/lit.cfg.py
@@ -39,8 +39,8 @@
llvm_config.use_lld()
tool_patterns = [
- 'llc', 'llvm-as', 'llvm-mc', 'llvm-nm',
- 'llvm-objdump', 'llvm-pdbutil', 'llvm-readobj', 'obj2yaml', 'yaml2obj']
+ 'llc', 'llvm-as', 'llvm-mc', 'llvm-nm', 'llvm-objdump', 'llvm-pdbutil',
+ 'llvm-readelf', 'llvm-readobj', 'obj2yaml', 'yaml2obj']
llvm_config.add_tool_substitutions(tool_patterns)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D43827.136092.patch
Type: text/x-patch
Size: 508 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180227/38697ea7/attachment.bin>
More information about the llvm-commits
mailing list