diff options
| author | Baitinq <[email protected]> | 2025-06-03 22:53:03 +0200 |
|---|---|---|
| committer | Baitinq <[email protected]> | 2025-06-03 22:57:40 +0200 |
| commit | 08abe6f88042d3f734453e47e4a410391fd4e9f9 (patch) | |
| tree | f1f2f7fad6368eb26cde09ac5d712cf536fde28f /src/bootstrap/llvm.src | |
| parent | Bootstrap: Parser: Add enough implementation to parse example -2 (diff) | |
| download | interpreter-08abe6f88042d3f734453e47e4a410391fd4e9f9.tar.gz interpreter-08abe6f88042d3f734453e47e4a410391fd4e9f9.tar.bz2 interpreter-08abe6f88042d3f734453e47e4a410391fd4e9f9.zip | |
Bootstrap: Codegen: Start implementation
Diffstat (limited to '')
| -rw-r--r-- | src/bootstrap/llvm.src | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/src/bootstrap/llvm.src b/src/bootstrap/llvm.src new file mode 100644 index 0000000..70a5065 --- /dev/null +++ b/src/bootstrap/llvm.src @@ -0,0 +1,14 @@ +extern LLVMInitializeX86TargetInfo = () => void; +extern LLVMInitializeX86TargetMC = () => void; +extern LLVMInitializeX86Target = () => void; +extern LLVMInitializeX86AsmPrinter = () => void; +extern LLVMInitializeX86AsmParser = () => void; + +extern LLVMModuleCreateWithName = (*i8) => *void; +extern LLVMGetGlobalContext = () => *void; +extern LLVMCreateBuilder = () => *void; /* TODO: Create types */ +extern LLVMDisposeModule = (*void) => void; +extern LLVMShutdown = () => void; +extern LLVMDisposeBuilder = (*void) => void; + +extern LLVMDumpModule = (*void) => void; |