(buf: &mut Vec<u8>, v: u32)
| 188 | self.line_table.iter().copied() |
| 189 | } |
| 190 | |
| 191 | /// Source location covering `addr` as `(file, 1-based line)`: the greatest |
| 192 | /// entry not exceeding `addr`; line-0 module-end sentinels read as none. |
| 193 | pub fn source_for_addr(&self, addr: u64) -> Option<(&str, u32)> { |
| 194 | let idx = match self.line_table.binary_search_by(|e| e.addr.cmp(&addr)) { |
| 195 | Ok(i) => i, |
no outgoing calls
no test coverage detected