Function locate_dwarf::locate_debug_symbols
source · pub fn locate_debug_symbols<'a, O, T>(
object: &'a O,
path: T
) -> Result<Option<PathBuf>, Error>where
O: Object<'a, 'a>,
T: AsRef<Path>,
Expand description
Attempt to locate the path to separate debug symbols for object
at path
.
If object
does not contain information that can be used to locate debug symbols for it,
or if the debug symbol file is not present on disk, return None.
Currently only locating Mach-O dSYM bundles is supported.