(&self)
| 56 | /// Symbols this object references but does not define locally, i.e. the |
| 57 | /// names the linker must resolve from other objects. |
| 58 | pub fn undefined_symbol_names(&self) -> std::collections::HashSet<&str> { |
| 59 | self.relocations |
| 60 | .iter() |
| 61 | .map(|reloc| reloc.symbol.as_str()) |
| 62 | .filter(|symbol| !self.symbol_table.contains_key(*symbol)) |
| 63 | .collect() |