MCPcopy Create free account
hub / github.com/LPC4/Full-Stack / relocations_iter

Method relocations_iter

crates/asm-to-binary/src/assembler/output.rs:140–142  ·  view source on GitHub ↗

Iterate relocation records collected during encoding.

(&self)

Source from the content-addressed store, hash-verified

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`.

Callers 1

linkMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected