diff options
| author | Alexander Richardson <arichardson.kde@gmail.com> | 2018-02-27 22:01:02 +0000 |
|---|---|---|
| committer | Alexander Richardson <arichardson.kde@gmail.com> | 2018-02-27 22:01:02 +0000 |
| commit | 8edd70b7c6cff63c9c8081b172115403ee189a3b (patch) | |
| tree | 112184f05a4f90cefad229a22ca7aadc10ac2116 /lld/test | |
| parent | 82da5d7f553ac3b14dd98bc358d17b081fa70159 (diff) | |
| download | bcm5719-llvm-8edd70b7c6cff63c9c8081b172115403ee189a3b.tar.gz bcm5719-llvm-8edd70b7c6cff63c9c8081b172115403ee189a3b.zip | |
[ELF] Add llvm-readelf to the lit tool substitutions
Summary:
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.
Reviewers: ruiu, espindola
Reviewed By: ruiu
Subscribers: llvm-commits
Differential Revision: https://reviews.llvm.org/D43827
llvm-svn: 326257
Diffstat (limited to 'lld/test')
| -rw-r--r-- | lld/test/lit.cfg.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lld/test/lit.cfg.py b/lld/test/lit.cfg.py index 97fcaac218e..05ebc23869a 100644 --- a/lld/test/lit.cfg.py +++ b/lld/test/lit.cfg.py @@ -39,8 +39,8 @@ llvm_config.use_default_substitutions() 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) |

