mirror of
https://github.com/pezkuwichain/revive.git
synced 2026-11-13 22:27:12 +00:00
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:
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);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user