diff options
| author | _ov4 <ov4@ov4.org> | 2026-10-16 08:06:09 +0000 |
|---|---|---|
| committer | _ov4 <ov4@ov4.org> | 2026-10-16 08:06:09 +0000 |
| commit | d74e6f5278e67f42e9a020f81c9eb0272f624618 (patch) | |
| tree | 935eaa12e239bc0b4409fdd948d16ab52feec9e3 /tools/driver/prepare-native-runtime.py | |
| parent | c9f3a6a0b7d781fe73b48a5765fa8b6e7ca3c2f7 (diff) | |
feat(driver)!: select LLVM IR output with -S
Save native executables by default and LLVM IR with -S, using source-adjacent
.out and .ll names. Keep -r independent of output selection and update the
manuals and three-platform nightly smoke checks.
BREAKING CHANGE: plain compilation and -o now save native executables.
Use -S to save textual LLVM IR.
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Diffstat (limited to 'tools/driver/prepare-native-runtime.py')
| -rw-r--r-- | tools/driver/prepare-native-runtime.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/driver/prepare-native-runtime.py b/tools/driver/prepare-native-runtime.py index bd1c8d7..10dfb7b 100644 --- a/tools/driver/prepare-native-runtime.py +++ b/tools/driver/prepare-native-runtime.py @@ -40,7 +40,7 @@ def main(): raise RuntimeError("Expected one native linker command: " + trace.stderr) command = commands[0][1:] directories = [Path(arg[2:]) for arg in command if arg.startswith("-L")] - target = compiler("-dumpmachine").stdout.strip() + target = compiler("-print-effective-triple").stdout.strip() files = {} scripts = set() arguments = [] |
