Displaying 1 result from an estimated 1 matches for "darwin_register_fram".
Did you mean:
darwin_register_frame
2015 Jul 27
0
[LLVMdev] Dynamically adding exception frames in the macintosh OS X
...n __register_frame_info does
the trick. Under windows, Microsoft has added an official API for this,
that works without problems.
The Macintosh environment however is really a nightmare. There are two
"recommended" 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 LibgccObjectInf...