Fix the build helper to find lld-link via PATH lookup, rather than
making a fragile assumption that it will be present in the 'compiler
directory'. This fixes tests on Gentoo where clang and lld
are installed in different directories.
Details
Details
- Reviewers
zturner labath serge-sans-paille - Commits
- rGe31804dc85d2: Merging r353701:
rL362017: Merging r353701:
rGc1adbc6c94e4: [lldb] [lit] Fix finding lld-link when it is not in 'compiler dir'
rLLDB353701: [lldb] [lit] Fix finding lld-link when it is not in 'compiler dir'
rL353701: [lldb] [lit] Fix finding lld-link when it is not in 'compiler dir'
Diff Detail
Diff Detail
- Repository
- rL LLVM
Event Timeline
Comment Actions
lgtm
lldb/lit/helper/build.py | ||
---|---|---|
296 ↗ | (On Diff #186205) | linker_path isn't going to be terribly useful here when it's none. Probably just replace it with name. |
lldb/lit/helper/build.py | ||
---|---|---|
296 ↗ | (On Diff #186205) | Indeed, thanks for catching this. |