Displaying 1 result from an estimated 1 matches for "darwinregisterframe".
Did you mean:
darwin_register_frame
2015 Jul 27
0
[LLVMdev] Dynamically adding exception frames in the macintosh OS X
...mmended" methods if you would believe the published source code.
Method 1:
/// darwin_register_frame - Since __register_frame does not work with
darwin's
/// libgcc,we provide our own function, which "tricks" libgcc by
modifying the
/// "Dwarf2 object list" key.
void DarwinRegisterFrame(object *ob) {
// Get the key.
LibgccObjectInfo* LOI = (struct LibgccObjectInfo*)
_keymgr_get_and_lock_processwide_ptr(KEYMGR_GCC3_DW2_OBJ_LIST);
...
}
This code is taken from the official Apple open source site. There is a
little problem however...
_keymgr_get_and_lock_processwide_ptr r...