Update LLVM from 21 to 22 (#505)

This commit is contained in:
kvpanch authored and GitHub committed 2026-04-28 14:28:14 -04:00
1 parent 72d47e4d26
commit 8326aa3aed
49 files changed
+182 -181

No files matched your search

@@ -59,10 +59,10 @@ impl TargetMachine {
}
/// Writes the LLVM module to a memory buffer.
pub fn write_to_memory_buffer<'ctx>(
pub fn write_to_memory_buffer(
&self,
module: &inkwell::module::Module<'ctx>,
) -> Result<inkwell::memory_buffer::MemoryBuffer<'ctx>, inkwell::support::LLVMString> {
module: &inkwell::module::Module,
) -> Result<inkwell::memory_buffer::MemoryBuffer<'static>, inkwell::support::LLVMString> {
match self.target {
Target::PVM => self
.target_machine