diff options
| author | Frankie Robertson <frankier@users.noreply.github.com> | 2025-11-21 23:41:29 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-11-21 16:41:29 -0500 |
| commit | 86cbb36b36c15af82a87e89c08fb84792657583d (patch) | |
| tree | 8e7a44d3db5d64d7d601896e4efdeb15f27fd8f5 /lldb/test/Shell/Commands/CommandScriptImmediateOutput/CommandScriptImmediateOutputFile.test | |
| parent | 68ba2864d936a59ac1e382f754a15b975b04900d (diff) | |
[lld] Add (ignored) /link flag to lld-link for compatibility with MSVC link.exe (#168364)
Various build tools may produce command lines invoking clang-cl and
lld-link which contain /link twice like so: e.g. `clang-cl.exe
sanitycheckcpp.cc /Fesanitycheckcpp.exe .... /link /link ...`
If link.exe is used, it ignores the extra `/link` and just issues a
warning, however lld-link tries to treat `/link` as a file name.
This PR adds a flag which is ignored in order to improve compatibility
with link.exe
There's some extra context including an "in-the-wild" example and
reproducer of the problem here:
https://github.com/frankier/meson_clang_win_activation
Co-authored-by: Frankie Robertson <frankie@robertson.name>
Diffstat (limited to 'lldb/test/Shell/Commands/CommandScriptImmediateOutput/CommandScriptImmediateOutputFile.test')
0 files changed, 0 insertions, 0 deletions
