File tree Expand file tree Collapse file tree 1 file changed +10
-10
lines changed Expand file tree Collapse file tree 1 file changed +10
-10
lines changed Original file line number Diff line number Diff line change @@ -478,16 +478,16 @@ pub unsafe fn resolve(what: ResolveWhat<'_>, cb: &mut dyn FnMut(&super::Symbol))
478478 }
479479 }
480480 if !any_frames {
481- if let Some ( ( object_cx, object_addr) ) = cx. object . search_object_map ( addr as u64 ) {
482- if let Ok ( mut frames) = object_cx. find_frames ( stash, object_addr) {
483- while let Ok ( Some ( frame ) ) = frames . next ( ) {
484- any_frames = true ;
485- call ( Symbol :: Frame {
486- addr : addr as * mut c_void ,
487- location : frame . location ,
488- name : frame. function . map ( |f| f . name . slice ( ) ) ,
489- } ) ;
490- }
481+ if let Some ( ( object_cx, object_addr) ) = cx. object . search_object_map ( addr as u64 )
482+ && let Ok ( mut frames) = object_cx. find_frames ( stash, object_addr)
483+ {
484+ while let Ok ( Some ( frame ) ) = frames . next ( ) {
485+ any_frames = true ;
486+ call ( Symbol :: Frame {
487+ addr : addr as * mut c_void ,
488+ location : frame. location ,
489+ name : frame . function . map ( |f| f . name . slice ( ) ) ,
490+ } ) ;
491491 }
492492 }
493493 }
You can’t perform that action at this time.
0 commit comments