Struct samply_symbols::ExternalFileSymbolMap
source · pub struct ExternalFileSymbolMap(_);Expand description
A symbol map for an external object file. You usually don’t need this because
you usually call SymbolManager::lookup_external.
Implementations§
source§impl ExternalFileSymbolMap
impl ExternalFileSymbolMap
sourcepub fn name(&self) -> &str
pub fn name(&self) -> &str
The string which identifies this external file. This is usually an absolute
path. (XXX does this contain the archive.a(membername) stuff or no?)
sourcepub fn is_same_file(&self, external_file_ref: &ExternalFileRef) -> bool
pub fn is_same_file(&self, external_file_ref: &ExternalFileRef) -> bool
Checks whether external_file_ref refers to this external file.
Used to avoid repeated loading of the same external file.
sourcepub fn lookup(
&self,
external_file_address: &ExternalFileAddressInFileRef
) -> Option<Vec<FrameDebugInfo>>
pub fn lookup(
&self,
external_file_address: &ExternalFileAddressInFileRef
) -> Option<Vec<FrameDebugInfo>>
Look up the debug info for the given ExternalFileAddressInFileRef.