aboutsummaryrefslogtreecommitdiff
path: root/tools/driver/NativeCompiler.h
diff options
context:
space:
mode:
author_ov4 <ov4@ov4.org>2026-10-16 08:06:09 +0000
committer_ov4 <ov4@ov4.org>2026-10-16 08:06:09 +0000
commitd74e6f5278e67f42e9a020f81c9eb0272f624618 (patch)
tree935eaa12e239bc0b4409fdd948d16ab52feec9e3 /tools/driver/NativeCompiler.h
parentc9f3a6a0b7d781fe73b48a5765fa8b6e7ca3c2f7 (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/NativeCompiler.h')
-rw-r--r--tools/driver/NativeCompiler.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/driver/NativeCompiler.h b/tools/driver/NativeCompiler.h
index 17933e9..5e13c4d 100644
--- a/tools/driver/NativeCompiler.h
+++ b/tools/driver/NativeCompiler.h
@@ -6,4 +6,4 @@ namespace cps { class CodeGen; }
// Generate a host executable without an external compiler, linker or SDK.
// Failure leaves any existing output intact and reports a diagnostic.
-bool compileNative(const cps::CodeGen &CG, llvm::StringRef OutputPath);
+bool compileNative(const cps::CodeGen &CG, llvm::StringRef OutputPath, const char *Argv0);