Iterate relocation records collected during encoding.
(&self)
| 138 | /// Iterate all symbols as `(name, section-relative address)` pairs. |
| 139 | pub fn symbols_iter(&self) -> impl Iterator<Item = (&str, u64)> { |
| 140 | self.symbol_table |
| 141 | .iter() |
| 142 | .map(|(name, &addr)| (name.as_str(), addr)) |
| 143 | } |
| 144 | |
| 145 | /// Names of symbols that were exported with `.globl`. |