diff options
| author | Fangrui Song <i@maskray.me> | 2023-07-29 19:34:13 -0700 |
|---|---|---|
| committer | Fangrui Song <i@maskray.me> | 2023-07-29 19:34:14 -0700 |
| commit | abae53f43f0d1da8d8e421f4a628d7ec64d6e365 (patch) | |
| tree | d7f2196fa116f1502e52fe86856830b586741361 /lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp | |
| parent | 5c0f98cd2aeb01f73348338cd1b129e3506a02b0 (diff) | |
[Driver][test] Change some -fuse-ld=lld tests to be agnostic of host ld.lld
If program paths (GCC installation, --sysroot, -B, etc) don't contain
ld.lld, whether -fuse-ld=lld succeeds depends on whether a PATH
directory contains ld.lld.
> error: invalid linker name in argument '-fuse-ld=lld'
This behavior is not suitable when we adopt the new strict behavior of
-### in D156363.
For some tests, append -B%S/Inputs/lld similar to D92028.
For others, use -fuse-ld=ld so that getDefaultLinker (instead of CLANG_DEFAULT_LINKER) is used. The complexity stems from CLANG_DEFAULT_LINKER.
Diffstat (limited to 'lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp')
0 files changed, 0 insertions, 0 deletions
