diff options
| author | DanielDeGiorgio <degiorgiodaniel1808@gmail.com> | 2026-11-22 22:09:27 +0100 |
|---|---|---|
| committer | DanielDeGiorgio <degiorgiodaniel1808@gmail.com> | 2026-11-22 22:09:27 +0100 |
| commit | db44a3d32d5119e06485cd543be329ac1fcac63f (patch) | |
| tree | 557872620c618177b1f4b6a1735d17c646ba36ff /tools/mc_command.py | |
| parent | 6566ed34253fd32fc50adad0f769f33dbca3ca85 (diff) | |
Document Windows LLVM_MC argument quoting
Diffstat (limited to 'tools/mc_command.py')
| -rw-r--r-- | tools/mc_command.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/tools/mc_command.py b/tools/mc_command.py index 0a7119e6e..3e470d319 100644 --- a/tools/mc_command.py +++ b/tools/mc_command.py | |||
| @@ -6,6 +6,9 @@ target: | |||
| 6 | 6 | ||
| 7 | set LLVM_MC=wsl -d Ubuntu -e /usr/lib/llvm-21/bin/llvm-mc | 7 | set LLVM_MC=wsl -d Ubuntu -e /usr/lib/llvm-21/bin/llvm-mc |
| 8 | 8 | ||
| 9 | On Windows, arguments follow the MSVC C runtime's quoting rules. Double a trailing backslash in a quoted | ||
| 10 | argument before the closing quote. | ||
| 11 | |||
| 9 | run() starts such a command and turns a missing llvm-mc into one line instead of a FileNotFoundError traceback. | 12 | run() starts such a command and turns a missing llvm-mc into one line instead of a FileNotFoundError traceback. |
| 10 | """ | 13 | """ |
| 11 | from __future__ import annotations | 14 | from __future__ import annotations |