diff options
| author | Baitinq <[email protected]> | 2025-06-04 00:39:22 +0200 |
|---|---|---|
| committer | Baitinq <[email protected]> | 2025-06-04 00:39:22 +0200 |
| commit | 1d7383e1fe602abfd04cfdab615fe04de9fb9409 (patch) | |
| tree | 8358d6e398317d744f240415bcafb368b72f3c01 /src/bootstrap/llvm.src | |
| parent | Boostrap: Codegen: Generate object file (diff) | |
| download | pry-lang-1d7383e1fe602abfd04cfdab615fe04de9fb9409.tar.gz pry-lang-1d7383e1fe602abfd04cfdab615fe04de9fb9409.tar.bz2 pry-lang-1d7383e1fe602abfd04cfdab615fe04de9fb9409.zip | |
Bootstrap: Codegen: Fix memory leaks
Diffstat (limited to 'src/bootstrap/llvm.src')
| -rw-r--r-- | src/bootstrap/llvm.src | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/bootstrap/llvm.src b/src/bootstrap/llvm.src index 4a9c349..4dead44 100644 --- a/src/bootstrap/llvm.src +++ b/src/bootstrap/llvm.src @@ -16,6 +16,7 @@ extern LLVMGetDefaultTargetTriple = () => *i8; extern LLVMGetTargetFromTriple = (*i8, **void, **i8) => i64; extern LLVMDisposeMessage = (*i8) => void; extern LLVMCreateTargetMachine = (*void, *i8, *i8, *i8, i64, i64, i64) => *void; +extern LLVMDisposeTargetMachine = (*void) => void; let LLVMCodeGenLevelDefault = 2; let LLVMRelocDefault = 0; |