[LLVMdev] Exception Implementation Example added to Wiki
Garrison Venn
gvenn.cfe.dev at gmail.com
Sat Jan 9 05:39:15 PST 2010
Understood. Sorry for my lack of background on these platforms. Do you know if llvm.eh.selector and dwarf emission
for a JIT execution environment works on your platform of choice? If so, and if the unwind system conforms to
http://refspecs.freestandards.org/abi-eh-1.21.html, the port will not be too bad. Beyond use of fprintf and strtoul, and
an include of unwind.h, I don't believe there is much else that is specific to UNIX. These may even exist in your platform's
headers. The structures/APIs defined in unwind.h are fully defined and useable as is in
http://refspecs.freestandards.org/abi-eh-1.21.html.
Garrison
On Jan 9, 2010, at 8:07, OvermindDL1 wrote:
> On Sat, Jan 9, 2010 at 5:54 AM, Garrison Venn <gvenn.cfe.dev at gmail.com> wrote:
>> If the powers at be want this, I could easily transform the source to the LLVM coding standards, and add
>> the necessary portable UNIX support--someone else would have to add non-UNIX support although the
>> System library probably helps with this. However I'm guessing the LLVM release flux of the exception system,
>> along with a lack of universal platform, dwarf JIT support might be a hinderance in such an endeavor. I don't
>> know what the current platform boundaries are for either JIT or JIT with dwarf emission, but I do know that
>> the LLVM exception design is being reconsidered for future releases (possibly 2.7?).
>>
>> Also, as noted in the wiki, please see:
>>
>> http://code.google.com/p/tart/ and
>> http://www.incasoftware.de/~kamm/projects/index.php/2008/08/19/exception-handling-in-llvmdc-using-llvm/
>>
>> for real world implementations. There are many others, as can be seen in the LLVM project page.
>
> I am one such non-unix platform, so if the example does not work for
> me, it is still as worthless as bad documentation for note...
> _______________________________________________
> LLVM Developers mailing list
> LLVMdev at cs.uiuc.edu http://llvm.cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev
More information about the llvm-dev
mailing list