From e28cbb2efac9ed6e56cd9ab6eb1a3f16810d575a Mon Sep 17 00:00:00 2001 From: _ov4 Date: Tue, 13 Oct 2026 03:54:49 +0000 Subject: 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 --- tools/driver/EmbeddedRunner.h | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 tools/driver/EmbeddedRunner.h (limited to 'tools/driver/EmbeddedRunner.h') 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); -- cgit v1.3.1-4-g156e