void * _darwin10_Unwind_FindEnclosingFunction (void *pc) { struct dwarf_eh_bases bases; const struct dwarf_fde *fde = _Unwind_Find_FDE (pc-1, &bases); if (fde) return bases.func; else return NULL; }
ret = _Unwind_Find_registered_FDE (pc, bases); } /* OK, didn't find it in the list of FDEs we've seen before, so go through and look at the new ones. */ if (ret == NULL) ret = examine_objects (pc, bases, the_obj_info == NULL); if (the_obj_info != NULL) { the_obj_info->seen_objects = seen_objects; the_obj_info->unseen_objects = unseen_objects; } _keymgr_set_and_unlock_processwide_ptr (KEYMGR_GCC3_DW2_OBJ_LIST, the_obj_info); return ret; } void * _darwin10_Unwind_FindEnclosingFunction (void *pc ATTRIBUTE_UNUSED) { #if __MACH__ && (__ENVIRONMENT_MAC_OS_X_VERSION_MIN_REQUIRED__ >= 1060) struct dwarf_eh_bases bases; const struct dwarf_fde *fde = _Unwind_Find_FDE (pc-1, &bases); if (fde) return bases.func; #endif return NULL; }