aboutsummaryrefslogtreecommitdiff
path: root/tools/driver/EmbeddedRunner.h
diff options
context:
space:
mode:
author_ov4 <ov4@ov4.org>2026-10-13 03:54:49 +0000
committer_ov4 <ov4@ov4.org>2026-10-13 03:54:49 +0000
commite28cbb2efac9ed6e56cd9ab6eb1a3f16810d575a (patch)
treea0402247ba92259f6b7f3a2ad2c8ed0ca8eab3de /tools/driver/EmbeddedRunner.h
parentba1b65f4a20566405c53d4ded90b483ec9aa7d09 (diff)
feat: embed a statically linked LLVM execution engine
Add EMBEDDED mode to run generated modules in-process without lli or PATH lookup. Link LLVM and support archives plus the C++ runtime statically, while retaining the system C runtime on Linux. Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Diffstat (limited to 'tools/driver/EmbeddedRunner.h')
-rw-r--r--tools/driver/EmbeddedRunner.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/tools/driver/EmbeddedRunner.h b/tools/driver/EmbeddedRunner.h
new file mode 100644
index 0000000..1651f4d
--- /dev/null
+++ b/tools/driver/EmbeddedRunner.h
@@ -0,0 +1,5 @@
+#pragma once
+
+namespace cps { class CodeGen; }
+
+int runEmbedded(const cps::CodeGen &CG);