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

@@ -215,7 +215,7 @@ impl PolkaVMWriteLLVM for FunctionDefinition {
self.identifier.as_str(),
function_type,
self.result.len(),
Some(inkwell::module::Linkage::External),
Some(inkwell::module::Linkage::Internal),
Some((self.location.line, self.location.column)),
true,
)?;