Write the address of `func` into the data at offset `offset`.
(&mut self, offset: CodeOffset, func: ir::FuncRef)
| 150 | |
| 151 | /// Write the address of `func` into the data at offset `offset`. |
| 152 | pub fn write_function_addr(&mut self, offset: CodeOffset, func: ir::FuncRef) { |
| 153 | self.function_relocs.push((offset, func)) |
| 154 | } |
| 155 | |
| 156 | /// Write the address of `data` into the data at offset `offset`. |
| 157 | pub fn write_data_addr(&mut self, offset: CodeOffset, data: ir::GlobalValue, addend: Addend) { |