(
&mut self,
func_id: FuncId,
alignment: u64,
bytes: &[u8],
relocs: &[ModuleReloc],
)
| 479 | } |
| 480 | |
| 481 | fn define_function_bytes( |
| 482 | &mut self, |
| 483 | func_id: FuncId, |
| 484 | alignment: u64, |
| 485 | bytes: &[u8], |
| 486 | relocs: &[ModuleReloc], |
| 487 | ) -> ModuleResult<()> { |
| 488 | let relocs = relocs |
| 489 | .iter() |
| 490 | .map(|reloc| self.process_reloc(reloc)) |
| 491 | .collect(); |
| 492 | self.define_function_inner(func_id, alignment, bytes, relocs) |
| 493 | } |
| 494 | |
| 495 | fn define_data(&mut self, data_id: DataId, data: &DataDescription) -> ModuleResult<()> { |
| 496 | let decl = self.declarations.get_data_decl(data_id); |
nothing calls this directly
no test coverage detected