RISCV relaxations (#408)

This PR enables RISC-V relaxations and changes to internal linkage for internal function and global symbols.

See also:
https://github.com/llvm/llvm-project/issues/167381#issuecomment-3513830043

Signed-off-by: xermicus <cyrill@parity.io>
This commit is contained in:
xermicus authored and GitHub committed 2025-11-11 17:27:53 +01:00
1 parent 046455db06
commit 878ca91689
7 files changed
+16 -13

No files matched your search

@@ -134,7 +134,7 @@ impl<'ctx> Context<'ctx> {
module
.get_function(import)
.unwrap_or_else(|| panic!("{import} import should be declared"))
.set_linkage(inkwell::module::Linkage::External);
.set_linkage(inkwell::module::Linkage::Internal);
}
}