Skip to main content

attach_dwarf_frames

Function attach_dwarf_frames 

Source
pub fn attach_dwarf_frames<S: BuildHasher>(
    file: &File<'_>,
    symbol_addresses: &HashMap<ArtifactFingerprint, (u64, u64), S>,
    ir: &mut ArtifactIr,
)
Expand description

Attach optional DWARF locations to parser-established symbol identities.

Malformed or absent debug metadata deliberately degrades to no mappings. Addresses are used only for the local join and are never stored as IDs.